Region List API
Bu yöntem, belirli bir ülke için bölge listesini almak için kullanılır.
Endpoint
GET https://mg.mescogo.com/gw/common/common/region-list?countryCode=TR
| Özellik | Değer |
|---|---|
| URI | BaseURL/common/common/region-list?countryCode={countryCode} |
| Method | GET |
| Content-Type | application/json |
Yetkilendirme
Basic Auth zorunludur. MescoMg tarafından sağlanan API kimlik bilgilerini kullanın.
Query Parametreleri
| Parametre | Tip | Açıklama |
|---|---|---|
countryCode | string | Bölgeleri listelemek için ülke kodu |
Örnek Response
{
"Status": {
"Code": 200,
"Description": "Success"
},
"RegionList": [
{
"Code": "1",
"Name": "Istanbul"
}
]
}