Region List API
This method is used to get the list of regions for a specific country.
Endpointβ
GET https://mg.mescogo.com/gw/common/common/region-list?countryCode=TR
| Property | Value |
|---|---|
| URI | BaseURL/common/common/region-list?countryCode={countryCode} |
| Method | GET |
| Content-Type | application/json |
Authorizationβ
Basic Auth is required. Use the API credentials provided by MescoMg.
Query Parametersβ
| Parameter | Type | Description |
|---|---|---|
countryCode | string | Country code to list regions |
Example Responseβ
{
"Status": {
"Code": 200,
"Description": "Success"
},
"RegionList": [
{
"Code": "1",
"Name": "Istanbul"
}
]
}