Request: GET
Signature: /api/v1/getlocations?countrycode=XX
Gets the list of all locations for a country.
The token must be passed as a Header in the request.
Query parameters:
CountryCode: Must be the 2-character ISO Code for the country. Example: US, UK, CN, etc.
Sample Response:
{
"Code": 1,
"Info": "",
"RowsAffected": 2,
"Scalar": null,
"Identity": 0,
"RetInfo": [
{
"ID": 240,
"Code": "INDEL01",
"Name": "ABC Warehouse",
"CityCode": "DEL",
"Latitude": null,
"Longitude": null,
"LocalName": null,
"Addr": null,
"LocalAddr": null,
"Disabled": false,
"Data": []
},
{
"ID": 241,
"Code": "INBOM01",
"Name": "XYZ Port",
"CityCode": "BOM",
"Latitude": null,
"Longitude": null,
"LocalName": "",
"Addr": null,
"LocalAddr": null,
"Disabled": true,
"Data": []
}
}