Parameter:
Field Name | Description | Data Type | Max. Length |
countryID | Id of Country | String | 4 |
provinceName | Name of Province | String | 50 |
district | Name of district | String | 50 |
Response Definition:
Field | Data Type | Mandatory | Description |
country_ID | String | Y | Two Letter code country, example: id |
provinsi | String | Y | Name of Province |
city_id | String | Y | Three letter code city, example: JAK |
country_name | String | Y | Name of Country |
station_id | String | Y | Three letter code station |
kecamatan | String | Y | Name of kecamatan (District) |
kota_kab | String | Y | Name of city |
Response Success:
{
"err": false,
"msg": " Data Found",
"data": [
{
"country_id": "ID",
"provinsi": "DKI Jakarta",
"city_id": "JAK",
"country_name": "INDONESIA",
"station_id": "HLP",
"kecamatan": "Cilandak",
"kota_kab": "Jakarta Selatan"
},
{
"country_id": "ID",
"provinsi": "DKI Jakarta",
"city_id": "JAK",
"country_name": "INDONESIA",
"station_id": "JKT",
"kecamatan": "Mampang Prapatan",
"kota_kab": "Jakarta Selatan"
},
{
"country_id": "ID",
"provinsi": "DKI Jakarta",
"city_id": "JAK",
"country_name": "INDONESIA",
"station_id": "JKT",
"kecamatan": "Pancoran",
"kota_kab": "Jakarta Selatan"
},
{
"country_id": "ID",
"provinsi": "DKI Jakarta",
"city_id": "JAK",
"country_name": "INDONESIA",
"station_id": "JKT",
"kecamatan": "Pasar Minggu",
"kota_kab": "Jakarta Selatan"
}
],
"status_code": 200
}
Error Response Code:
Response | Code |
Request Not Processed | 422 |
{
"err": true,
"msg": "Signature verification failed",
"data": [],
"status_code": 401
}