Add notes to a block
PUT {{HostName}}/blk/v0/hotels/{{HotelId}}/blocks/{{BlockId}}
Request Body
{"blocks"=>[{"blockIdList"=>[{"type"=>"Block", "idContext"=>"OPERA", "id"=>"{{BlockId}}"}], "comments"=>{"commentInfo"=>[{"comment"=>{"commentTitle"=>"Block note title", "type"=>"BOOK", "internal"=>true, "hotelId"=>"{{HotelId}}", "text"=>{"value"=>"Block notes can go here"}}}]}, "hotelId"=>"{{HotelId}}", "markAsRecentlyAccessed"=>false}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-hotelid | string | ||
x-app-key | string |