Get Reservation by ID - Pull_GetReservationByID
This method returns details of an individual reservation.
Use Cases
- Get specific reservation details
- Display booking information
- Verify reservation status
- Handle customer support inquiries
Request
XML request
<Pull_GetReservationByID_RQ>
<Authentication>
<AccessKey>[AccessKey]</AccessKey>
<SecretKey>[SecretKey]</SecretKey>
</Authentication>
<ReservationID>14634678</ReservationID>
</Pull_GetReservationByID_RQ>
Request fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_GetReservationByID_RQ | C | Root element | |
| Pull_GetReservationByID_RQ/Authentication | C, M | Authentication details | |
| Pull_GetReservationByID_RQ/Authentication/AccessKey | String(100) | M | Access key |
| Pull_GetReservationByID_RQ/Authentication/SecretKey | String(100) | M | Secret key |
| Pull_GetReservationByID_RQ/ReservationID | String | M | Unique reservation ID |
Response
XML response
<Pull_GetReservationByID_RS>
<Status ID="0">Success</Status>
<ResponseID>0123456789ABCDEF0123456789ABCDEF</ResponseID>
<Reservation>
<ReservationID>123</ReservationID>
<StatusID>1</StatusID>
<CreatedDate>2022-02-25 09:43:22</CreatedDate>
<LastMod>2022-03-01 10:10:02</LastMod>
<StayInfos>
<StayInfo>
<PropertyID>1</PropertyID>
<XmlApartmentID>Ext. ID. 1</XmlApartmentID>
<DateFrom>2022-05-29</DateFrom>
<DateTo>2022-05-31</DateTo>
<ArrivalTime>2022-05-29 09:12:00</ArrivalTime>
<NumberOfGuests>4</NumberOfGuests>
<Costs>
<RUPrice>1120.06</RUPrice>
<ClientPrice>1120.06</ClientPrice>
<AlreadyPaid>50.00</AlreadyPaid>
</Costs>
<ResapaID>1</ResapaID>
<Mapping>
<ReservationID>123</ReservationID>
<StayID>123</StayID>
<HotelID>123</HotelID>
<RoomID>123</RoomID>
<RateID>123</RateID>
</Mapping>
<ReservationBreakdown>
<RUBreakdown>
<DayPrices Date="2022-05-29">
<Rent>244.99</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="0.5" Name="City tax" FeeTaxType="5"/>
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="20.0" Name="Pet fee" FeeTaxType="29"/>
</Fees>
<Price>265.49</Price>
</DayPrices>
<DayPrices Date="2022-05-30">
<Rent>244.99</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="0.5" Name="City tax" FeeTaxType="5"/>
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="20.0" Name="Pet fee" FeeTaxType="29"/>
</Fees>
<Price>265.49</Price>
</DayPrices>
<DayPrices Date="2022-05-31">
<Rent>244.99</Rent>
<Taxes>
<Tax AlreadyIncluded="false" Amount="0.5" Name="City tax" FeeTaxType="5"/>
</Taxes>
<Fees>
<Fee AlreadyIncluded="false" Amount="20.0" Name="Pet fee" FeeTaxType="29"/>
</Fees>
<Price>265.49</Price>
</DayPrices>
<TotalFeesTaxes>
<TotalFeeTax AlreadyIncluded="false" Amount="3.5" Name="City tax" FeeTaxType="5"/>
<TotalFeeTax AlreadyIncluded="false" Amount="140.0" Name="Pet fee" FeeTaxType="29"/>
<TotalFeeTax AlreadyIncluded="false" Amount="241.59" Name="VAT" FeeTaxType="2"/>
</TotalFeesTaxes>
<Total>1120.06</Total>
<Rent>734.97</Rent>
</RUBreakdown>
<ChannelBreakdown>
<DayPrices Date="2022-05-29">
<RentInfo>
<Rent IncludedInChannelTotal="true" Amount="236.90" Currency="USD" Name="Room" />
</RentInfo>
<Taxes>
<Tax IncludedInChannelTotal="true" Amount="15.20" Currency="USD" Name="Room" />
<Tax IncludedInChannelTotal="true" Amount="12.08" Currency="USD" Name="Surcharge" />
</Taxes>
<Fees>
<Fee IncludedInChannelTotal="true" Amount="12.92" Currency="USD" Name="Surcharge" />
</Fees>
<Price>277.10</Price>
</DayPrices>
<DayPrices Date="2022-05-30">
<RentInfo>
<Rent IncludedInChannelTotal="true" Amount="255.30" Currency="USD" Name="Room" />
</RentInfo>
<Taxes>
<Tax IncludedInChannelTotal="true" Amount="11.64" Currency="USD" Name="Room" />
</Taxes>
<Price>266.94</Price>
</DayPrices>
<DayPrices Date="2022-05-31">
<RentInfo>
<Rent IncludedInChannelTotal="true" Amount="236.90" Currency="USD" Name="Room" />
</RentInfo>
<Taxes>
<Tax IncludedInChannelTotal="true" Amount="11.64" Currency="USD" Name="Room" />
</Taxes>
<Price>248.54</Price>
</DayPrices>
<ChannelTotalFeesTaxes>
<ChannelTotalFeeTax IncludedInChannelTotal="true" Amount="50.70" Currency="USD" Name="Room" ItemType="Tax" />
<ChannelTotalFeeTax IncludedInChannelTotal="true" Amount="12.08" Currency="USD" Name="Surcharge" ItemType="Tax" />
<ChannelTotalFeeTax IncludedInChannelTotal="true" Amount="12.92" Currency="USD" Name="Surcharge" ItemType="Fee" />
</ChannelTotalFeesTaxes>
<ChannelTotal>804.08</ChannelTotal>
<ChannelRent>729.10</ChannelRent>
</ChannelBreakdown>
<ChannelCommission>210.00</ChannelCommission>
</ReservationBreakdown>
</StayInfo>
</StayInfos>
<CancellationPolicyInfo>
<PolicyText>Full refund until 11 days before arrival. 50% charge from 4 to 10 days before arrival. 100% charge from 0 to 3 days before arrival.</PolicyText>
<CancellationPolicies>
<CancellationPolicy ValidFrom="0" ValidTo="3">100</CancellationPolicy>
<CancellationPolicy ValidFrom="4" ValidTo="10">50</CancellationPolicy>
</CancellationPolicies>
</CancellationPolicyInfo>
<CustomerInfo>
<Name>Test</Name>
<SurName>Test</SurName>
<Email>test.test@test.com</Email>
<Phone>+11 111 111 111</Phone>
<SkypeID>test.test</SkypeID>
<Address>Street 1/2</Address>
<ZipCode>00-000</ZipCode>
<CountryID>42</CountryID>
<LanguageID>2</LanguageID>
</CustomerInfo>
<GuestDetailsInfo>
<NumberOfAdults>2</NumberOfAdults>
<NumberOfChildren>2</NumberOfChildren>
<NumberOfInfants>3</NumberOfInfants>
<ChildrenAges>
<Age>12</Age>
<Age>9</Age>
<Age>2</Age>
<Age>2</Age>
<Age>1</Age>
</ChildrenAges>
<NumberOfPets>1</NumberOfPets>
</GuestDetailsInfo>
<Creator>test@test.test</Creator>
<CancelTypeID>1</CancelTypeID>
<Archived>false</Archived>
</Reservation>
</Pull_GetReservationByID_RS>
Currency codes
Currency values use three-letter ISO 4217 codes, such as EUR, USD, or GBP.
Distribution Hub does not provide a currency dictionary endpoint.
Response fields
| XML Path | Data Type | Type | Description |
|---|---|---|---|
| Pull_GetReservationByID_RS | C | Root element | |
| Pull_GetReservationByID_RS/Status | String(100) | M | See ListStatuses |
| Pull_GetReservationByID_RS/Status@ID | Integer | M | See ListStatuses |
| Pull_GetReservationByID_RS/Reservation | C | Single reservation | |
| Pull_GetReservationByID_RS/Reservation/ReservationID | String | M | Unique reservation ID |
| Pull_GetReservationByID_RS/Reservation/StatusID | Integer | M | The code that identifies a reservation status, see ListReservationStatuses |
| Pull_GetReservationByID_RS/Reservation/CreatedDate | String | M | The creation date of the reservation(format YYYY-MM-DD HH-MM-SS) |
| Pull_GetReservationByID_RS/Reservation/LastMod | String | M | The last modification date (creation or cancellation) of the reservation(format YYYY-MM-DD HH-MM-SS) |
| Pull_GetReservationByID_RS/Reservation/StayInfos | C, M | Information about the stay associated with the reservation | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo | M | Information about the stay | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/PropertyID | String | M | Unique property ID |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/XmlApartmentID | String | M | External System’s Property ID e.g. property ID in your PMS (if not provided, a value of "-1" will be returned) |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/DateFrom | String(10) | M | Arrival date (YYYY-MM-DD format) |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/DateTo | String(10) | M | Departure date (YYYY-MM-DD format) |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ArrivalTime | String(19) | O | Date and time at which the guest has actually arrived (YYYY-MM-DD HH:MM:SS format) |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/NumberOfGuests | Integer | M | Number of guests |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/Costs | C, M | Information about reservation costs | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/Costs/RUPrice | Decimal(19,2) | M | Rent price of the whole stay calculated on the basis of your pricing model (daily, LOS, FSP) |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/Costs/ClientPrice | Decimal(19,2) | M | Final price for the guest |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/Costs/AlreadyPaid | Decimal(19,2) | M | The amount already paid by the guest |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ResapaID | Integer | M | Unique apartment reservation identifier |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/Comments | String(500) | O | Additional comments about the stay |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/Mapping | C, O | Information about reservation mapping with external systems | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/Mapping/ReservationID | String(50) | M | External system’s Reservation ID |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/Mapping/StayID | String(50) | O | External system’s reservation identifier assigned to the property |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/Mapping/HotelID | String(50) | O | External system’s Apartment identifier |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/Mapping/RoomID | String(50) | O | External system’s Room Identifier |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/Mapping/RateID | String(50) | O | External system’s Rate identifier |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown | C, M | A container object for the reservation price breakdown details | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown | C, M | A container object for the reservation price breakdown details calculated on the basis of the property fees and taxes setup | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices | C, M | A collection of objects containing price information for each day of the reservation | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices@Date | String(10) | M | Daily date (in the YYYY-MM-DD format) for which the price breakdown is displayed |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices/Rent | Decimal(19,2) | M | The value of the base rent for specific day |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices/Taxes | C, M | A collection of taxes for specific DayPrices@Date of the reservation | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices/Taxes/Tax@AlreadyIncluded | Boolean | M | Information if the tax value is included in Rent |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices/Taxes/Tax@Amount | Decimal(19,2) | M | The amount of tax for the particular stay date |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices/Taxes/Tax@Name | String(50) | M | Tax description |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices/Fees | C, M | A collection of fees for specific DayPrices@Date of the reservation | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices/Fees/Fee@AlreadyIncluded | Boolean | M | Information if the fee value is included in Rent |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices/Fees/Fee@Amount | Decimal(19,2) | M | The amount of fee for the particular stay date |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices/Fees/Fee@Name | String(50) | M | Fee description |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/DayPrices/Fees/Tax@FeeTaxType | Integer | M | Type of the tax/fee. Filled for reservations entered after 2021-11-10. See ListAdditionalFeeTypes |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/TotalFeesTaxes/TotalFeeTax@AlreadyIncluded | Boolean | M | Information if the total tax/fee amount of one type is included in Rent |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/TotalFeesTaxes/TotalFeeTax@Amount | Decimal(19,2) | M | The overall value of taxes and fees of the whole stay |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/TotalFeesTaxes/TotalFeeTax@Name | String(50) | M | Tax/fee description |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/TotalFeesTaxes/TotalFeeTax@FeeTaxType | Integer | M | Type of the tax/fee. Filled for reservations entered after 2021-11-10. See ListAdditionalFeeTypes |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/Total | Decimal(19,2) | M | The overall value of rent, fees and taxes of the whole stay |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/RUBreakdown/Rent | Decimal(19,2) | M | The value of rent for the whole stay |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown | C, O | A container object for the reservation price breakdown received from the sales channel. Returned only if there is single StayInfo | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices | C, O | A collection of objects containing price information for each day of the reservation | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices@Date | String(10) | M | Daily date (in the YYYY-MM-DD format) for which the price breakdown is displayed |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/RentInfo | C, O | A collection of rent items for specific DayPrices@Date of the reservation | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/RentInfo/Rent@IncludedInChannelTotal | Boolean | M | Information if the rent value is included in ChannelTotal |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/RentInfo/Rent@Amount | Decimal(19,2) | M | The daily rent value |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/RentInfo/Rent@Currency | String(3) | M | ISO 4217 currency code for the rent amount |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/RentInfo/Rent@Name | String(50) | M | Rent description |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/Taxes | C, O | A collection of taxes for specific DayPrices@Date of the reservation | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/Taxes/Tax@IncludedInChannelTotal | Boolean | M | Information if the tax value is included in ChannelTotal |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/Taxes/Tax@Amount | Decimal(19,2) | M | The amount of tax for the particular stay date |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/Taxes/Tax@Currency | String(3) | M | ISO 4217 currency code for the tax amount |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/Taxes/Tax@Name | String(50) | M | Tax description |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/Fees | C, O | A collection of fees for specific DayPrices@Date of the reservation | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/Fees/Fee@IncludedInChannelTotal | Boolean | M | Information if the fee value is included in ChannelTotal |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/Fees/Fee@Amount | Decimal(19,2) | M | The amount of fee for the particular stay date |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/Fees/Fee@Currency | String(3) | M | ISO 4217 currency code for the fee amount |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/Fees/Fee@Name | String(50) | M | Fee description |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/DayPrices/Price | Decimal(19,2) | M | The sum of all items of a given DayPrice |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/ChannelTotalFeesTaxes | C, M | A container object for fees and taxes applied for the whole stay and the ones that are applied per day | |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/ChannelTotalFeesTaxes/ChannelTotalFeeTax@IncludedInChannelTotal | Boolean | M | Information if the total tax/fee amount of one type is included in ChannelTotal |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/ChannelTotalFeesTaxes/ChannelTotalFeeTax@Amount | Decimal(19,2) | M | The overall value of taxes and fees of the whole stay. The value of a given fee/tax may be grater than the sum of all items with that name in DayPrices, as there can exist a fee/tax with the same name that isn't broken down into days but applies to the whole stay. |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/ChannelTotalFeesTaxes/ChannelTotalFeeTax@Currency | String(3) | M | ISO 4217 currency code for the aggregated fee or tax amount |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/ChannelTotalFeesTaxes/ChannelTotalFeeTax@Name | String(50) | M | Tax/fee description |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/ChannelTotalFeesTaxes/ChannelTotalFeeTax@ItemType | String(3) | M | Information whether the item is a tax or a fee |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/ChannelTotal | Decimal(19,2) | M | The total price paid by the guest for the whole stay as received from the sales channel |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelBreakdown/ChannelRent | Decimal(19,2) | M | The rent value of the whole stay |
| Pull_GetReservationByID_RS/Reservation/StayInfos/StayInfo/ReservationBreakdown/ChannelCommission | Decimal(19,2) | O | The amount charged by the sales channel |
| Pull_GetReservationByID_RS/Reservation/CancellationPolicyInfo | C, O | A container for the cancellation policy description and a collection of cancellation policies | |
| Pull_GetReservationByID_RS/Reservation/CancellationPolicyInfo/PolicyText | String(1000) | M | The cancellation policy description |
| Pull_GetReservationByID_RS/Reservation/CancellationPolicyInfo/CancellationPolicies | C, O | A collection of cancellation policies. Ranges that are not specified by any cancellation policy are fully refundable | |
| Pull_GetReservationByID_RS/Reservation/CancellationPolicyInfo/CancellationPolicies/CancellationPolicy | Decimal(19,2) | O | A percentage of the total price which the guest would be charged. The attributes ValidFrom and ValidTo represent the number of days before the arrival when the policy is valid |
| Pull_GetReservationByID_RS/Reservation/CancellationPolicyInfo/CancellationPolicies/CancellationPolicy@ValidFrom | Integer | O | The start of the range when the cancellation policy is valid, provided in days before the check-in day. @ValidFrom must be lower than or equal to @ValidTo. For example, @ValidFrom= 0 and @ValidTo = 0 indicates that the cancellation policy is valid on the day of the check-in. If @ValidFrom= 0 and @ValidTo = 7, the cancellation policy is valid on the day of check-in and 7 days before. Note that non-specified periods are fully refundable. |
| Pull_GetReservationByID_RS/Reservation/CancellationPolicyInfo/CancellationPolicies/CancellationPolicy@ValidTo | Integer | O | The end of the range when the cancellation policy is valid, provided in days before the check-in day. @ValidTo must be higher than or equal to @ValidFrom. For example, @ValidFrom= 0 and @ValidTo = 0 indicates that the cancellation policy is valid on the day of the check-in. If @ValidFrom= 0 and @ValidTo = 7, the cancellation policy is valid on the day of check-in and 7 days before. Note that non-specified periods are fully refundable. |
| Pull_GetReservationByID_RS/Reservation/CustomerInfo | C, M | Information about the guest | |
| Pull_GetReservationByID_RS/Reservation/CustomerInfo/Name | String(20) | M | Guest's name |
| Pull_GetReservationByID_RS/Reservation/CustomerInfo/SurName | String(30) | M | Guest's surname |
| Pull_GetReservationByID_RS/Reservation/CustomerInfo/Email | String(100) | M | Guest's email address |
| Pull_GetReservationByID_RS/Reservation/CustomerInfo/Phone | String(30) | O | Guest's phone number with the country code |
| Pull_GetReservationByID_RS/Reservation/CustomerInfo/SkypeID | String(50) | O | Guest's Skype ID |
| Pull_GetReservationByID_RS/Reservation/CustomerInfo/Address | String(50) | O | Guest's address |
| Pull_GetReservationByID_RS/Reservation/CustomerInfo/ZipCode | String(15) | O | Guest's zip code |
| Pull_GetReservationByID_RS/Reservation/CustomerInfo/CountryID | Integer | O | Country's unique ID. See ListLocations (filter LocationTypeID=2) for more details. |
| Pull_GetReservationByID_RS/Reservation/CustomerInfo/LanguageID | Integer | O | Code that identifies the guest's language, see ListLanguages |
| Pull_GetReservationByID_RS/Reservation/CustomerInfo/Passport | String(30) | O | Guest's passport number |
| Pull_GetReservationByID_RS/Reservation/GuestDetailsInfo | C, O | A container object for the reservation occupancy details | |
| Pull_GetReservationByID_RS/Reservation/GuestDetailsInfo/NumberOfAdults | Integer | O | Number of adults in the reservation |
| Pull_GetReservationByID_RS/Reservation/GuestDetailsInfo/NumberOfChildren | Integer | O | Number of children in the reservation |
| Pull_GetReservationByID_RS/Reservation/GuestDetailsInfo/NumberOfInfants | Integer | O | Number of infants in the reservation |
| Pull_GetReservationByID_RS/Reservation/GuestDetailsInfo/ChildrenAges | C, O | A container object that lists all children’s and infants' ages | |
| Pull_GetReservationByID_RS/Reservation/GuestDetailsInfo/ChildrenAges/Age | Integer | M | Age of a child or an infant in the reservation |
| Pull_GetReservationByID_RS/Reservation/GuestDetailsInfo/NumberOfPets | Integer | O | Number of pets in the reservation |
| Pull_GetReservationByID_RS/Reservation/Creator | String(50) | M | Email address/Username of an entity that created a reservation, e.g. the channel or the user |
| Pull_GetReservationByID_RS/Reservation/Comments | String(4000) | O | Additional comments |
| Pull_GetReservationByID_RS/Reservation/CreditCard | C, O | Credit card information. This container will not be shown for accounts connected to Stripe. | |
| Pull_GetReservationByID_RS/Reservation/CreditCard/CCNumber | String(19) | M | Credit card number |
| Pull_GetReservationByID_RS/Reservation/CreditCard/CVC | String(4) | O | Credit card security code. It can be viewed only once across the platform. |
| Pull_GetReservationByID_RS/Reservation/CreditCard/NameOnCard | String(400) | M | Credit card holder name |
| Pull_GetReservationByID_RS/Reservation/CreditCard/Expiration | String(7) | M | Credit card expiration date (MM/YYYY format) |
| Pull_GetReservationByID_RS/Reservation/CreditCard/BillingAddress | String(400) | O | Billing address |
| Pull_GetReservationByID_RS/Reservation/CreditCard/CardType | String(30) | M | Credit card provider. Possible values: VISA, MASTERCARD, AMEX, DISCOVER, DINERS, CARTE_BLANCHE, JCB, ENROUTE, JAL, MAESTRO_UK, DELTA, SOLO, VISA_ELECTRON, DANKORT, LASER, CARTE_BLEU, CARTA_SI, MAESTRO_INTERNATIO |
| Pull_GetReservationByID_RS/Reservation/CreditCard/Comments | String(400) | O | Additional comments for this credit card |
| Pull_GetReservationByID_RS/Reservation/CreditCard/IsVirtual | Boolean | M | Indicates whether the card is a virtual credit card. Returns values 'true' or 'false'. |
| Pull_GetReservationByID_RS/Reservation/CreditCard/SecureAuthentication | C, O | Object holding information about 3DS2 payments | |
| Pull_GetReservationByID_RS/Reservation/CreditCard/SecureAuthentication/CAVV | String(48) | O | It is a 3DS2-encoded authorization token. Tokens expire after specified time: 90 days using VISA, 30 days for MASTERCARD and 45 days for AMERICAN EXPRESS. If a payment is charged after checkout and outside the initial expiration timeframe, the token's validity will have to be confirmed with the card processor. |
| Pull_GetReservationByID_RS/Reservation/CreditCard/SecureAuthentication/ECI | String(2) | O | Indicator stating whether the transaction was processed electronically. Possible codes: 02 or 05 - Fully authenticated transaction, 01 or 06 - Attempted authentication transaction, 00 or 07 - Non-3DS transaction |
| Pull_GetReservationByID_RS/Reservation/CreditCard/SecureAuthentication/XID | String(40) | O | Encoded "transactionId" |
| Pull_GetReservationByID_RS/Reservation/CreditCard/SecureAuthentication/DsTransID | UUID | O | Unique transaction ID assigned by the DS (Directory Server) - required for MASTERCARD |
| Pull_GetReservationByID_RS/Reservation/CreditCard/SecureAuthentication/ThreeDSVersion | String(5) | O | A 3DS version used while processing the transaction. Possible values are: 1.0.2, 2.1.0, and 2.2.0. - required for MASTERCARD. |
| Pull_GetReservationByID_RS/Reservation/CreditCard/SecureAuthentication/ExceptionType | String(40) | O | Explains the reason why 3DS2 authentication was by-passed. This element is optional. However, if it is included, please pass this information to the payment processor in order to explain that authentication was exempt. |
| Pull_GetReservationByID_RS/Reservation/CreditCard/VirtualCreditCard | C, O | Virtual credit card information. This container will not be shown if 'CreditCard/IsVirtual' field is set to false. | |
| Pull_GetReservationByID_RS/Reservation/CreditCard/VirtualCreditCard/Balance | Decimal(18,2) | O | Represents the current available funds on the virtual credit card. When 'Balance' is returned, 'Currency' will be also returned. |
| Pull_GetReservationByID_RS/Reservation/CreditCard/VirtualCreditCard/Currency | String(3) | O | ISO 4217 currency code of the available card balance. Returned together with Balance. |
| Pull_GetReservationByID_RS/Reservation/CreditCard/VirtualCreditCard/ActivationDate | String | O | The date when the card becomes active, in the YYYY-MM-DD format. |
| Pull_GetReservationByID_RS/Reservation/CreditCard/VirtualCreditCard/ExpirationDate | String | O | The date when the card expires, in the YYYY-MM-DD format. |
| Pull_GetReservationByID_RS/Reservation/CreditCard/DetailedBillingAddress | C, O | Detailed billing address | |
| Pull_GetReservationByID_RS/Reservation/CreditCard/DetailedBillingAddress/Country | String(100) | M | Country |
| Pull_GetReservationByID_RS/Reservation/CreditCard/DetailedBillingAddress/City | String(100) | M | City |
| Pull_GetReservationByID_RS/Reservation/CreditCard/DetailedBillingAddress/State | String(100) | O | State |
| Pull_GetReservationByID_RS/Reservation/CreditCard/DetailedBillingAddress/Street | String(400) | M | Street |
| Pull_GetReservationByID_RS/Reservation/CreditCard/DetailedBillingAddress/ZipCode | String(20) | M | Zip code |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo | C, O | Container holding a masked summary of the credit card. This container is returned instead of the full CreditCard object when the user does not have permission to view full credit card details. | |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/Last4 | String(4) | M | The last 4 digits of the credit card number. |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/IsVirtual | Boolean | M | Indicates whether the card is a virtual credit card. |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/CardType | String(30) | M | Credit card provider. Possible values: VISA, MASTERCARD, AMEX, DISCOVER, DINERS, CARTE_BLANCHE, JCB, ENROUTE, JAL, MAESTRO_UK, DELTA, SOLO, VISA_ELECTRON, DANKORT, LASER, CARTE_BLEU, CARTA_SI, MAESTRO_INTERNATIO. |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/ExpirationDate | String(7) | O | Credit card expiration date (MM/YYYY format). This field is returned for standard credit cards (when 'IsVirtual' is false). |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/DateEntered | String(19) | O | The date and time when the credit card was entered into the system, in the YYYY-MM-DD HH:mm:ss format. |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/VccActivationDate | String(19) | O | The date and time when the virtual credit card becomes active, in the YYYY-MM-DD HH:mm:ss format. This field is only returned if 'IsVirtual' is true. |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/VccExpirationDate | String(19) | O | The expiration date and time of the virtual credit card, in the YYYY-MM-DD HH:mm:ss format. This field is only returned if 'IsVirtual' is true. |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/DetailedBillingAddress | C, O | Detailed billing address | |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/DetailedBillingAddress/Country | String(100) | M | Country |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/DetailedBillingAddress/City | String(100) | M | City |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/DetailedBillingAddress/State | String(100) | O | State |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/DetailedBillingAddress/Street | String(400) | M | Street |
| Pull_GetReservationByID_RS/Reservations/Reservation/CreditCardPartialInfo/DetailedBillingAddress/ZipCode | String(20) | M | Zip code |
| Pull_GetReservationByID_RS/Reservation/PMSReservationId | String(100) | O | PMS Reservation ID |
| Pull_GetReservationByID_RS/Reservation/Reservation/CancelTypeID | Integer | O | Cancellation type. See List cancellation types |
| Pull_GetReservationByID_RS/Reservation/IsArchived | Boolean | M | Indicates whether reservation is archived |