The endpoint and http method information used to query the province, province code and district information of each province are given below.
HTTP Method | URL |
---|---|
GET | /v1/StaticData/GetProvinceCityList |
Params | Type | Description |
---|---|---|
province | string | City Name |
id | int | Plate Code Of The Relevant City |
cities | object | Districts Of The Respective City |
REQUEST (GET):
Empty JSON is sent
RESPONSE:
[
{
"province": "Adana",
"id": 1,
"cities": [
"Aladağ",
"Ceyhan",
"Çukurova",
"Feke",
"İmamoğlu",
"Karaisalı",
"Karataş",
"Kozan",
"Pozantı",
"Saimbeyli",
"Sarıçam",
"Seyhan",
"Tufanbeyli",
"Yumurtalık",
"Yüreğir"
]
},