Skip to main content

Region List API

This method returns the regions for a specific country code.

Endpoint​

GET {BaseURL}/common/common/region-list?countryCode=TR
PropertyValue
URI{BaseURL}/common/common/region-list?countryCode={countryCode}
MethodGET
Content-Typeapplication/json

Authorization​

Basic Auth is required. Use the API credentials provided by MescoMg.

Query Parameters​

ParameterTypeDescription
countryCodestringCountry code to list regions

No request body is required. If the country code is not recognized, the API can return a generic ResultType / ResultMessage response instead of RegionList.

Example Response​

{
"Status": {
"Code": 200,
"Description": "Success"
},
"RegionList": [
{
"Code": "1",
"Name": "Istanbul"
}
]
}