Update a Wakeup call - set a new wakeup time
PUT {{HostName}}/fof/v0/hotels/{{HotelId}}/reservations/{{ReservationId}}/wakeUpCalls
HPI WakeUp - example for sending a Wake up call update notification to PMS - change of Wake up time
reservationId = the reservation id of the guest residing in the room
room = room number
callTime = old wake up date and wake up time
isFollowUpCall = false/true mark the call notification as a follow up call or not
status = status code pending
- call to execute (information for the user only)
timeSpan
startDate = Date span for eventually multiple wake up call on multiple days
newCallTime: new wake up date and wake up time
Note:
this will create a NEW Wake up and set the old wake up call to cancelled
in the PMS.
Request Body
{"calls"=>[{"reservationInfo"=>{"reservationIdList"=>[{"type"=>"Reservation", "id"=>"{{ReservationId}}"}], "hotelId"=>"{{HotelId}}", "room"=>"109"}, "callTime"=>"2022-01-17 18:00:00", "isFollowUpCall"=>false, "status"=>"pending", "timeSpan"=>{"startDate"=>"2022-01-17"}, "newCallTime"=>"2022-01-17 19:00:00"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-app-key | string | ||
x-hotelId | string |