The endpoint and http method information that returns the City Name and City Code list is given below.
| HTTP Method | URL |
|---|---|
| POST | /v1/InvoicePayment/GetCities |
| Params | Type |
|---|---|
| status | int |
| code | string |
| message | string |
| payload | object[] |
| city_code | string |
| city_name | string |
REQUEST (POST):
{
}
RESPONSE:
{
"status": 0,
"code": "100",
"message": null,
"payload": [
{
"city_code": "01",
"city_name": "ADANA"
},
{
"city_code": "02",
"city_name": "ADIYAMAN"
},
...
]
}