1a. get Catering Templates

GET {{HostName}}/evm/config/v0/hotels/{{HotelId}}/cateringPackages?duration=3&startDateTime=2019-10-26&endDateTime=2019-10-28&fetchInstructions=PackageInfo&fetchInstructions=BlockPackageInfo&sellDate=2022-10-26&pkgTmpltType=Templates

Request Params

KeyDatatypeRequiredDescription
durationnumber
startDateTimestring
endDateTimestring
offsetnumber
hotelIdsstring
limitnumber
fetchInstructionsstring
fetchInstructionsstring
sellDatestring
pkgTmpltTypestringPackages or Templates
descriptionnullpasses value entered in the Name field in OPERA Cloud UI

HEADERS

KeyDatatypeRequiredDescription
x-hotelidstring
x-app-keystring

RESPONSES

status: OK

{"pkgTmplts":[{"pkgId":{"id":"24504"},"hotelId":"PS1OEDS2","packageDetail":{"pkgCode":"MEETBK","description":{"defaultText":"Meeting with Breaks","translatedTexts":[]},"duration":1,"webBookable":false,"isTemplate":true}}],"totalPages":1,"offset":20,"limit":20,"hasMore":false,"totalResults":1,"links":[]}