Skip to main content

Meal Types API

This method is used to get the list of meal type codes available for hotel search filters.

πŸ“ Endpoint​

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

πŸ” Authorization​

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

No request body is required.

πŸ“₯ Example Response​

{
"Status": {
"Code": "200",
"Description": "Successful"
},
"MealTypes": [
{
"Code": "BB",
"Name": "Bed & Breakfast",
"BoardTypeID": 2,
"BoardTypeCode": "BB",
"BoardTypeDescription": "Bed & Breakfast"
},
{
"Code": "FB",
"Name": "Full Board",
"BoardTypeID": 4,
"BoardTypeCode": "FB",
"BoardTypeDescription": "Full Board"
}
]
}

πŸ’‘ Usage​

Use the Code value in the Filters.MealType field of the Search API.

{
"Filters": {
"MealType": "BB"
}
}