Country List API
This method is used to get the list of all countries in the system.
π Endpointβ
GET https://mg.mescogo.com/gw/common/common/country-list
| Property | Value |
|---|---|
| URI | BaseURL/common/common/country-list |
| Method | GET |
| Content-Type | application/json |
π Authorizationβ
Basic Auth is required. Use the API credentials provided by MescoMg.
Request Parameters: No parameter required in Body.
Response example with countries: TH - Thailand, VN - Vietnam, MV - Maldives, ID - Indonesia
π₯ Example Responseβ
{
"Status": {
"Code": 200,
"Description": "Success"
},
"CountryList": [
{
"CountryID": "257a8765-226b-46c4-959c-51db75904578",
"Code": "TH",
"Name": "Thailand"
},
{
"CountryID": "1c65d999-feb8-456a-ab56-f5cee41c06ac",
"Code": "VN",
"Name": "Vietnam"
},
{
"CountryID": "199cb03a-6e24-4af9-9d49-bcc8aebd485a",
"Code": "MV",
"Name": "Maldives"
}
]
}