Post a Guest Message - New Voicemail

POST {{HostName}}/rsv/v0/hotels/{{HotelId}}/reservations/{{ReservationId}}/guestMessages

HPI-RoomEquipment - Set New Voice mail notification

POST /rsv/v0/hotels/HotelId/reservations/ReservationId/guestMessages

Typically used by telephone systems who handle voice mail on a phone set of a room.

Example API message to set or update a Voice mail notification for a specific reservation (Not Room!!) when a voice mail has been left on a phone set.
This will create a new Guest Text message in the PMS for the specific reservation.

values:

messageText: Message text being visible in the guest text message created in PMS

messageDate: Date message is being created

typeOfMessage: Tm - Text Message

receipient: (optional) Guest name, first name (if available)

operator: System sending the message

deliveryStatus: Nr - new message (not received)

textMessageSentBy: System / user sending the message

Request Body

{"hotelId"=>"{{HotelId}}", "reservationIdList"=>{"type"=>"Reservation", "id"=>"{{ReservationId}}"}, "guestMessages"=>[{"message"=>{"messageText"=>"You have new Voice Mail. Please check your Phone.", "messageDate"=>"2021-12-16 15:11:31.0", "typeOfMessage"=>"Tm", "recipient"=>"", "operator"=>"PBX"}, "delivery"=>{"deliveryStatus"=>"Nr", "textMessageSentBy"=>"PBX"}}]}

HEADERS

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