2a. get Catering Packages

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

Request Params

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

HEADERS

KeyDatatypeRequiredDescription
x-hotelidstring
x-app-keystring

RESPONSES

status: OK

{"pkgTmplts":[{"pkgId":{"id":"24502"},"hotelId":"PS1OEDS2","packageDetail":{"pkgCode":"DDR","description":{"defaultText":"Daily Delegate Package","translatedTexts":[]},"duration":1,"webBookable":false,"isTemplate":false},"pricingList":[{"id":{"id":"19505"},"priceCode":"DDR21","description":"Daily Delegate","totalPrice":{"amount":286},"flatRate":false}]},{"pkgId":{"id":"24503"},"hotelId":"PS1OEDS2","packageDetail":{"pkgCode":"EXECPKG","description":{"defaultText":"Executive Meeting Package","translatedTexts":[]},"duration":1,"webBookable":false,"isTemplate":false},"pricingList":[{"id":{"id":"19502"},"priceCode":"EXECPKG19","description":"Executive Package 2019","totalPrice":{},"flatRate":false}]},{"pkgId":{"id":"24505"},"hotelId":"PS1OEDS2","packageDetail":{"pkgCode":"WED","description":{"defaultText":"Wedding Package","translatedTexts":[]},"duration":1,"webBookable":false,"isTemplate":false},"pricingList":[{"id":{"id":"19504"},"priceCode":"WED","description":"Wedding Package","totalPrice":{"amount":9500},"flatRate":false}]}],"totalPages":1,"offset":20,"limit":20,"hasMore":false,"totalResults":3,"links":[]}