District List
This API returns districts list in Turkey. Districts are filtered by choosen city.
API Information
URL |
/districtList |
Method |
POST |
Version |
1.0 |
Scope |
public |
Authorization Flow |
Client Credentials |
Input Information
Name | Format | Description | Required/Optional |
CityCode |
String | City code | Required |
Output Information
Name | Format | Description |
District |
List< District > | District information |
District
Name | Format | Description |
DistrictName |
String | District name |
NVIDistrictCode |
String | Population and citizenship affairs district code |
BankDistrictCode |
String | Bank district code |
DistrictCode |
String | District code |
Message Codes
Message Code | Description |
ACBH000021 |
An invalid value was entered in the city code field. |
ACBH000038 |
City code cannot be empty. |
Example
Request:
{ "CityCode": "34" }
Response:
{ "Header": { "StatusCode": "APIGW000000", "StatusDescription": "Completed", "ObjectID": "87666702-323d-4864-aabc-3901fb7d0aa7" }, "Data": { "District": [ { "DistrictName": "Silivri", "NVIDistrictCode": "1622", "BankDistrictCode": "17", "DistrictCode": "432" }, { "DistrictName": "Şile", "NVIDistrictCode": "1659", "BankDistrictCode": "18", "DistrictCode": "433" }, { "DistrictName": "Büyükçekmece", "NVIDistrictCode": "1782", "BankDistrictCode": "21", "DistrictCode": "434" }, ... { "DistrictName": "Çekmeköy", "NVIDistrictCode": "2052", "BankDistrictCode": "38", "DistrictCode": "470" } ] } }
-
API URL : https://apigw.vakifbank.com.tr:8443
-
-
-