Replaced by /v2/transports endpoints.
Get list of districts with their codes for certain country.
GET
/deliveries/districts
curl \
-X GET https://mpapi.proxy.omnicado.com/v1/deliveries/districts?client_id=yourClientId&client_id=api_token_value \
-H "X-Application-Name: myApplicationName"
Response examples (200)
{
"data": [
{
"code": "NA",
"title": "Name of district"
}
],
"result": {
"code": 200,
"status": "OK"
},
"paging": {
"pages": 1,
"size": 1,
"page": 1
}
}
Response examples (200)
{
"data": [
{
"code": "NA",
"title": "Name of district"
}
],
"result": {
"code": 200,
"status": "OK"
},
"paging": {
"pages": 1,
"size": 1,
"page": 1
}
}