Push Cancellation

Description

This Push Cancellation request message allows a cancellation to be pushed from Levart to a PMS (Property Management System) system in JSON format.

Note

When a booking is cancelled in Levart the held Inventory is immediately released to all channels.

Direction

Levart → PMS

Request

{
  "Authentication": {
    "Username": "abc",
    "Password": "456"
  },
  "MessageID": "717b3bec-5321-4bad-84c1-075bff67f92c",
  "TimeStamp": "2017-04-06T13:42:45+08:00",
  "MessageType": "PushCancellation",
  "CancellationData": {
    "Reference": "12435467",
    "PMSConfirmationNumber": "234234"
  }
}


Specification JSON Cancellation Request

ElementNumTypeDescription
Authentication1ObjectAuthentication object
Authentication > Username1StringUnique username for the property.
Authentication > Password1StringUnique password for the property.
MessageID1StringUnique Message ID
MessageType1StringSet to 'PushCancellation'
TimeStamp1DateTimeDate and time of the transaction in ISO 8601 format. e.g. 2016-01-28T15:15:00+08:00
CancellationData1ObjectCancellationData object
CancellationData > Reference1StringBooking reference number to be cancelled.
CancellationData > PMSConfirmationNumber1StringPMS Confirmation Number provided when booking was made / modified.

Response (Success)

{
  "MessageID": "717b3bec-5321-4bad-84c1-075bff67f92c",
  "TimeStamp": "2017-04-06T13:42:45+08:00",
  "Status": "Success",
  "BookingReference": "93225945",
  "PMSConfirmationNumber":"234234"
}

Response (Error)

{
  "MessageID": "717b3bec-5321-4bad-84c1-075bff67f92c",
  "TimeStamp": "2017-04-06T13:42:45+08:00",
  "Status": "Error",
  "ErrorMessage": "Invalid username or password."
}

 

Specification JSON Cancellation Response

ElementNumTypeDescription
MessageID1StringUnique Message ID (Same as the Request Message ID)
TimeStamp1DateTimeDate and time of the transaction in ISO 8601 format. e.g. 2016-01-28T15:15:00+08:00
Status1StringElement contains either Error or Success
ErrorMessage0..1StringThe echo reply data on Success.
BookingReference0..1StringThe original booking reference number.
PMSConfirmationNumber0..1StringThe PMS Confirmation number (Usually the original PMSConfirmationNumber)