post Turnaway Reservation
POST {{HostName}}/rsv/v1/hotels/{{HotelId}}/turnaways
Request Body
{"turnaway"=>{"details"=>{"hotelId"=>"{{HotelId}}", "timeSpan"=>{"startDate"=>"2023-10-18", "endDate"=>"2023-10-19", "duration"=>"P1DT0H0M0S"}, "ratePlanCode"=>"ARATE", "roomType"=>"PRES", "guestCounts"=>{"adults"=>1, "children"=>0}}, "profileIdList"=>[{"type"=>"Profile", "id"=>"{{ProfileId}}"}], "address"=>{"postalCode"=>"84060", "country"=>{"code"=>"US"}}, "comments"=>"A comment can go here", "reasonCode"=>"RATECLOSED"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-app-key | string | ||
x-hotelId | string |