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
| Property | Value |
|---|---|
| URI | BaseURL/common/hotel/hotel-code-list |
| Method | GET |
| Content-Type | application/json |
π Authorizationβ
Basic Auth is required. Use the API credentials provided by MescoMg.
π Query Parametersβ
| Parameter | Type | Description |
|---|---|---|
countryId | String | Optional country identifier to filter hotel codes |
No request body is required.
π₯ Example Responseβ
{
"HotelCodes": [
23416,
23417,
23418,
23419
]
}