put Reservation Locators

PUT {{HostName}}/rsv/v1/hotels/{{HotelId}}/reservations/{{ReservationId}}/guestLocators/{{LocatorId}}

Request Body

{"reservationId"=>{"type"=>"OPERA", "id"=>"{{ReservationId}}"}, "hotelId"=>"{{HotelId}}", "reservationLocators"=>[{"dateSpan"=>{"start"=>"2023-10-26 12:00:00.0", "end"=>"2023-10-26 13:30:00.0"}, "timeSpan"=>{"startDateTime"=>"2023-10-26 12:00:00.0", "endDateTime"=>"2023-10-26 13:30:00.0"}, "locatorText"=>"SPA 2 TEST", "locatorOn"=>"2023-08-01 14:53:17.0", "locatorBy"=>"MIKE", "locatorId"=>{"id"=>"16774", "type"=>"LocatorId"}}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
x-hotelidstring
x-app-keystring

RESPONSES

status: OK

{"links":[{"href":"https://ocr1-demo-oc.hospitality-api.eu-frankfurt-1.ocs.oc-test.com/rsv/v1/hotels/PS1OEDS2/reservations/169065/guestLocators","rel":"self","templated":false,"method":"GET","operationId":"getReservationLocators"},{"href":"https://ocr1-demo-oc.hospitality-api.eu-frankfurt-1.ocs.oc-test.com/rsv/v1/hotels/PS1OEDS2/reservations/169065/guestLocators/16774","rel":"self","templated":false,"method":"DELETE","operationId":"deleteReservationLocators"}]}