Update Guest Message - update delivered
PUT {{HostName}}/rsv/v0/hotels/{{HotelId}}/reservations/{{ReservationId}}/guestMessages/{{guestMessageId}}
HPI-GuestMessages Update Message delivery status
using
/rsv/v0/hotels/{{HotelId}}/reservations/{{ReservationId}}/guestMessages/30290
sending the messageId to update in the URI
with the message details in the body
deliveryStatus = Mr
(delivered) or Nr
(not delivered).
deliveryDate = Date and time stamp when the message has been delivered
deliveredBy = App Id /Name (will be shown on the message information in PMS)
Request Body
{"hotelId"=>"{{HotelId}}", "guestMessages"=>[{"message"=>{"messageText"=>"NEW NEW - Yet another new Text Message from Postman", "messageDate"=>"2021-12-21 04:57:15.0", "typeOfMessage"=>"Tm", "recipient"=>"Boesel1, Marcus"}, "delivery"=>{"deliveryStatus"=>"Mr", "deliveryDate"=>"2021-12-21 09:55:00.0", "deliveredBy"=>"MBOESEL-OHIPSB"}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
x-app-key | string | ||
x-hotelId | string |