Skip to main content

MescoMg Hotel API Specification

Version 1.0

πŸ“‹ Change Log​

DateChanged ByAPIDescriptionVersion
18 May 2026-Booking List, Search, Booking, Static DataUpdated customer documentation, including Booking List support for reservation operations1.0
15 May 2025--Base API1.0

πŸ”— API Base URL​

https://mg.mescogo.com/gw

πŸ“ API Endpoints​

APIEndpoint
Searchhttps://mg.mescogo.com/gw/api/price/mg-hotel-prices
Bookhttps://mg.mescogo.com/gw/api/booking/book
Booking Detailhttps://mg.mescogo.com/gw/api/booking/booking-detail
Booking Listhttps://mg.mescogo.com/gw/api/booking/book-list
Booking Cancelhttps://mg.mescogo.com/gw/api/booking/cancel
Service Statushttps://mg.mescogo.com/gw/api/service/Status
Country Listhttps://mg.mescogo.com/gw/common/common/country-list
Region Listhttps://mg.mescogo.com/gw/common/common/region-list
City Listhttps://mg.mescogo.com/gw/common/common/city-list
Meal Typeshttps://mg.mescogo.com/gw/common/hotel/meal-types
Hotel Code Listhttps://mg.mescogo.com/gw/common/hotel/hotel-code-list
Hotel Detailhttps://mg.mescogo.com/gw/common/hotel/hotel-detail

πŸ“Š Response Status​

Response StatusStatus CodeDescriptionRemarks
SUCCESS200SuccessfulAll Successful Registrations Return This 200 Code
NO_AVAILABILITY201No AvailabilityNo available rooms with the specified features were found
BOOKING_FAIL405Booking FailedAn error occurred while creating a reservation
CANCEL_FAIL409Cancel FailedAn error occurred during the reservation cancellation phase
UNAUTHORIZED401Unauthorized useUnauthorized Use
INVALID_REQUEST400Invalid RequestRequest Format Not Compatible
UNEXPECTED_ERROR500Unexpected ErrorAn Unexpected Error Occurred
AGENT_BLOCKED423Agent BlockedYou are not allowed to use the system