Get Property Info

Description

Levart requires the property Room Type and Rate Type information to be able to map the codes from system to system.

The same Room Type and Rate Type codes will be used by the PMS to push Inventory update and Rate update messages to Levart. Levart will also use these codes to push bookings and modifications. All mapping will be done on the Levart end using our 'Link Editor' tool.

Direction

Levart → PMS

Example Request

{
  "Authentication" : {
    "Username": "abc",
    "Password": "456"
  },
  "MessageID": "717b3bec-5321-4bad-84c1-075bff67f92c",
  "TimeStamp": "2017-09-28T15:15:00+08:00",
  "MessageType": "GetPropertyInfo"
}

Specification JSON Get Property Info Request

ElementNumTypeDescription
Authentication1ObjectAuthentication Object
Username1StringUnique Username for this property.
Password1StringUnique Password for this property.
MessageID1StringUnique Message ID
TimeStamp1DateTimeThe current Date and time of the transaction in ISO 8601 format. e.g. 2016-01-28T15:15:00+08:00
MessageType1StringSet to 'GetPropertyInfo'

Response (Success)

{
  "MessageID": "717b3bec-5321-4bad-84c1-075bff67f92c",
  "TimeStamp": "2016-09-28T15:15:00+08:00",
  "Status": "Success",
  "PropertyData": {
    "PropertyName": "Bunbury Delux Villas",
    "RoomTypes": [
      {
        "RoomTypeCode": "STD",
        "RoomTypeName": "Standard Room"
        "RateTypes": [
          {
            "RateTypeCode": "123",
            "RateTypeName": "Internet Rate"
          },
          {
            "RateTypeCode": "124",
            "RateTypeName": "Corporate Rate"
          }
        ]
      },
      {
        "RoomTypeCode": "2BED",
        "RoomTypeName": "2 Bedroom Apartment"
        "RateTypes": [
          {
            "RateTypeCode": "125",
            "RateTypeName": "Internet Rate"
          },
          {
            "RateTypeCode": "126",
            "RateTypeName": "Corporate Rate"
          }
        ]
      }
    ]
  }
}

Response (Error)

{
  "MessageID": "717b3bec-5321-4bad-84c1-075bff67f92c",
  "TimeStamp": "2017-09-28T15:15:00+08:00",
  "Status": "Error",
  "ErrorMessage": "Bad username and password."
}

 

Specification Get Property Info Response

ElementNumTypeDescription
MessageID1StringUnique Message ID (Same as the Request Message ID)
TimeStamp1DateTimeDate and time of the message in ISO 8601 format. e.g. 2016-01-28T15:15:00+08:00
Status1StringElement contains either 'Error' or 'Success'
ErrorMessage0..1StringError message (on error only).
ProperyData1..nObjectProperty Data Object
ProperyData > PropertyName1StringThe name of the property that this message belongs to
ProperyData > RoomTypes0..nArrayArray of RoomTypes
RoomTypes n > RoomTypeCode1StringRoom Type Code e.g. 'STD' or 123
RoomTypes n > RoomTypeName1StringName of the Room Type e.g. 'Standard Room with View'
RoomTypes n > RateTypes0..nArrayArray of Rate Types that belong within the Room Type.
RateTypes n > RateTypeCode1StringCode of the Rate Type e.g. '123' or 'Rack'
RateTypes n >RoomTypeCode1StringName of the Rate Type e.g. 'Rack Rate' or 'Internet Rate'