Parameter:
Field Name | Description | Data Type | Max. Length |
countryID | Id of Country | String | 4 |
provinceName | Name of Province | String | 50 |
regency | name of Regency | String | 50 |
Response Definition:
Field | Data Type | Mandatory | Description |
country_ID | String | Y | Two Letter code country, example: id |
zip_code | String | y | Zip code of district |
country_name | String | Y | Name of Country |
provinsi | String | Y | Three letter code city, example: JAK |
city | String | Y | Name of City |
kecamatan | String | Y | Name of kecamatan (District) |
zip_name | String | Y | Name of city |
station_id | String | Y | Three letter code station |
city_id | String | Y | |
delivery | String | Y | |
pickup | String | Y | |
pickup_cutoff | String | Y | |
pickup_cutoff_saturday | String | Y |
Response Success:
{
"err": false,
"msg": " Data Found",
"data": [
{
"country_id": "ID",
"zip_code": "10110",
"country_name": "INDONESIA",
"city": "Jakarta Pusat",
"kecamatan": "Gambir",
"zip_name": "Gambir",
"station_id": "JKT",
"city_id": "JAK",
"delivery": "Y",
"pickup": "Y",
"pickup_cutoff": "10:30:00",
"pickup_cutoff_saturday": "10:30:00"
},
{
"country_id": "ID",
"zip_code": "10120",
"country_name": "INDONESIA",
"city": "Jakarta Pusat",
"kecamatan": "Gambir",
"zip_name": "Kebon Kelapa",
"station_id": "JKT",
"city_id": "JAK",
"delivery": "Y",
"pickup": "Y",
"pickup_cutoff": "10:30:00",
"pickup_cutoff_saturday": "10:30:00"
}
],
"status_code": 200
}
Error Response Code:
Response | Code |
Request Not Processed | 422 |
{
"err": true,
"msg": "Signature verification failed",
"data": [],
"status_code": 401
}