Skip to main content

Hotel Code List API

This method is used to get the list of hotel codes in the system.

πŸ“ Endpoint​

GET https://mg.mescogo.com/gw/common/hotel/hotel-code-list
PropertyValue
URIBaseURL/common/hotel/hotel-code-list
MethodGET
Content-Typeapplication/json

πŸ” Authorization​

Basic Auth is required. Use the API credentials provided by MescoMg.

πŸ“‹ Query Parameters​

ParameterTypeDescription
countryIdStringOptional country identifier to filter hotel codes

No request body is required.

πŸ“₯ Example Response​

{
"HotelCodes": [
23416,
23417,
23418,
23419
]
}