Skip to main content

Получение деталей бронирования

Детальная информация по одному бронированию.

Запрос:

GET /api/pms/reservations/20241014-5431-16817363?languageCode=en HTTP/1.1
Host: partner.tlintegration.com
Authorization: Bearer {{access_token}}

Параметры:

ПараметрТипОбязательныйОписание
languageCodestringНетКод языка по ISO 639-1. Поддерживаемые: en, ru, bg, cs, fr, id, ka, km, ko, pl, th, tr, uk, uz, vi

Ответ:

{
"reservation": {
"number": "20241014-5431-16817363",
"customerLanguageCode": "ru",
"visitPurpose": {
"id": "2",
"displayName": "Tourism"
},
"customerComment": "",
"modifyDateTime": "2024-10-14T08:09:02Z",
"currencyCode": "RUB",
"customer": {
"pmsPersonId": "4503599627505588",
"personName": {
"lastName": "Пирогова",
"firstName": "Людмила",
"middleName": null
},
"birthDate": null,
"citizenship": "USA",
"status": {
"id": "0",
"displayName": "Not selected"
},
"emails": [
{
"address": "liudmila.pirogova@travelline.ru"
}
],
"phones": [],
"gender": "Female"
},
"creationSource": {
"id": "25",
"name": "Голубь Почтовый 2.0"
},
"channelInformation": null,
"reservationStatus": "Confirmed",
"roomStays": [
{
"pmsRoomStayId": "4503599628346335",
"roomId": "4503599627373590",
"roomTypeId": "315367",
"guestsIds": [
"4503599627505588"
],
"checkInDateTime": "2024-10-14T14:00",
"checkOutDateTime": "2024-10-22T12:00",
"actualCheckInDateTime": null,
"actualCheckOutDateTime": null,
"status": "New",
"guestCount": {
"adults": 1,
"children": 0
},
"totalPrice": {
"amount": {
"value": 20000.0000,
"currencyCode": null
},
"payAmount": {
"value": 20000.0000,
"currencyCode": null
},
"refundAmount": {
"value": 0.0,
"currencyCode": null
}
},
"amenities": []
}
]
}
}