Post or set new Locator on a reservation
POST {{HostName}}/rsv/v0/hotels/{{HotelId}}/reservations/{{ReservationId}}/guestLocators
HPI Locator - set a new locator
/rsv/v0/hotels/{{HotelId}}/reservations/{{ReservationId}}/guestLocators
Example message to set a new Guest Locator for a specific reservation.
dateSpan: Date for when the locator information shall be active (the guest is meant to be on a specific location)
timeSpan: Time span (from to) for when the locator information shall be active (the guest is meant to be at a specific location)
locatorText: Location name
locatorOn: Date and time when the locator has been set (information in locator detail in PMS)
locatorBy: system which set the locator
Request Body
{"reservationLocators"=>[{"dateSpan"=>{"start"=>"2022-01-17", "end"=>"2022-01-17"}, "timeSpan"=>{"startDateTime"=>"2022-01-17 16:00:00.0", "endDateTime"=>"2022-01-17 18:00:00.0"}, "locatorText"=>"Everywhere and Nowhere", "locatorOn"=>"2022-01-17 16:00:00.0", "locatorBy"=>"MBOESEL-OHIPSB", "locatorId"=>{"id"=>"", "type"=>""}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-hotelid | string | ||
x-app-key | string |