Skip to main content

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
PropertyValue
URIBaseURL/common/common/country-list
MethodGET
Content-Typeapplication/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"
}
]
}