Get event resources attached to an event
GET {{HostName}}/evm/v0/hotels/{{HotelId}}/eventsResources?blockId={{BlockId}}&eventIds={{EventId}}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
blockId | string | ||
eventIds | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-app-key | string | ||
x-hotelid | string |
RESPONSES
status: OK
{"eventsResourcesList":[{"eventPrimaryInfo":{"eventId":{"type":"EventId","idContext":"OPERA","id":"71551"}},"eventResources":[{"resourceId":{"type":"ResourceId","idContext":"OPERA","id":"239808"},"resourceType":"FunctionSpace","resourceName":"Ball Room 2","setupCode":"REP","quantity":1,"quantityExcluded":1,"unitPrice":{"amount":0},"revenue":{"amount":0},"rentalCode":"CUSTOM","order":"1","hasDiscountMenuItem":false,"hasNotes":false,"external":false,"custom":false,"packaged":false},{"resourceId":{"type":"ResourceId","idContext":"OPERA","id":"76578"},"resourceType":"Menu","resourceName":"Healthy Breaks","quantity":20,"quantityExcluded":20,"unitPrice":{"amount":0},"consumptionBased":false,"multiChoice":false,"order":"1","hasDiscountMenuItem":false,"hasNotes":false,"external":false,"custom":false,"packaged":false},{"resourceId":{"type":"ResourceId","idContext":"OPERA","id":"75061"},"resourceType":"Item","resourceName":"RMSET","quantity":1,"quantityExcluded":1,"rentalCode":"CUSTOM","order":"4.1","hasDiscountMenuItem":false,"hasNotes":false,"external":false,"custom":false,"packaged":false}],"eventBlockInfo":{"blockIdList":[{"id":"81717","type":"Block"}],"hotelId":"PS1OEDS2","markAsRecentlyAccessed":false}}],"links":[]}