put Block Status DEF to CXL

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

Request Body

{"verificationOnly"=>false, "changeBlockStatus"=>{"hotelId"=>"{{HotelId}}", "blockId"=>{"type"=>"Block", "idContext"=>"OPERA", "id"=>"{{BlockId}}"}, "currentBlockStatus"=>"DEF", "newBlockStatus"=>"CAN", "reservationType"=>"GDED", "cancellationDetails"=>{"cancellationCode"=>{"code"=>"RATE"}, "cancellationInfo"=>"Rate to High"}, "pMReservationsCancellationDetails"=>{"cancellationCode"=>{"code"=>"6PM", "description"=>"6 PM Cancellation"}}, "overbookAll"=>false, "cancelAllPMReservations"=>true, "applyChangesToCateringSatus"=>false, "overrideEventsProcessingWarnings"=>false}}

HEADERS

KeyDatatypeRequiredDescription
x-hotelidstring
x-app-keystring