put Block Allocation - Open for Pickup

PUT {{HostName}}/blk/v1/hotels/{{HotelId}}/blocks/{{BlockId}}/allocation

Request Body

{"criteria"=>{"hotelId"=>"{{HotelId}}", "blockId"=>{"type"=>"Block", "idContext"=>"OPERA", "id"=>"{{BlockId}}"}, "allocationRoomTypes"=>[{"allocationGridDates"=>[{"roomAllocationInfo"=>[{"inventory"=>{"forceOverbook"=>false}, "rate"=>{"onePerson"=>"220", "twoPerson"=>"240"}, "start"=>"2023-08-01", "end"=>"2023-08-01"}], "allocation"=>"RATES"}, {"roomAllocationInfo"=>[{"inventory"=>{"forceOverbook"=>false, "onePerson"=>"8", "twoPerson"=>"1"}, "start"=>"2023-08-01", "end"=>"2023-08-01"}], "allocation"=>"ACTUAL"}], "roomType"=>"DLXQ"}, {"allocationGridDates"=>[{"roomAllocationInfo"=>[{"inventory"=>{"forceOverbook"=>false}, "rate"=>{"onePerson"=>"320", "twoPerson"=>"370"}, "start"=>"2023-08-01", "end"=>"2023-08-01"}], "allocation"=>"RATES"}, {"roomAllocationInfo"=>[{"inventory"=>{"forceOverbook"=>false, "onePerson"=>"3", "twoPerson"=>"2"}, "start"=>"2023-08-01", "end"=>"2023-08-01"}], "allocation"=>"ACTUAL"}], "roomType"=>"EXEC"}], "genericRoomType"=>false}}

HEADERS

KeyDatatypeRequiredDescription
x-hotelidstring
x-app-keystring