Parameter:
Field Name | Description | Data Type | Max. Length |
countryID | Id of Country | String | 4 |
provinceName | Name of Province | 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 |
zip_name | String | Y | Zip name of city |
station_id | String | Y | Three letter code station |
Response Success:
{
"err": false,
"msg": " Data Found",
"data": [
{
"country_id": "ID",
"provinsi": "DKI Jakarta",
"city_id": "JAK",
"zip_name": "Petukangan Utara",
"station_id": "HLP",
},
{
"country_id": "ID",
"provinsi": "DKI Jakarta",
"city_id": "JAK",
"zip_name": "Ancol",
"station_id": "JKT",
},
{
"country_id": "ID",
"provinsi": "DKI Jakarta",
"city_id": "JAK",
"zip_name": "Angke",
"station_id": "JKT",
}
],
{
"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
}