Skip to main content

City List API

This method is used to get the list of cities in a specific country.

πŸ“ Endpoint​

GET https://mg.mescogo.com/gw/common/common/city-list?countryCode=TR
PropertyValue
URIBaseURL/common/common/city-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 cities

πŸ“₯ Example Response​

{
"Status": {
"Code": 200,
"Description": "Success"
},
"CityList": [
{
"Code": 36,
"Name": "Cam Ranh"
},
{
"Code": 37,
"Name": "Can Tho"
},
{
"Code": 40,
"Name": "cat ba"
}
]
}