Confirm Reservation Delivery
To enable this endpoint, please contact us.
The confirmation message is sent by the PMS to HotelRunner in order to confirm the delivery of one reservation, modifications or cancellations. If a reservation, modification or cancellation is not confirmed as delivered it will continue to be delivered to the PMS in response to the Retrieve Reservations message. Please note that confirming the delivery of a reservation does not necessarily mean that the reservation was successfully created in the PMS. The Reservation State Update message allows for confirming a delivery which was erroneous.
Request
// Example Request Snippet for JavaScript XHR
var settings = {
"async": true,
"crossDomain": true,
"url": "https://app.hotelrunner.com/api/v2/apps/reservations/~?token=TOKEN&hr_id=HR_ID&message_uid=ac3bd58f73e83cfb671903bf7d20787111&pms_number=PMS3425",
"method": "PUT",
"headers": {
"cache-control": "no-cache",
}
}
$.ajax(settings).done(function (response) {
console.log(response);
});
The above command returns json structured like this:
{
"status": "ok",
}
Query Parameters
// Example Request Snippet for JavaScript XHR var settings = { "async": true, "crossDomain": true, "url": "https://app.hotelrunner.com/api/v2/apps/reservations/~?token=TOKEN&hr_id=HR_ID&message_uid=ac3bd58f73e83cfb671903bf7d20787111&pms_number=PMS3425", "method": "PUT", "headers": { "cache-control": "no-cache", } } $.ajax(settings).done(function (response) { console.log(response); });
The above command returns json structured like this:
{ "status": "ok", }
Parameter | Default | Required | Description |
---|---|---|---|
message_uid | - | Yes | UniqueID of reservation delivery message.It can be found at the end of reservation JSON. |
pms_number | - | No | Reservation number in PMS. |