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
Element | Num | Type | Description |
---|---|---|---|
Authentication | 1 | Object | Authentication Object |
Username | 1 | String | Unique Username for this property. |
Password | 1 | String | Unique Password for this property. |
MessageID | 1 | String | Unique Message ID |
TimeStamp | 1 | DateTime | The current Date and time of the transaction in ISO 8601 format. e.g. 2016-01-28T15:15:00+08:00 |
MessageType | 1 | String | Set 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
Element | Num | Type | Description |
---|---|---|---|
MessageID | 1 | String | Unique Message ID (Same as the Request Message ID) |
TimeStamp | 1 | DateTime | Date and time of the message in ISO 8601 format. e.g. 2016-01-28T15:15:00+08:00 |
Status | 1 | String | Element contains either 'Error' or 'Success' |
ErrorMessage | 0..1 | String | Error message (on error only). |
ProperyData | 1..n | Object | Property Data Object |
ProperyData > PropertyName | 1 | String | The name of the property that this message belongs to |
ProperyData > RoomTypes | 0..n | Array | Array of RoomTypes |
RoomTypes n > RoomTypeCode | 1 | String | Room Type Code e.g. 'STD' or 123 |
RoomTypes n > RoomTypeName | 1 | String | Name of the Room Type e.g. 'Standard Room with View' |
RoomTypes n > RateTypes | 0..n | Array | Array of Rate Types that belong within the Room Type. |
RateTypes n > RateTypeCode | 1 | String | Code of the Rate Type e.g. '123' or 'Rack' |
RateTypes n >RoomTypeCode | 1 | String | Name of the Rate Type e.g. 'Rack Rate' or 'Internet Rate' |