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