Update the Blocks Status

PUT {{HostName}}/blk/v0/hotels/{{HotelId}}/blocks/{{BlockId}}/status

overbookAll: true/ false. Set this to false, to ensure relevant warnings are returned about changing the status. Set to true, to override all warnings.

Request Body

{"verificationOnly"=>false, "changeBlockStatus"=>{"hotelId"=>"{{HotelId}}", "blockId"=>{"type"=>"Block", "idContext"=>"OPERA", "id"=>"{{BlockId}}"}, "currentBlockStatus"=>"TEN", "newBlockStatus"=>"DEF", "reservationType"=>"GRPGTD", "overbookAll"=>true, "cancelAllPMReservations"=>false, "applyChangesToCateringSatus"=>false, "overrideEventsProcessingWarnings"=>true}}

HEADERS

KeyDatatypeRequiredDescription
x-hotelidstring
x-app-keystring