BOOKING LIST
Method DestServicesBookingListV2
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesBookingListV2
Node definition Request
| Node | Attribute | Data Type | Description | Value | Mandatory |
|---|---|---|---|---|---|
| DestServicesCancelV2\objRequest\DateFilters\OpeningDate | Filter by booking opening date (date on which the booking was made). Both the start and end date must be indicated. | Optional | |||
| DestServicesCancelV2\objRequest\DateFilters\OpeningDate\StartDate | Date | Start date of the filter. | Required | ||
| DestServicesCancelV2\objRequest\DateFilters\OpeningDate\EndDate | Date | End date of the filter. | Required | ||
| DestServicesCancelV2\objRequest\DateFilters\BookingStartDate | Filter by booking start date (first start date of the services of the booking). Both the start and end date must be indicated. | Optional | |||
| DestServicesCancelV2\objRequest\DateFilters\BookingStartDate\StartDate | Date | Start date of the filter. | Required | ||
| DestServicesCancelV2\objRequest\DateFilters\BookingStartDate\EndDate | Date | End date of the filter. | Required | ||
| DestServicesCancelV2\objRequest\DateFilters\BookingEndDate | Filter by booking finish date (last finish date of the services of the booking). Both the start and end date must be indicated. | Optional | |||
| DestServicesCancelV2\objRequest\DateFilters\BookingEndDate\StartDate | Date | Start date of the filter. | Required | ||
| DestServicesCancelV2\objRequest\DateFilters\BookingEndDate\EndDate | Date | End date of the filter. | Required | ||
| DestServicesCancelV2\objRequest\DateFilters\LastModificationDate | Filter by last modification date of the booking (last change made in the booking). Both the start and end date must be indicated. | Optional | |||
| DestServicesCancelV2\objRequest\DateFilters\LastModificationDate\StartDate | Date | Start date of the filter. | Required | ||
| DestServicesCancelV2\objRequest\DateFilters\LastModificationDate\EndDate | Date | End date of the filter. | Required | ||
| DestServicesCancelV2\objRequest\TransactionIdentifier | String | Locator of the requested booking | Optional | ||
| DestServicesCancelV2\objRequest\ClientReference | String | ClientReference of the requested booking | Optional |
Node definition Response
| Node | Attribute | Data Type | Description | Value | Mandatory |
|---|---|---|---|---|---|
| DestServicesBookingListV2Result\Bookings | Array | Array of booking items | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader | Booking item | Optional | |||
| DestServicesBookingListV2Result\Bookings\BookingHeader\TransactionIdentifier | String | Locator of the booking | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\BookingCode | String | Internal code of the booking | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\OpeningDate | Date | Date on which the booking was made | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\BookingDescription | String | Description of the first service of the booking | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\BookingStartDate | Date | First start date of the services of the booking | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\BookingEndDate | Date | Last finish date of the services of the booking | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\LastModificationDate | Date | Date of the last change made in the booking | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\CurrencyCode | String | Currency code | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\Currency | String | Currency name | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\ResResponseType | String | State of the booking | Commited / Cancelled / Pending / Rejected | Optional | |
| DestServicesBookingListV2Result\Bookings\BookingHeader\PrimaryLangID | String | Code of the language with was made the booking | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\Language | String | Name of the language with was made the booking | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\ConsumedDate | Date | Date on which the booking has been consumed | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\NetAmount | Decimal | Net amount | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\SalesAmount | Decimal | Amount for selling | Optional | ||
| DestServicesBookingListV2Result\Bookings\BookingHeader\ClientReference | String | Client reference of the booking | Optional |
XML Examples
DestServicesBookingListV2 REQUEST example
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<DestServicesBookingListV2 xmlns="http://xml.ineedtours.com/ws/">
<objCredentials>
<Source>
<RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/>
</Source>
</objCredentials>
<objRequest>
<DateFilters>
<OpeningDate>
<StartDate>2023-11-15</StartDate>
<EndDate>2023-11-30</EndDate>
</OpeningDate>
<BookingStartDate>
<StartDate>2023-12-09</StartDate>
<EndDate>2023-12-31</EndDate>
</BookingStartDate>
<BookingEndDate>
<StartDate>2023-12-10</StartDate>
<EndDate>2023-12-12</EndDate>
</BookingEndDate>
<LastModificationDate>
<StartDate>2023-11-20</StartDate>
<EndDate>2023-11-21T18:00:00</EndDate>
</LastModificationDate>
</DateFilters>
NGRWN7
<ClientReference>TEST_230718_1534</ClientReference>
</objRequest>
</DestServicesBookingListV2>
</soap:Body>
</soap:Envelope>
DestServicesBookingListV2 RESPONSE example
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<DestServicesBookingListV2Response xmlns="http://xml.ineedtours.com/ws/">
<DestServicesBookingListV2Result>
<Header ResponseTimestamp="2023-12-14T12:55:56.8154594+01:00" MillisecondProcessingTime="236" Endpoint="demo.xml.com" />
<Bookings>
<BookingHeader>
NGRWN7
<BookingCode>2025518</BookingCode>
<OpeningDate>2023-11-20T17:12:00</OpeningDate>
<BookingDescription>ACTIVIDAD 3</BookingDescription>
<BookingStartDate>2023-12-09T00:00:00</BookingStartDate>
<BookingEndDate>2023-12-11T00:00:00</BookingEndDate>
<LastModificationDate>2023-11-20T17:30:00</LastModificationDate>
<CurrencyCode>EUR</CurrencyCode>
<Currency>Euro</Currency>
<ResResponseType>Cancelled</ResResponseType>
<PrimaryLangID>CAS</PrimaryLangID>
<Language>Castellano</Language>
<ConsumedDate xsi:nil="true" />
<NetAmount>0.000</NetAmount>
<SalesAmount>0.000</SalesAmount>
<ClientReference>TEST_230718_1534</ClientReference>
</BookingHeader>
</Bookings>
</DestServicesBookingListV2Result>
</DestServicesBookingListV2Response>
</soap:Body>
</soap:Envelope>