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
Key | Datatype | Required | Description |
---|---|---|---|
duration | number | ||
startDateTime | string | ||
endDateTime | string | ||
offset | number | ||
hotelIds | string | ||
limit | number | ||
fetchInstructions | string | ||
fetchInstructions | string | ||
sellDate | string | ||
pkgTmpltType | string | Packages or Templates | |
description | null | passes value entered in the Name field in OPERA Cloud UI | |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-hotelid | string | ||
x-app-key | string |
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":[]}