Global IDP Data Country Level
This level will return information aggregated at country level to provide a broad snapshot of displacement dynamics.
Validation Rules
Request Field |
Type |
Value |
Business Rule |
Validation Message |
CountryName |
string |
Text |
If country name is not present in country master.
If country name is blank and round number is not blank |
Kindly provide correct country name
Kindly provide correct country name along
with round number |
|
|
|
|
Operation |
string |
Text |
If operation name is not present in operation master. |
Kindly provide correct operation |
|
|
|
|
Admin0Pcode |
string |
Text |
|
Kindly provide correct ISO Country Code |
|
|
|
|
ReportingDate |
|
|
|
|
From Date |
string |
Text |
If From date is not in yyyy-mm-dd format |
Kindly provide FromDate in yyyy-mm-dd
format in ReportingDate |
To Date |
string |
Text |
If From date is not in yyyy-mm-dd format |
Kindly provide FromDate in yyyy-mm-dd
format in ReportingDate |
|
|
|
|
ReportMonthRange |
|
|
|
|
MonthFrom - Year |
Integer |
Number |
If Year is more than 4 digit |
Kindly provide valid year,
Year must be 4 digit |
MonthFrom - Month |
string |
Text |
If Quarter is not having value Q1,Q2,Q3,Q4 |
In ReportMonthRange,
Kindly provide valid Monthin MonthFrom |
MonthTo - Year |
integer |
Number |
If Year is more than 4 digit |
Kindly provide valid year,
Year must be 4 digit |
MonthTo - Month |
integer |
Text |
If Month is not between 1 & 12 |
In ReportQMonthRange,
Kindly provide valid Month in MonthTo |
|
|
|
|
Round Number |
|
|
|
|
From |
Integer |
Number |
If round number having value less than 0 |
Kindly provide valid round number in From |
From |
Integer |
Number |
If round number having value less than 0 |
Kindly provide valid round number in To |
Response Body
The response body will return the following information:
Response Field |
Data type/ expected value |
Description |
ID |
BigInt |
|
Operation |
String |
|
DateAssessment |
dateTime – yyy-mm-dd |
Assessment date |
Admin0Name |
String |
Country Name |
Admin0Pcode |
String (ISO3) |
Country code |
NumPresentIdpInd |
Int |
Number of IDPs in selected country |
ReportingDate |
Datetime - yyyy-mm-dd |
Number of IDPs in selected country |
Year |
Int |
Year – YYYY |
Month |
Int |
Month – MM |
RoundNumber |
Int |
Internal collection round number |
Assessment Type |
String |
BA – Baseline Assessment SA – Site Assessment |
NumPresentIdpHh |
Int |
Number of IDP individuals internally displaced |
Global IDP Data at Admin 1 Level
This level will return information aggregated at the administrative boundaries level 1, states, provinces and equivalent, still providing high-level information, but that drills down past country-level.
Validation Rules
Request Field |
Type |
Value |
Business Rule |
Validation Message |
CountryName |
string |
Text |
If country name is not present in country master.
If country name is blank and round number is not blank |
Kindly provide correct country name
Kindly provide correct country name along
with round number |
|
|
|
|
Operation |
string |
Text |
If operation name is not present in operation master. |
Kindly provide correct operation |
|
|
|
|
Admin0Pcode |
string |
Text |
|
Kindly provide correct ISO Country Code |
|
|
|
|
ReportingDate |
|
|
|
|
From Date |
string |
Text |
If From date is not in yyyy-mm-dd format |
Kindly provide FromDate in yyyy-mm-dd
format in ReportingDate |
To Date |
string |
Text |
If From date is not in yyyy-mm-dd format |
Kindly provide FromDate in yyyy-mm-dd
format in ReportingDate |
|
|
|
|
ReportMonthRange |
|
|
|
|
MonthFrom - Year |
Integer |
Number |
If Year is more than 4 digit |
Kindly provide valid year,
Year must be 4 digit |
MonthFrom - Month |
string |
Text |
If Quarter is not having value Q1,Q2,Q3,Q4 |
In ReportMonthRange,
Kindly provide valid Monthin MonthFrom |
MonthTo - Year |
integer |
Number |
If Year is more than 4 digit |
Kindly provide valid year,
Year must be 4 digit |
MonthTo - Month |
integer |
Text |
If Month is not between 1 & 12 |
In ReportQMonthRange,
Kindly provide valid Month in MonthTo |
|
|
|
|
Round Number |
|
|
|
|
From |
Integer |
Number |
If round number having value less than 0 |
Kindly provide valid round number in From |
From |
Integer |
Number |
If round number having value less than 0 |
Kindly provide valid round number in To |
Response Body
The response body will return the following information:
Response Field |
Data type/ expected value |
Description |
ID |
BigInt |
|
Operation |
String |
|
DateAssessment |
dateTime – yyy-mm-dd |
Assessment date |
Admin0Name |
String |
Country Name |
Admin0Pcode |
String (ISO3) |
Country code |
NumPresentIdpInd |
Int |
Number of IDPs in selected country |
ReportingDate |
Datetime - yyyy-mm-dd |
Number of IDPs in selected country |
Year |
Int |
Year – YYYY |
Month |
Int |
Month – MM |
RoundNumber |
Int |
Internal collection round number |
Assessment Type |
String |
BA – Baseline Assessment SA – Site Assessment |
NumPresentIdpHh |
Int |
Number of IDP individuals internally displaced |
Global IDP Data at Admin 2 Level
This level will return information aggregated at the administrative boundaries level 2, the lowest level available on the API, to provide information on smaller administrative areas than states, provinces and equivalent.
Validation Rules
Request Field |
Type |
Value |
Business Rule |
Validation Message |
CountryName |
string |
Text |
If country name is not present in country master.
If country name is blank and round number is not blank |
Kindly provide correct country name
Kindly provide correct country name along
with round number |
|
|
|
|
Operation |
string |
Text |
If operation name is not present in operation master. |
Kindly provide correct operation |
|
|
|
|
Admin0Pcode |
string |
Text |
|
Kindly provide correct ISO Country Code |
|
|
|
|
ReportingDate |
|
|
|
|
From Date |
string |
Text |
If From date is not in yyyy-mm-dd format |
Kindly provide FromDate in yyyy-mm-dd
format in ReportingDate |
To Date |
string |
Text |
If From date is not in yyyy-mm-dd format |
Kindly provide FromDate in yyyy-mm-dd
format in ReportingDate |
|
|
|
|
ReportMonthRange |
|
|
|
|
MonthFrom - Year |
Integer |
Number |
If Year is more than 4 digit |
Kindly provide valid year,
Year must be 4 digit |
MonthFrom - Month |
string |
Text |
If Quarter is not having value Q1,Q2,Q3,Q4 |
In ReportMonthRange,
Kindly provide valid Monthin MonthFrom |
MonthTo - Year |
integer |
Number |
If Year is more than 4 digit |
Kindly provide valid year,
Year must be 4 digit |
MonthTo - Month |
integer |
Text |
If Month is not between 1 & 12 |
In ReportQMonthRange,
Kindly provide valid Month in MonthTo |
|
|
|
|
Round Number |
|
|
|
|
From |
Integer |
Number |
If round number having value less than 0 |
Kindly provide valid round number in From |
From |
Integer |
Number |
If round number having value less than 0 |
Kindly provide valid round number in To |
Response Body
The response body will return the following information:
Response Field |
Data type/ expected value |
Description |
ID |
BigInt |
|
Operation |
String |
|
DateAssessment |
dateTime – yyy-mm-dd |
Assessment date |
Admin0Name |
String |
Country Name |
Admin0Pcode |
String (ISO3) |
Country code |
NumPresentIdpInd |
Int |
Number of IDPs in selected country |
ReportingDate |
Datetime - yyyy-mm-dd |
Number of IDPs in selected country |
Year |
Int |
Year – YYYY |
Month |
Int |
Month – MM |
RoundNumber |
Int |
Internal collection round number |
Assessment Type |
String |
BA – Baseline Assessment SA – Site Assessment |
NumPresentIdpHh |
Int |
Number of IDP individuals internally displaced |