Country List
Use this API to get all countries
HTTP REQUEST
GET /country/country-list
QUERY STRING PARAMETERS
| Field | Type | Description |
|---|---|---|
| q | string | input search string |
{
"success": true,
"data": {
"response": {
"acknowledgement": "Success",
"data": {
"countryList": [
{
"countryId": 1,
"countryCode": "AF",
"name": "Afghanistan"
},
],
"totalRecords": 1
},
"error": {
"code": "",
"internal_message": "",
"moreInfo": []
}
}
}
}
| Field | Type | Description |
| countryId | integer | Country ID |
| countryCode | string | Country code |
| name | string | Country Name |
| totalRecords | integer | count of records returned |
For general error details, click here.