Add event resources to the event
PUT {{HostName}}/evm/v0/hotels/{{HotelId}}/eventsResources
Request Body
{"eventItems"=>{"eventItemInfo"=>[{"eventItem"=>{"quantity"=>1, "externalOrder"=>true, "hotelId"=>"{{HotelId}}", "itemId"=>{"type"=>"ItemInventoryId", "id"=>"2586"}}}], "includedInPackage"=>false, "critical"=>false}, "eventDetails"=>[{"eventPrimaryInfo"=>{"eventId"=>{"type"=>"EventId", "idContext"=>"OPERA", "id"=>"{{EventId}}"}, "hotelId"=>"{{HotelId}}"}, "eventBlockInfo"=>{"blockIdList"=>[{"type"=>"Block", "id"=>"{{BlockId}}"}]}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-app-key | string | ||
x-hotelid | string |