XML Interface
In the XML interface we have several queries to make the connection of your system with the services in the destination provided by our customers.
The discovery of the methods and the WSDL definition is available for each integration.
To obtain access credentials, please contact with us.
XML Format
The Dispongo interface works with XML messages, so you send an XML request and the dispongo system returns an XML response. The XML messages that are sent to the servers of Dispongo must be sent by POST to the URLs indicated in the mail that they will receive as soon as they have access to the system.
Previous requirements
Before allowing the connection to the system, it is necessary that you have a "user" and a "password" that you identify in the system. Once you are in possession of these data, it is necessary that you provide us with the IP addresses that will be used for the Development environment. These IPs should be sent to the email address xml@dispongo.com indicating in the e-mail the user with whom the IPs should be related.
Once the integration in the development environment, you will be provided with a test that must be completed correctly and returned to us to verify that the integration has been completed correctly. As soon as it is verified that the test results are correct, we will proceed to notify you and request the IPs from which you will connect to the Production environment.
Your server connect IP should be provided to us following our integration security policy.
To obtain access to the server, please contact with us.
Versions
Version | Description |
---|---|
2019-12-11 |
|
2020-03-04 |
|
2020-04-01 |
|
2020-11-30 |
|
2021-09-10 |
|
2021-10-06 |
|
2021-10-20 |
|
2022-02-09 |
|
2022-09-01 |
|
2022-09-22 |
|
2023-01-03 |
|
2023-03-29 |
|
2023-04-18 |
|
2023-05-23 |
|
2023-09-13 |
|
2023-12-05 |
|
2023-12-19 |
|
2024-02-06 |
|
2024-03-01 |
|
2024-03-05 |
|
2024-04-10 |
|
2024-06-07 |
|
Connection tests
You can import the workspace of this webservice to Postman and starts to work directly with a tested structures of requests.
One time imported, you need change the environment variables with the values provided by the supplier:
Authentication
In every call to the XML service the corresponding authentication node must be included, so that the system can identify it. This node is objCredentials / Source and should indicate the following values:
Sample XML for calls with authentication
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/">
<soapenv:Header/>
<soapenv:Body>
<ws:XMLMETHOD>
<ws:objCredentials>
<ws:Source>
<ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/>
</ws:Source>
</ws:objCredentials>
</ws:XMLMETHOD>
</soapenv:Body>
</soapenv:Envelope>
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objCredentials\Source\RequestorID | Type |
String | System to connect | Fixed value DSP that identifies the system Dispongo | Required |
objCredentials\Source\RequestorID | ID |
String | User to connect | Provided by your provider | Required |
objCredentials\Source\RequestorID | MessagePassword |
String | Password to connect | Provided by your provider | Required |
Methods
The web service where the calls are specified is: {YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx
Below you can see the functionality of each of the messages available in the dispongo interface:
XML methods
All calls to XML methods must be made through POST to the URL of each of them.
POST {YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx
Action | Method | Description |
---|---|---|
GET AVAILABILITY | DestServicesAvailV2 | List of products and their availability |
ADD BOOKING | DestServicesBookV2 | Add a service to a reservation |
CONFIRM BOOKING | DestServicesCommitV2 | Confirm the services of a reservation |
GET BOOKING DATA | DestServicesReadV2 | Retrieve data from a reservation |
GET CANCEL FEE | DestServicesCancellationFeesV2 | Obtain cancellation fees for a reservation |
CANCEL BOOKING | DestServicesCancelV2 | Cancel a reservation |
STATIC DATA | DestServicesStaticDataV2 | Get static data needed to reserve |
General notes
Wrong PrimaryLangID: If the language code sent in the attribute "PrimaryLangID" is wrong, the response are returned in spanish.
DestServicesAvailV2
To obtain a list of products with their corresponding prices, this method should be used. It also provides all the necessary complementary information both to show the products correctly and to make the reservation of one of them.
Types of services * Check with your provider the types of services available
Code | Description |
---|---|
A |
Activities |
ABN |
Subscriptions |
C |
Classes |
EV2 |
Tickets (v2) |
F |
Forfait |
OS |
Other services |
R |
Restaurant |
S |
Insurances |
T |
Transfers |
TTO |
Treatments |
X |
Tours |
Activities
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
objRequest\ServiceType | String | Service type code | SERVICE TYPE | Required | |
objRequest\ProductTypeCode | String | Product type code | PRODUCTTYPE | Optional | |
objRequest\ProductSubTypeCode | String | Product subType code | PRODUCTSUBTYPE | Optional | |
objRequest\SectorCode | String | Location code | LOCATION | Optional | |
objRequest\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\ProductCodes | Array | Array of product codes (To send a multiproduct request) | Optional | ||
objRequest\ProductCodes\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\DestinationCodes | Array | Array of destination codes | Optional | ||
objRequest\DestinationCodes\DestinationCode | String | Destination code | DESTINATION | Optional | |
objRequest\RateCode | String | Rate code | * Ask to your provider to obtain Rate code | Optional | |
objRequest\ThemeCode | String | Theme code | THEME | Optional | |
objRequest\StayDateRange | Date information | Required | |||
objRequest\StayDateRange | Start |
Date | Date from | YYYY-MM-DD | Required |
objRequest\StayDateRange | End |
Date | Date to | YYYY-MM-DD | Required |
objRequest\DataOptions | General options | Optional | |||
objRequest\DataOptions\Contents | Boolean | Get product and concept descriptions | true/false | Optional | |
objRequest\DataOptions\Images | Boolean | Get product and concept images | true/false | Optional | |
objRequest\DataOptions\Attributes | Boolean | Get product and concept attributes | true/false | Optional |
Node definition Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Products | Array | Array of products | Required | ||
AvailResponseV2Product | Content of product data | Required | |||
Products/AvailResponseV2Product/ProductCode | Integer | Product code | Required | ||
Products/AvailResponseV2Product/ProductName | String | Product name | Required | ||
Products/AvailResponseV2Product/ProductDescription | Integer | Text description product | Required | ||
Products/AvailResponseV2Product/ProductCategory | String | Category name | PRODUCTTYPE | Required | |
Products/AvailResponseV2Product/ProductDays | Integer | Product duration | Required | ||
Products/AvailResponseV2Product/PriceFrom | Information about minimum price | Required | |||
Products/AvailResponseV2Product/PriceFrom | CurrencyCode |
String | Currecy Code | CURRENCY | Required |
ProductBookingCode | Integer | Code for add to cart this product | Required | ||
AvailResponseV2Product/Concepts | Array | Array of concepts | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept | Content of concept data | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptCode | Integer | Code concept | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptName | String | Concept name | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptDescription | String | Concept text description | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptBookingCode | String | Code for add this concept to cart | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/TypeCode | Integer | Concept type | CONCEPTTYPE | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MinimalUnits | Integer | Number of min units. If null, no restriction is applied | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MaximumUnits | Integer | Number of max units. If null, no restriction is applied | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeFrom | Integer | Minumum age for ocupancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeTo | Integer | Maximum age for ocuppancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/IsChild | boolean | Only for child | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details | Array | Array of concept information | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailName |
String | Detail name | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailBookingCode |
String | Detail code for add to cart | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Date |
Date | Date of service | YYYY-MM-DD | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | OnRequest |
Boolean | Need manual confirmation (on request) | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Offer |
Boolean | Is offer | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total | Price information detail | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | Amount |
Decimal | Total amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | CurrencyCode |
String | Currency code | CURRENCY | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | NumDecimals |
Integer | Number of decimals | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | Commission information | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | SellingPrice |
Decimal | Amount for selling | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionableAmount |
Decimal | Comisionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NotCommissionableAmount |
Decimal | No commissionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionAmount |
Decimal | Commision amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NetAmount |
Decimal | Net amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/IsOptional | Boolean | If this node is "true", the detail not is included and you need specify in the DestServicesBookV2 the quantity to book them. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/PerPerson | Boolean | Indicates if the detail is per person. Otherwise, it applies to the entire reservation. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/SectorCode | Integer | Sector code | Optional | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability | Array | Array of booking information | Optional | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Date |
Date | Date | YYYY-MM-AA | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Available |
Boolean | Available | true/false | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Hour |
String | Hour | --:-- | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Availability |
String | State of the availability: OPENSALE: Option opened to the sales without quota. QUOTA: Option opened to the sales with limitation of quota. ONREQUEST: Option opened but without online confirmation. NOTAVAILABLE: Option not available. CLOSEDSALE: Option not available. | OPENSALE / QUOTA / ONREQUEST / NOTAVAILABLE / CLOSEDSALE | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail/Languages | Array | Array of available languages for the current availability | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail/Languages/AvailResponseV2Language | LangID |
Integer | Code of the available language | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail/Languages/AvailResponseV2Language | Language |
String | Name of the available language | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Languages | Array | Array of available languages for the concept | Optional | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Languages/AvailResponseV2Language | LangID |
Integer | Code of the available language | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Languages/AvailResponseV2Language | Language |
String | Name of the available language | Required | |
AvailResponseV2Product/SectorMandatory | Boolean | Indicate if is mandatory send the sector in the DestServicesBookV2 method. | true/false | Optional | |
AvailResponseV2Product/Sectors | Array | Array of available sectors | Optional | ||
AvailResponseV2Product/Sectors/Sector | Sector Item | Required | |||
AvailResponseV2Product/Sectors/Sector | Code |
String | Code of the sector | Required | |
AvailResponseV2Product/Sectors/Sector | Name |
String | Name of the sector | Required | |
AvailResponseV2Product/Sectors/Sector/AvailableDates | Array | Array of available dates for the sector | Optional | ||
AvailResponseV2Product/Sectors/Sector/AvailableDates/AvailableDate | String | Available date for the sector | Optional | ||
AvailResponseV2Product/Images | Array | Array of images | Optional | ||
AvailResponseV2Product/Images/AvailResponseV2Image | Content of image data | Optional | |||
AvailResponseV2Product/Images/AvailResponseV2Image/URL | String | URL image | Optional |
XML Examples
-
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesAvailV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest PrimaryLangID="IDLANGUAGE"> <ws:ServiceType>A</ws:ServiceType> <ws:StayDateRange Start="YYYY-MM-DD" End="YYYY-MM-DD"/> </ws:objRequest> </ws:DestServicesAvailV2> </soapenv:Body> </soapenv:Envelope>
-
<?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> <DestServicesAvailV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesAvailV2Result EchoToken="382" PrimaryLangID="ES"> <Header ResponseTimestamp="2019-01-10T13:03:01.5659238+01:00" MillisecondProcessingTime="10884" Endpoint="demo.xml.com"/> <Products> <AvailResponseV2Product> <ProductCode>1349</ProductCode> <ProductName>ACTIVIDAD 3</ProductName> <ProductDescription/> <ProductCategory>Vela</ProductCategory> <ProductDays>1</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>15.0000</Price> </PriceFrom> <ProductBookingCode>2</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>1441</ConceptCode> <ConceptName>Estudiante</ConceptName> <ConceptDescription>Estudiante</ConceptDescription> <ConceptBookingCode>1349/1930/959/144112161/sd</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>18</AgeFrom> <AgeTo>25</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>Estudiante</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date>2019-01-19T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="25.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>25.0000</SellingPrice> <CommissionableAmount>25.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>25.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>Estudiante</DetailName> <DetailBookingCode>2</DetailBookingCode> <Date>2019-01-20T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="25.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>25.0000</SellingPrice> <CommissionableAmount>25.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>25.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <BookOptions> <Availability> <AvailResponseV2Avail Date="2019-01-19T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> <AvailResponseV2Avail Date="2019-01-20T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> </Availability> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </BookOptions> </AvailResponseV2Concept> <AvailResponseV2Concept> <ConceptCode>1517</ConceptCode> <ConceptName>Infantil</ConceptName> <ConceptDescription>Infantil</ConceptDescription> <ConceptBookingCode>1349/1937/964/151712194/s</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>0</AgeFrom> <AgeTo>2</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>Infantil</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date>2019-01-19T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="15.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>15.0000</SellingPrice> <CommissionableAmount>15.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>15.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <BookOptions> <Availability> <AvailResponseV2Avail Date="2019-01-19T00:00:00" Available="0" Hour="17:00" Availability="OPENSALE"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> </Languages> </AvailResponseV2Avail> </Availability> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> </Languages> </BookOptions> </AvailResponseV2Concept> <AvailResponseV2Concept> <ConceptCode>1509</ConceptCode> <ConceptName>Jubilado</ConceptName> <ConceptDescription>Jubilado</ConceptDescription> <ConceptBookingCode>1349/1930/951/150912161/sd</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>0</AgeFrom> <AgeTo>99</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>Jubilado</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date>2019-01-19T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="58.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>58.0000</SellingPrice> <CommissionableAmount>58.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>58.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>Jubilado</DetailName> <DetailBookingCode>2</DetailBookingCode> <Date>2019-01-20T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="58.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>58.0000</SellingPrice> <CommissionableAmount>58.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>58.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>Jubilado</DetailName> <DetailBookingCode>3</DetailBookingCode> <Date>2019-01-19T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="58.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>58.0000</SellingPrice> <CommissionableAmount>58.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>58.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>Jubilado</DetailName> <DetailBookingCode>4</DetailBookingCode> <Date>2019-01-20T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="58.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>58.0000</SellingPrice> <CommissionableAmount>58.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>58.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <BookOptions> <Availability> <AvailResponseV2Avail Date="2019-01-19T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> <AvailResponseV2Avail Date="2019-01-19T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> <AvailResponseV2Avail Date="2019-01-20T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> <AvailResponseV2Avail Date="2019-01-20T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> </Availability> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </BookOptions> </AvailResponseV2Concept> </Concepts> </AvailResponseV2Product> <AvailResponseV2Product> <ProductCode>1457</ProductCode> <ProductName>ACTIVIDAD 3 - copy 2</ProductName> <ProductDescription/> <ProductCategory>Vela</ProductCategory> <ProductDays>1</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>25.0000</Price> </PriceFrom> <ProductBookingCode>9</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>1515</ConceptCode> <ConceptName>Estudiante</ConceptName> <ConceptDescription>Estudiante</ConceptDescription> <ConceptBookingCode>1457/1936/959/151512189/sd</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>18</AgeFrom> <AgeTo>25</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>Estudiante</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date>2019-01-19T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="25.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>25.0000</SellingPrice> <CommissionableAmount>25.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>25.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>Estudiante</DetailName> <DetailBookingCode>2</DetailBookingCode> <Date>2019-01-20T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="25.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>25.0000</SellingPrice> <CommissionableAmount>25.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>25.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <BookOptions> <Availability> <AvailResponseV2Avail Date="2019-01-19T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> <AvailResponseV2Avail Date="2019-01-20T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> </Availability> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </BookOptions> </AvailResponseV2Concept> <AvailResponseV2Concept> <ConceptCode>1516</ConceptCode> <ConceptName>Jubilado</ConceptName> <ConceptDescription>Jubilado</ConceptDescription> <ConceptBookingCode>1457/1936/951/151612189/sd</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>0</AgeFrom> <AgeTo>99</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>Jubilado</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date>2019-01-19T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="58.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>58.0000</SellingPrice> <CommissionableAmount>58.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>58.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>Jubilado</DetailName> <DetailBookingCode>2</DetailBookingCode> <Date>2019-01-20T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="58.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>58.0000</SellingPrice> <CommissionableAmount>58.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>58.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>Jubilado</DetailName> <DetailBookingCode>3</DetailBookingCode> <Date>2019-01-19T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="58.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>58.0000</SellingPrice> <CommissionableAmount>58.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>58.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>Jubilado</DetailName> <DetailBookingCode>4</DetailBookingCode> <Date>2019-01-20T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="58.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>58.0000</SellingPrice> <CommissionableAmount>58.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>58.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <BookOptions> <Availability> <AvailResponseV2Avail Date="2019-01-19T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> <AvailResponseV2Avail Date="2019-01-19T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> <AvailResponseV2Avail Date="2019-01-20T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> <AvailResponseV2Avail Date="2019-01-20T00:00:00" Available="10" Hour="18:00" Availability="QUOTA"> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </AvailResponseV2Avail> </Availability> <Languages> <AvailResponseV2Language LangID="1" Language="Español"/> <AvailResponseV2Language LangID="5" Language="Inglés"/> <AvailResponseV2Language LangID="6" Language="Italiano"/> </Languages> </BookOptions> </AvailResponseV2Concept> </Concepts> </AvailResponseV2Product> </Products> </DestServicesAvailV2Result> </DestServicesAvailV2Response> </soap:Body> </soap:Envelope>
Classes
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
objRequest\ServiceType | String | Service type code | SERVICE TYPE | Required | |
objRequest\ProductTypeCode | String | Product type code | PRODUCTTYPE | Optional (* Mandatory for private classes) | |
objRequest\ProductSubTypeCode | String | Product subType code | PRODUCTSUBTYPE | Optional | |
objRequest\SectorCode | String | Location code | LOCATION | Optional (* Mandatory for private classes) | |
objRequest\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\ProductCodes | Array | Array of product codes (To send a multiproduct request) | Optional | ||
objRequest\ProductCodes\ProductCode | String | Product code | PRODUCT | Optional (* Mandatory for private classes) | |
objRequest\RateCode | String | Rate code | * Ask to your provider to obtain Rate code | Optional | |
objRequest\ThemeCode | String | Theme code | THEME | Optional | |
objRequest\Occupations | Array | Array of occupations | Optional | ||
objRequest\Occupations\AvailRequestV2Occupation | Occupation information | Required | |||
objRequest\Occupations\AvailRequestV2Occupation\Type | String | Type of occupation: Adult or Child | ADL or CHL | Required | |
objRequest\Occupations\AvailRequestV2Occupation\Age | Integer | Age | Required | ||
objRequest\StayDateRange | Date information | Required | |||
objRequest\StayDateRange | Start |
Date | Date from | YYYY-MM-DD | Required |
objRequest\StayDateRange | End |
Date | Date to (in classes, the End Date must be the same as the Start Date) | YYYY-MM-DD | Required |
objRequest\ClassOptions | Options to filter the private classes. This is ignored for a collective classes. | Optional | |||
objRequest\ClassOptions\HoursPerDay | Integer | Daily hours of the class | Optional (* Mandatory for private classes) | ||
objRequest\ClassOptions\MonitorLevelCode | Integer | Code of the level of the class | Optional (* Mandatory for private classes) | ||
objRequest\ClassOptions\MonitorStyleCode | Integer | Code of the style of the class | Optional (* Mandatory for private classes) | ||
objRequest\ClassOptions\MonitorLanguageCode | Integer | Code of the language of the class | Optional (* Mandatory for private classes) | ||
objRequest\ClassOptions\MonitorCode | Integer | Code of the monitor of the class | Optional | ||
objRequest\DataOptions | General options | Optional | |||
objRequest\DataOptions\Contents | Boolean | Get product and concept descriptions | true/false | Optional | |
objRequest\DataOptions\Images | Boolean | Get product and concept images | true/false | Optional | |
objRequest\DataOptions\Attributes | Boolean | Get product and concept attributes | true/false | Optional |
Node definition Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Products | Array | Array of products | Required | ||
AvailResponseV2Product | Content of product data | Required | |||
Products/AvailResponseV2Product/ProductCode | Integer | Product code | Required | ||
Products/AvailResponseV2Product/ProductName | String | Product name | Required | ||
Products/AvailResponseV2Product/ProductDescription | Integer | Text description product | Required | ||
Products/AvailResponseV2Product/ProductCategory | String | Category name | PRODUCTTYPE | Required | |
Products/AvailResponseV2Product/ProductDays | Integer | Product duration | Required | ||
Products/AvailResponseV2Product/PriceFrom | Information about minimum price | Required | |||
Products/AvailResponseV2Product/PriceFrom | CurrencyCode |
String | Currecy Code | CURRENCY | Required |
ProductBookingCode | Integer | Code for add to cart this product | Required | ||
AvailResponseV2Product/Concepts | Array | Array of concepts | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept | Content of concept data | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptCode | Integer | Code concept | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptName | String | Concept name | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptDescription | String | Concept text description | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptBookingCode | String | Code for add this concept to cart | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MinimalUnits | Integer | Number of min units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MaximumUnits | Integer | Number of max units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeFrom | Integer | Minumum age for ocupancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeTo | Integer | Maximum age for ocuppancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/IsChild | boolean | Only for child | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details | Array | Array of concept information | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailName |
String | Detail name | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailBookingCode |
String | Detail code for add to cart | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Date |
Date | Date of service | YYYY-MM-DD | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | OnRequest |
Boolean | Need manual confirmation (on request) | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Offer |
Boolean | Is offer | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total | Price information detail | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | Amount |
Decimal | Total amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | CurrencyCode |
String | Currency code | CURRENCY | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | NumDecimals |
Integer | Number of decimals | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | Commission information | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | SellingPrice |
Decimal | Amount for selling | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionableAmount |
Decimal | Comisionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NotCommissionableAmount |
Decimal | No commissionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionAmount |
Decimal | Commision amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NetAmount |
Decimal | Net amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/IsOptional | Boolean | If this node is "true", the detail not is included and you need specify in the DestServicesBookV2 the quantity to book them. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/PerPerson | Boolean | Indicates if the detail is per person. Otherwise, it applies to the entire reservation. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability | Array | Array of booking information | Optional | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Date |
Date | Date | YYYY-MM-AA | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Available |
Boolean | Available | true/false | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Hour |
String | Hour | --:-- | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Availability |
STRING | State of the availability: OPENSALE: Option opened to the sales without quota. QUOTA: Option opened to the sales with limitation of quota. ONREQUEST: Option opened but without online confirmation. NOTAVAILABLE: Option not available. CLOSEDSALE: Option not available. | OPENSALE / QUOTA / ONREQUEST / NOTAVAILABLE / CLOSEDSALE | Required |
AvailResponseV2Product/Sectors | Array | Array of available sectors | Optional | ||
AvailResponseV2Product/Sectors/Sector | Sector Item | Required | |||
AvailResponseV2Product/Sectors/Sector | Code |
String | Code of the sector | Required | |
AvailResponseV2Product/Sectors/Sector | Name |
String | Name of the sector | Required | |
AvailResponseV2Product/Sectors/Sector/AvailableDates | Array | Array of available dates for the sector | Optional | ||
AvailResponseV2Product/Sectors/Sector/AvailableDates/AvailableDate | String | Available date for the sector | Optional | ||
AvailResponseV2Product/Images | Array | Array of images | Optional | ||
AvailResponseV2Product/Images/AvailResponseV2Image | Content of image data | Optional | |||
AvailResponseV2Product/Images/AvailResponseV2Image/URL | String | URL image | Optional |
XML Examples
-
<?xml version="1.0" encoding="UTF-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <DestServicesAvailV2 xmlns="http://xml.dispongo.com/ws/"> <objCredentials> <Source> <RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </Source> </objCredentials> <objRequest PrimaryLangID="IDLANGUAGE"> <ServiceType>C</ServiceType> <StayDateRange Start="YYYY-MM-DD" End="YYYY-MM-DD"/> <Occupations> <AvailRequestV2Occupation> <Type>ADL</Type> <Age>35</Age> </vailRequestV2Occupation> <AvailRequestV2Occupation> <Type>ADL</Type> <Age>34</Age> </AvailRequestV2Occupation> <AvailRequestV2Occupation> <Type>CHL</Type> <Age>6</Age> </AvailRequestV2Occupation> </Occupations> <ClassOptions> <HoursPerDay>3</HoursPerDay> <MonitorLevelCode>1</MonitorLevelCode> <MonitorStyleCode>1</MonitorStyleCode> <MonitorLanguageCode>2</MonitorLanguageCode> <MonitorCode>5421</MonitorCode> </ws:ClassOptions> </objRequest> </DestServicesAvailV2> </s:Body> </s:Envelope>
-
<?xml version="1.0" encoding="UTF-8"?> <AvailResponseV2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" EchoToken="24079697" PrimaryLangID="CAS"> <Header ResponseTimestamp="2019-01-08T12:35:15.5605885+01:00" MillisecondProcessingTime="7726" Endpoint="demo.xml.com"/> <Products> <AvailResponseV2Product> <ProductCode>118925</ProductCode> <ProductName>COLECTIVAS FIN DE SEMANA SNOWBOARD</ProductName> <ProductDescription><p>Las clases colectivas son clases grupales para clientes de diferentes nacionalidades. Siempre que sea posible, la escuela impartirá el curso en los idiomas pertinentes.</p> <p>No podemos asegurar el idioma seleccionado por parte del cliente. Sin embargo, con el fin de garantizar un monitor en el idioma deseado, se recomienda contratar la modalidad de clases particulares.</p> <p><strong>OBSERVACIONES:</strong> Servicio para Sábado y Domingo. 3 horas al día.<br /><br />El cliente deberá presentarse en la escuela 30 minutos antes del horario confirmado en el momento de la compra. En caso de que el horario no esté confirmado, será obligatorio presentarse en la escuela antes de las 10h de la mañana.</p> <p><strong>IMPORTANTE:</strong></p> <p>· Estos servicios no incluyen el Forfait. Inicio del Servicio: los Sabados.<br /><br /></p> <p><strong>TIPOLOGÍAS:<br /></strong>ADULTO - JUNIOR : a partir de 12 años<br />*para niños solo esta disponible con modalidad esquí.</p></ProductDescription> <ProductCategory>CLASES COLECTIVAS SNOWBOARD</ProductCategory> <ProductImage>https://demo.xml.com/V05/img/dsp/Alojamientos/118926/118926_1006853.jpg</ProductImage> <ProductDays>2</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>80.0000</Price> </PriceFrom> <ProductBookingCode>49</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>1564</ConceptCode> <ConceptName>CLASES COLECTIVAS 6H CAP DE SETMANA ADULTO/JUNIOR</ConceptName> <ConceptDescription>CLASES COLECTIVAS 6H CAP DE SETMANA ADULTO/JUNIOR</ConceptDescription> <ConceptBookingCode>118925/854/49242489/1564</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>12</AgeFrom> <AgeTo>70</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>CLASES COLECTIVAS 6H CAP DE SETMANA ADULTO/JUNIOR</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date>2019-01-26T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="80.0000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>80.0000</SellingPrice> <CommissionableAmount>80.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>80.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <Transfer xsi:nil="true"/> </AvailResponseV2Concept> </Concepts> </AvailResponseV2Product> <AvailResponseV2Product> <ProductCode>118926</ProductCode> <ProductName>COLECTIVAS FIN DE SEMANA SNOWBOARD</ProductName> <ProductDescription><p>Las clases colectivas son clases grupales para clientes de diferentes nacionalidades. Siempre que sea posible, la escuela impartirá el curso en los idiomas pertinentes.</p> <p>No podemos asegurar el idioma seleccionado por parte del cliente. Sin embargo, con el fin de garantizar un monitor en el idioma deseado, se recomienda contratar la modalidad de clases particulares.</p> <p><strong>OBSERVACIONES:</strong> Servicio para Sábado y Domingo. 3 horas al día.<br /><br />El cliente deberá presentarse en la escuela 30 minutos antes del horario confirmado en el momento de la compra. En caso de que el horario no esté confirmado, será obligatorio presentarse en la escuela antes de las 10h de la mañana.</p> <p><strong>IMPORTANTE:</strong></p> <p>· Estos servicios no incluyen el Forfait. <br />· Inicio del Servicio: los Sabados.<br /><br /></p> <p><strong>TIPOLOGÍAS:<br /></strong>ADULTO - JUNIOR : a partir de 12 años<br />*para niños solo esta disponible con modalidad esquí.</p></ProductDescription> <ProductCategory>CLASES COLECTIVAS SNOWBOARD</ProductCategory> <ProductImage>https://demo.xml.com/V05/img/dsp/Alojamientos/118926/118926_1006853.jpg</ProductImage> <ProductDays>2</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>80.0000</Price> </PriceFrom> <ProductBookingCode>50</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>1571</ConceptCode> <ConceptName>CLASES COLECTIVAS 6H FIN DE SEMANA SNOW ADULTO/JUNIOR</ConceptName> <ConceptDescription>CLASES COLECTIVAS 6H FIN DE SEMANA SNOW ADULTO/JUNIOR</ConceptDescription> <ConceptBookingCode>118926/854/49242489/1571</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>12</AgeFrom> <AgeTo>70</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>CLASES COLECTIVAS 6H FIN DE SEMANA SNOW ADULTO/JUNIOR</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date>2019-01-26T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="80.0000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>80.0000</SellingPrice> <CommissionableAmount>80.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>80.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <Transfer xsi:nil="true"/> </AvailResponseV2Concept> </Concepts> </AvailResponseV2Product> </Products> </AvailResponseV2>
Tickets (v2)
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
objRequest\ServiceType | String | Service type code | SERVICE TYPE | Required | |
objRequest\ProductTypeCode | String | Product type code | PRODUCTTYPE | Optional | |
objRequest\ProductSubTypeCode | String | Product subType code | PRODUCTSUBTYPE | Optional | |
objRequest\SectorCode | String | Location code | LOCATION | Optional | |
objRequest\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\ProductCodes | Array | Array of product codes (To send a multiproduct request) | Optional | ||
objRequest\ProductCodes\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\RateCode | String | Rate code | * Ask to your provider to obtain Rate code | Optional | |
objRequest\ThemeCode | String | Theme code | THEME | Optional | |
objRequest\Occupations | Array | Array of occupations | Optional | ||
objRequest\Occupations\AvailRequestV2Occupation | Occupation information | Required | |||
objRequest\Occupations\AvailRequestV2Occupation\Type | String | Type of occupation: Adult or Child | ADL or CHL | Required | |
objRequest\Occupations\AvailRequestV2Occupation\Age | Integer | Age | Required | ||
objRequest\StayDateRange | Date information | Required | |||
objRequest\StayDateRange | Start |
Date | Date from | YYYY-MM-DD | Required |
objRequest\StayDateRange | End |
Date | Date to | YYYY-MM-DD | Required |
objRequest\DataOptions | General options | Optional | |||
objRequest\DataOptions\Contents | Boolean | Get product and concept descriptions | true/false | Optional | |
objRequest\DataOptions\Images | Boolean | Get product and concept images | true/false | Optional | |
objRequest\DataOptions\Attributes | Boolean | Get product and concept attributes | true/false | Optional |
Node definition Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Products | Array | Array of products | Required | ||
AvailResponseV2Product | Content of product data | Required | |||
Products/AvailResponseV2Product/ProductCode | Integer | Product code | Required | ||
Products/AvailResponseV2Product/ProductName | String | Product name | Required | ||
Products/AvailResponseV2Product/ProductDescription | Integer | Text description product | Required | ||
Products/AvailResponseV2Product/ProductCategory | String | Category name | PRODUCTTYPE | Required | |
Products/AvailResponseV2Product/ProductDays | Integer | Product duration | Required | ||
Products/AvailResponseV2Product/PriceFrom | Information about minimum price | Required | |||
Products/AvailResponseV2Product/PriceFrom | CurrencyCode |
String | Currecy Code | CURRENCY | Required |
ProductBookingCode | Integer | Code for add to cart this product | Required | ||
AvailResponseV2Product/Concepts | Array | Array of concepts | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept | Content of concept data | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptCode | Integer | Code concept | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptName | String | Concept name | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptDescription | String | Concept text description | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptBookingCode | String | Code for add this concept to cart | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MinimalUnits | Integer | Number of min units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MaximumUnits | Integer | Number of max units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeFrom | Integer | Minumum age for ocupancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeTo | Integer | Maximum age for ocuppancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/IsChild | boolean | Only for child | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details | Array | Array of concept information | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailName |
String | Detail name | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailBookingCode |
String | Detail code for add to cart | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Date |
Date | Date of service | YYYY-MM-DD | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | OnRequest |
Boolean | Need manual confirmation (on request) | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Offer |
Boolean | Is offer | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total | Price information detail | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | Amount |
Decimal | Total amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | CurrencyCode |
String | Currency code | CURRENCY | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | NumDecimals |
Integer | Number of decimals | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | Commission information | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | SellingPrice |
Decimal | Amount for selling | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionableAmount |
Decimal | Comisionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NotCommissionableAmount |
Decimal | No commissionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionAmount |
Decimal | Commision amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NetAmount |
Decimal | Net amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/IsOptional | Boolean | If this node is "true", the detail not is included and you need specify in the DestServicesBookV2 the quantity to book them. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/PerPerson | Boolean | Indicates if the detail is per person. Otherwise, it applies to the entire reservation. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability | Array | Array of booking information | Optional | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Date |
Date | Date | YYYY-MM-AA | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Available |
Boolean | Available | true/false | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Hour |
String | Hour | --:-- | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Availability |
STRING | State of the availability: OPENSALE: Option opened to the sales without quota. QUOTA: Option opened to the sales with limitation of quota. ONREQUEST: Option opened but without online confirmation. NOTAVAILABLE: Option not available. CLOSEDSALE: Option not available. | OPENSALE / QUOTA / ONREQUEST / NOTAVAILABLE / CLOSEDSALE | Required |
AvailResponseV2Product/Images | Array | Array of images | Optional | ||
AvailResponseV2Product/Images/AvailResponseV2Image | Content of image data | Optional | |||
AvailResponseV2Product/Images/AvailResponseV2Image/URL | String | URL image | Optional |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header /> <soapenv:Body> <ws:DestServicesAvailV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD" /> </ws:Source> </ws:objCredentials> <ws:objRequest PrimaryLangID="IDLANGUAGE"> <ws:ServiceType>EV2</ws:ServiceType> <ws:Occupations> <ws:AvailRequestV2Occupation> <ws:Type>ADL</ws:Type> <ws:Age>35</ws:Age> </ws:AvailRequestV2Occupation> <ws:AvailRequestV2Occupation> <ws:Type>ADL</ws:Type> <ws:Age>34</ws:Age> </ws:AvailRequestV2Occupation> <ws:AvailRequestV2Occupation> <ws:Type>CHL</ws:Type> <ws:Age>6</ws:Age> </ws:AvailRequestV2Occupation> </ws:Occupations> <ws:StayDateRange Start="YYYY-MM-DD" End="YYYY-MM-DD" /> <ws:SectorCode>37</ws:SectorCode> <ws:ProductTypeCode>34</ws:ProductTypeCode> <ws:ProductCodes> <ws:ProductCode>51157</ws:ProductCode> <ws:ProductCode>51158</ws:ProductCode> </ws:ProductCodes> <ws:DestinationCodes> <ws:DestinationCodes>15620</ws:DestinationCodes> <ws:DestinationCodes>15625</ws:DestinationCodes> </ws:DestinationCodes> </ws:objRequest> </ws:DestServicesAvailV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesAvailV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesAvailV2Result EchoToken="8473935" PrimaryLangID="ES"> <Header ResponseTimestamp="2019-12-10T13:46:28.2797946+01:00" MillisecondProcessingTime="2864" Endpoint="demo.xml.com"/> <Products> <AvailResponseV2Product> <ProductCode>51157</ProductCode> <ProductName>Entrada Adulto</ProductName> <ProductCategory/> <ProductDays>0</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>28</Price> </PriceFrom> <ProductBookingCode>1</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>16859</ConceptCode> <ConceptName>Concepto adulto</ConceptName> <ConceptBookingCode>8330-11967560</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits>19</MaximumUnits> <AgeFrom>0</AgeFrom> <AgeTo>0</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>Adulto</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date>2020-01-24T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="28" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>28</SellingPrice> <CommissionableAmount>28</CommissionableAmount> <NotCommissionableAmount>0</NotCommissionableAmount> <CommissionAmount>0</CommissionAmount> <NetAmount>28</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <BookOptions> <Availability> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="556" Hour="18:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="19:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="19:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="594" Hour="18:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="556" Hour="18:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="556" Hour="18:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="20:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="20:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="20:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="19:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="19:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="20:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="15:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="16:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="16:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="15:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="15:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="15:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="17:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="17:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="17:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="16:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="16:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="17:00" Availability="QUOTA"/> </Availability> </BookOptions> <Transfer xsi:nil="true"/> </AvailResponseV2Concept> </Concepts> </AvailResponseV2Product> <AvailResponseV2Product> <ProductCode>51158</ProductCode> <ProductName>Entrada Niño</ProductName> <ProductCategory/> <ProductDays>0</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>20.25</Price> </PriceFrom> <ProductBookingCode>2</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>16860</ConceptCode> <ConceptName>Concepto niño</ConceptName> <ConceptBookingCode>8331-11967560</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits>19</MaximumUnits> <AgeFrom>0</AgeFrom> <AgeTo>0</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>Niño</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date>2020-01-24T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="20.25" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>20.25</SellingPrice> <CommissionableAmount>20.25</CommissionableAmount> <NotCommissionableAmount>0</NotCommissionableAmount> <CommissionAmount>0.00</CommissionAmount> <NetAmount>20.25</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <BookOptions> <Availability> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="556" Hour="18:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="594" Hour="18:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="17:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="19:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="556" Hour="18:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="556" Hour="18:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="16:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="16:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="16:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="17:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="17:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="17:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="21:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="21:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="20:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="638" Hour="22:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="21:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="21:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="19:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="19:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="19:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="20:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="20:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="525" Hour="20:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="16:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="12:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="11:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="11:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="12:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="12:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="12:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="10:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="10:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="10:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="11:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="11:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="10:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="15:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="14:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="14:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="15:45" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="15:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="633" Hour="15:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="13:30" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="13:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="13:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="14:15" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="14:00" Availability="QUOTA"/> <AvailResponseV2Avail Date="2020-01-24T00:00:00" Available="632" Hour="13:45" Availability="QUOTA"/> </Availability> </BookOptions> <Transfer xsi:nil="true"/> </AvailResponseV2Concept> </Concepts> </AvailResponseV2Product> </Products> </DestServicesAvailV2Result> </DestServicesAvailV2Response> </soap:Body> </soap:Envelope>
Forfait
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
objRequest\ServiceType | String | Service type code | SERVICE TYPE | Required | |
objRequest\ProductTypeCode | String | Product type code | PRODUCTTYPE | Optional | |
objRequest\ProductSubTypeCode | String | Product subType code | PRODUCTSUBTYPE | Optional | |
objRequest\SectorCode | String | Location code | LOCATION | Optional | |
objRequest\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\ProductCodes | Array | Array of product codes (To send a multiproduct request) | Optional | ||
objRequest\ProductCodes\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\DestinationCodes | Array | Array of destination codes | Optional | ||
objRequest\DestinationCodes\DestinationCode | String | Destination code | DESTINATION | Optional | |
objRequest\RateCode | String | Rate code | * Ask to your provider to obtain Rate code | Optional | |
objRequest\ThemeCode | String | Theme code | THEME | Optional | |
objRequest\StayDateRange | Date information | Required | |||
objRequest\StayDateRange | Start |
Date | Date from | YYYY-MM-DD | Required |
objRequest\StayDateRange | End |
Date | Date to | YYYY-MM-DD | Required |
objRequest\DataOptions | General options | Optional | |||
objRequest\DataOptions\Contents | Boolean | Get product and concept descriptions | true/false | Optional | |
objRequest\DataOptions\Images | Boolean | Get product and concept images | true/false | Optional | |
objRequest\DataOptions\Attributes | Boolean | Get product and concept attributes | true/false | Optional |
Node definition Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Products | Array | Array of products | Required | ||
AvailResponseV2Product | Content of product data | Required | |||
Products/AvailResponseV2Product/ProductCode | Integer | Product code | Required | ||
Products/AvailResponseV2Product/ProductName | String | Product name | Required | ||
Products/AvailResponseV2Product/ProductDescription | Integer | Text description product | Required | ||
Products/AvailResponseV2Product/ProductCategory | String | Category name | PRODUCTTYPE | Required | |
Products/AvailResponseV2Product/ProductDays | Integer | Product duration | Required | ||
Products/AvailResponseV2Product/PriceFrom | Information about minimum price | Required | |||
Products/AvailResponseV2Product/PriceFrom | CurrencyCode |
String | Currecy Code | CURRENCY | Required |
ProductBookingCode | Integer | Code for add to cart this product | Required | ||
AvailResponseV2Product/Concepts | Array | Array of concepts | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept | Content of concept data | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptCode | Integer | Code concept | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptName | String | Concept name | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptDescription | String | Concept text description | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptBookingCode | String | Code for add this concept to cart | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MinimalUnits | Integer | Number of min units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MaximumUnits | Integer | Number of max units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeFrom | Integer | Minumum age for ocupancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeTo | Integer | Maximum age for ocuppancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/IsChild | boolean | Only for child | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details | Array | Array of concept information | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailName |
String | Detail name | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailBookingCode |
String | Detail code for add to cart | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Date |
Date | Date of service | YYYY-MM-DD | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | OnRequest |
Boolean | Need manual confirmation (on request) | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Offer |
Boolean | Is offer | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total | Price information detail | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | Amount |
Decimal | Total amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | CurrencyCode |
String | Currency code | CURRENCY | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | NumDecimals |
Integer | Number of decimals | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | Commission information | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | SellingPrice |
Decimal | Amount for selling | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionableAmount |
Decimal | Comisionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NotCommissionableAmount |
Decimal | No commissionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionAmount |
Decimal | Commision amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NetAmount |
Decimal | Net amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/IsOptional | Boolean | If this node is "true", the detail not is included and you need specify in the DestServicesBookV2 the quantity to book them. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/PerPerson | Boolean | Indicates if the detail is per person. Otherwise, it applies to the entire reservation. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability | Array | Array of booking information | Optional | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Date |
Date | Date | YYYY-MM-AA | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Available |
Boolean | Available | true/false | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Hour |
String | Hour | --:-- | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Availability |
STRING | State of the availability: OPENSALE: Option opened to the sales without quota. QUOTA: Option opened to the sales with limitation of quota. ONREQUEST: Option opened but without online confirmation. NOTAVAILABLE: Option not available. CLOSEDSALE: Option not available. | OPENSALE / QUOTA / ONREQUEST / NOTAVAILABLE / CLOSEDSALE | Required |
AvailResponseV2Product/Images | Array | Array of images | Optional | ||
AvailResponseV2Product/Images/AvailResponseV2Image | Content of image data | Optional | |||
AvailResponseV2Product/Images/AvailResponseV2Image/URL | String | URL image | Optional |
XML Examples
-
<?xml version="1.0" encoding="UTF-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <DestServicesAvailV2 xmlns="http://xml.dispongo.com/ws/"> <objCredentials> <Source> <RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </Source> </objCredentials> <objRequest PrimaryLangID="IDLANGUAGE"> <ServiceType>F</ServiceType> <StayDateRange Start="YYYY-MM-DD" End="YYYY-MM-DD"/> <ProductTypeCode xsi:nil="true"/> <ProductSubTypeCode xsi:nil="true"/> <SectorCode xsi:nil="true"/> <ProductCode xsi:nil="true"/> <RateCode xsi:nil="true"/> <ThemeCode xsi:nil="true"/> </objRequest> </DestServicesAvailV2> </s:Body> </s:Envelope>
-
<?xml version="1.0" encoding="UTF-8"?> <AvailResponseV2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" EchoToken="24078541" PrimaryLangID="CAS"> <Header ResponseTimestamp="2019-01-08T11:43:38.7727017+01:00" MillisecondProcessingTime="17271" Endpoint="demo.xml.com"/> <Products> <AvailResponseV2Product> <ProductCode>162726</ProductCode> <ProductName>1 DIA DEBUTANTE</ProductName> <ProductDescription></ProductDescription> <ProductCategory>1 DIA FORFAIT</ProductCategory> <ProductImage>https://demo.xml.com/V05/img/dbm/Alojamientos/162726/162726_103055860.jpg</ProductImage> <ProductDays>1</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>33.0000</Price> </PriceFrom> <ProductBookingCode>13</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>2455</ConceptCode> <ConceptName>1 DÍA DEBUTANTE FORFAIT</ConceptName> <ConceptDescription>1 DÍA DEBUTANTE FORFAIT</ConceptDescription> <ConceptBookingCode>162726/861/49239034/2455</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>2</AgeFrom> <AgeTo>80</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>1 DÍA DEBUTANTE FORFAIT</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="33.0000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>33.0000</SellingPrice> <CommissionableAmount>33.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>33.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <Transfer xsi:nil="true"/> </AvailResponseV2Concept> </Concepts> </AvailResponseV2Product> <AvailResponseV2Product> <ProductCode>45788</ProductCode> <ProductName>1 DÍA FORFAIT</ProductName> <ProductDescription>Con este Forfait podrás Acceder a los cerca de 210 Kilómetros* Esquiables desde cualquiera de los Sectores.</ProductDescription> <ProductCategory>1 DÍA FORFAIT </ProductCategory> <ProductImage>https://demo.xml.com/V05/img/dbm/Alojamientos/45788/45788_103055858.jpg</ProductImage> <ProductDays>1</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>35.0000</Price> </PriceFrom> <ProductBookingCode>2</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>29</ConceptCode> <ConceptName>1 DÍA ADULTO </ConceptName> <ConceptDescription>1 DÍA ADULTO </ConceptDescription> <ConceptBookingCode>45788/861/49239038/29</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>18</AgeFrom> <AgeTo>64</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>1 DÍA ADULTO </DetailName> <DetailBookingCode>1</DetailBookingCode> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="51.0000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>51.0000</SellingPrice> <CommissionableAmount>51.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>51.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>DESCUENTO POR COMPRA/RESERVA ONLINE</DetailName> <DetailBookingCode>2</DetailBookingCode> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="-1.0000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>-1.0000</SellingPrice> <CommissionableAmount>-1.0000</CommissionableAmount> <NotCommissionableAmount>0</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>-1.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>true</Offer> </AvailResponseV2Detail> </Details> <Transfer xsi:nil="true"/> </AvailResponseV2Concept> <AvailResponseV2Concept> <ConceptCode>78</ConceptCode> <ConceptName>1 DÍA JUNIOR </ConceptName> <ConceptDescription>1 DÍA JUNIOR </ConceptDescription> <ConceptBookingCode>45788/861/49239040/78</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>12</AgeFrom> <AgeTo>17</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>1 DÍA JUNIOR </DetailName> <DetailBookingCode>1</DetailBookingCode> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="46.0000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>46.0000</SellingPrice> <CommissionableAmount>46.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>46.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>DESCUENTO POR COMPRA/RESERVA ONLINE</DetailName> <DetailBookingCode>2</DetailBookingCode> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="-1.0000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>-1.0000</SellingPrice> <CommissionableAmount>-1.0000</CommissionableAmount> <NotCommissionableAmount>0</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>-1.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>true</Offer> </AvailResponseV2Detail> </Details> <Transfer xsi:nil="true"/> </AvailResponseV2Concept> <AvailResponseV2Concept> <ConceptCode>15</ConceptCode> <ConceptName>1 DÍA NIÑO </ConceptName> <ConceptDescription>1 DÍA NIÑO </ConceptDescription> <ConceptBookingCode>45788/861/49239045/15</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>6</AgeFrom> <AgeTo>11</AgeTo> <IsChild>true</IsChild> <Details> <AvailResponseV2Detail> <DetailName>1 DÍA NIÑO </DetailName> <DetailBookingCode>1</DetailBookingCode> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="35.0000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>35.0000</SellingPrice> <CommissionableAmount>35.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>35.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>DESCUENTO POR COMPRA/RESERVA ONLINE</DetailName> <DetailBookingCode>2</DetailBookingCode> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="-1.0000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>-1.0000</SellingPrice> <CommissionableAmount>-1.0000</CommissionableAmount> <NotCommissionableAmount>0</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>-1.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>true</Offer> </AvailResponseV2Detail> </Details> <Transfer xsi:nil="true"/> </AvailResponseV2Concept> </Concepts> </AvailResponseV2Product> <AvailResponseV2Product> <ProductCode>45833</ProductCode> <ProductName>1 DÍA PEATÓN</ProductName> <ProductDescription>Pase para el acceso a los distintos telecabinas Grandvalira:</ProductDescription> <ProductCategory>PASE PEATÓN 1 DIA</ProductCategory> <ProductImage>https://demo.xml.com/V05/img/dbm/Alojamientos/45833/45833_103055861.jpg</ProductImage> <ProductDays>1</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>12.0000</Price> </PriceFrom> <ProductBookingCode>9</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>18</ConceptCode> <ConceptName>PEATÓN ADULTO ( No Esquiador)</ConceptName> <ConceptDescription>PEATÓN ADULTO ( No Esquiador)</ConceptDescription> <ConceptBookingCode>45833/861/49239038/18</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>18</AgeFrom> <AgeTo>64</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>PEATÓN ADULTO ( No Esquiador)</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="12.0000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>12.0000</SellingPrice> <CommissionableAmount>12.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>12.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <Transfer xsi:nil="true"/> </AvailResponseV2Concept> <AvailResponseV2Concept> <ConceptCode>76</ConceptCode> <ConceptName>PEATÓN JUNIOR ( No Esquiador)</ConceptName> <ConceptDescription>PEATÓN JUNIOR ( No Esquiador)</ConceptDescription> <ConceptBookingCode>45833/861/49239040/76</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>12</AgeFrom> <AgeTo>17</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>PEATÓN JUNIOR ( No Esquiador)</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="12.0000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>12.0000</SellingPrice> <CommissionableAmount>12.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>12.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <Transfer xsi:nil="true"/> </AvailResponseV2Concept> </Concepts> </AvailResponseV2Product> </Products> </AvailResponseV2>
Other services
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
Othre services nodes definition soon!
Restaurant
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
Restaurant nodes definition soon!
Insurance
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
objRequest\ServiceType | String | Service type code | SERVICE TYPE | Required | |
objRequest\ProductTypeCode | String | Product type code | PRODUCTTYPE | Optional | |
objRequest\ProductSubTypeCode | String | Product subType code | PRODUCTSUBTYPE | Optional | |
objRequest\SectorCode | String | Location code | LOCATION | Optional | |
objRequest\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\ProductCodes | Array | Array of product codes (To send a multiproduct request) | Optional | ||
objRequest\ProductCodes\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\DestinationCodes | Array | Array of destination codes | Optional | ||
objRequest\DestinationCodes\DestinationCode | String | Destination code | DESTINATION | Optional | |
objRequest\RateCode | String | Rate code | * Ask to your provider to obtain Rate code | Optional | |
objRequest\ThemeCode | String | Theme code | THEME | Optional | |
objRequest\Occupations | Array | Array of occupations | Optional | ||
objRequest\Occupations\AvailRequestV2Occupation | Occupation information | Required | |||
objRequest\Occupations\AvailRequestV2Occupation\Type | String | Type of occupation: Adult or Child | ADL or CHL | Required | |
objRequest\Occupations\AvailRequestV2Occupation\Age | Integer | Age | Required | ||
objRequest\StayDateRange | Date information | Required | |||
objRequest\StayDateRange | Start |
Date | Date from | YYYY-MM-DD | Required |
objRequest\StayDateRange | End |
Date | Date to | YYYY-MM-DD | Required |
objRequest\DataOptions | General options | Optional | |||
objRequest\DataOptions\Contents | Boolean | Get product and concept descriptions | true/false | Optional | |
objRequest\DataOptions\Images | Boolean | Get product and concept images | true/false | Optional | |
objRequest\DataOptions\Attributes | Boolean | Get product and concept attributes | true/false | Optional |
Node definition Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Products | Array | Array of products | Required | ||
AvailResponseV2Product | Content of product data | Required | |||
Products/AvailResponseV2Product/ProductCode | Integer | Product code | Required | ||
Products/AvailResponseV2Product/ProductName | String | Product name | Required | ||
Products/AvailResponseV2Product/ProductDescription | Integer | Text description product | Required | ||
Products/AvailResponseV2Product/ProductCategory | String | Category name | PRODUCTTYPE | Required | |
Products/AvailResponseV2Product/ProductDays | Integer | Product duration | Required | ||
Products/AvailResponseV2Product/PriceFrom | Information about minimum price | Required | |||
Products/AvailResponseV2Product/PriceFrom | CurrencyCode |
String | Currecy Code | CURRENCY | Required |
ProductBookingCode | Integer | Code for add to cart this product | Required | ||
AvailResponseV2Product/Concepts | Array | Array of concepts | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept | Content of concept data | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptCode | Integer | Code concept | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptName | String | Concept name | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptDescription | String | Concept text description | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptBookingCode | String | Code for add this concept to cart | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MinimalUnits | Integer | Number of min units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MaximumUnits | Integer | Number of max units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeFrom | Integer | Minumum age for ocupancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeTo | Integer | Maximum age for ocuppancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/IsChild | boolean | Only for child | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details | Array | Array of concept information | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailName |
String | Detail name | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailBookingCode |
String | Detail code for add to cart | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Date |
Date | Date of service | YYYY-MM-DD | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | OnRequest |
Boolean | Need manual confirmation (on request) | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Offer |
Boolean | Is offer | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total | Price information detail | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | Amount |
Decimal | Total amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | CurrencyCode |
String | Currency code | CURRENCY | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | NumDecimals |
Integer | Number of decimals | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | Commission information | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | SellingPrice |
Decimal | Amount for selling | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionableAmount |
Decimal | Comisionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NotCommissionableAmount |
Decimal | No commissionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionAmount |
Decimal | Commision amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NetAmount |
Decimal | Net amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/IsOptional | Boolean | If this node is "true", the detail not is included and you need specify in the DestServicesBookV2 the quantity to book them. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/PerPerson | Boolean | Indicates if the detail is per person. Otherwise, it applies to the entire reservation. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability | Array | Array of booking information | Optional | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Date |
Date | Date | YYYY-MM-AA | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Available |
Boolean | Available | true/false | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Hour |
String | Hour | --:-- | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Availability |
STRING | State of the availability: OPENSALE: Option opened to the sales without quota. QUOTA: Option opened to the sales with limitation of quota. ONREQUEST: Option opened but without online confirmation. NOTAVAILABLE: Option not available. CLOSEDSALE: Option not available. | OPENSALE / QUOTA / ONREQUEST / NOTAVAILABLE / CLOSEDSALE | Required |
AvailResponseV2Product/Images | Array | Array of images | Optional | ||
AvailResponseV2Product/Images/AvailResponseV2Image | Content of image data | Optional | |||
AvailResponseV2Product/Images/AvailResponseV2Image/URL | String | URL image | Optional |
XML Examples
-
<?xml version="1.0" encoding="UTF-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <DestServicesAvailV2 xmlns="http://xml.dispongo.com/ws/"> <objCredentials> <Source> <RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </Source> </objCredentials> <objRequest PrimaryLangID="IDLANGUAGE"> <ServiceType>S</ServiceType> <StayDateRange Start="YYYY-MM-DD" End="YYYY-MM-DD"/> <Occupations> <AvailRequestV2Occupation> <Type>ADL</Type> <Age>35</Age> </vailRequestV2Occupation> <AvailRequestV2Occupation> <Type>ADL</Type> <Age>34</Age> </AvailRequestV2Occupation> <AvailRequestV2Occupation> <Type>CHL</Type> <Age>6</Age> </AvailRequestV2Occupation> </Occupations> <ProductTypeCode xsi:nil="true"/> <ProductSubTypeCode xsi:nil="true"/> <SectorCode xsi:nil="true"/> <ProductCode xsi:nil="true"/> <RateCode xsi:nil="true"/> <ThemeCode xsi:nil="true"/> </objRequest> </DestServicesAvailV2> </s:Body> </s:Envelope>
-
<?xml version="1.0" encoding="utf-8"?> <AvailResponseV2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" EchoToken="24079587" PrimaryLangID="CAS"> <Header ResponseTimestamp="2019-01-08T12:28:05.9826273+01:00" MillisecondProcessingTime="3221" Endpoint="demo.xml.com" /> <Products> <AvailResponseV2Product> <ProductCode>45780</ProductCode> <ProductName>1 DÍAS SEGURO DE ESQUI</ProductName> <ProductDescription><h2>Esquía 100% tranquilo.</h2> <p>Principales coberturas de la póliza:<br><br>- Atención en el centro médico de pistas a cargo directo del asegurador.<br>- Reembolso de gastos médicos hasta 3000 €<br>- Repatriación o transporte sanitario ilimitado.<br>- Rescate en pistas ilimitado.<br>- NUEVO: reimpresión del forfait sin coste en caso de perdida<br></p> <p><br><a class="null" href="../../../pdf/condicionsassforfait_es.pdf">Ver más info.</a><br></p></ProductDescription> <ProductCategory>1 DÍA SEGURO GV</ProductCategory> <ProductImage>https://demo.xml.com/V05/img/gvr/Alojamientos/45780/45780_125043046.jpg</ProductImage> <ProductDays>1</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>4.9000</Price> </PriceFrom> <ProductBookingCode>7</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>9</ConceptCode> <ConceptName>1 DÍA SEGURO DE ESQUI </ConceptName> <ConceptDescription>1 DÍA SEGURO DE ESQUI </ConceptDescription> <ConceptBookingCode>45780/872/49242220/9</ConceptBookingCode> <MinimalUnits xsi:nil="true" /> <MaximumUnits xsi:nil="true" /> <AgeFrom>2</AgeFrom> <AgeTo>80</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>1 DÍA SEGURO DE ESQUI </DetailName> <DetailBookingCode>1</DetailBookingCode> <Date xsi:nil="true" /> <OnRequest>false</OnRequest> <Total> <Taxes Amount="4.9000" CurrencyCode="EUR" NumDecimals="4"> <Commissions> <SellingPrice>4.9000</SellingPrice> <CommissionableAmount>4.9000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>4.9000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <Transfer xsi:nil="true" /> </AvailResponseV2Concept> </Concepts> </AvailResponseV2Product> </Products> </AvailResponseV2>
Tours
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
objRequest\ServiceType | String | Service type code | SERVICE TYPE | Required | |
objRequest\ProductTypeCode | String | Product type code | PRODUCTTYPE | Optional | |
objRequest\ProductSubTypeCode | String | Product subType code | PRODUCTSUBTYPE | Optional | |
objRequest\SectorCode | String | Location code | LOCATION | Optional | |
objRequest\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\ProductCodes | Array | Array of product codes (To send a multiproduct request) | Optional | ||
objRequest\ProductCodes\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\DestinationCodes | Array | Array of destination codes | Optional | ||
objRequest\DestinationCodes\DestinationCode | String | Destination code | DESTINATION | Optional | |
objRequest\RateCode | String | Rate code | * Ask to your provider to obtain Rate code | Optional | |
objRequest\ThemeCode | String | Theme code | THEME | Optional | |
objRequest\Occupations | Array | Array of occupations | Optional | ||
objRequest\Occupations\AvailRequestV2Occupation | Occupation information | Required | |||
objRequest\Occupations\AvailRequestV2Occupation\Type | String | Type of occupation: Adult or Child | ADL or CHL | Required | |
objRequest\Occupations\AvailRequestV2Occupation\Age | Integer | Age | Required | ||
objRequest\StayDateRange | Date information | Required | |||
objRequest\StayDateRange | Start |
Date | Date from | YYYY-MM-DD | Required |
objRequest\StayDateRange | End |
Date | Date to | YYYY-MM-DD | Required |
objRequest\DataOptions | General options | Optional | |||
objRequest\DataOptions\Contents | Boolean | Get product and concept descriptions | true/false | Optional | |
objRequest\DataOptions\Images | Boolean | Get product and concept images | true/false | Optional | |
objRequest\DataOptions\Attributes | Boolean | Get product and concept attributes | true/false | Optional |
Node definition Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Products | Array | Array of products | Required | ||
AvailResponseV2Product | Content of product data | Required | |||
Products/AvailResponseV2Product/ProductCode | Integer | Product code | Required | ||
Products/AvailResponseV2Product/ProductName | String | Product name | Required | ||
Products/AvailResponseV2Product/ProductDescription | Integer | Text description product | Required | ||
Products/AvailResponseV2Product/ProductCategory | String | Category name | PRODUCTTYPE | Required | |
Products/AvailResponseV2Product/ProductDays | Integer | Product duration | Required | ||
Products/AvailResponseV2Product/PriceFrom | Information about minimum price | Required | |||
Products/AvailResponseV2Product/PriceFrom | CurrencyCode |
String | Currecy Code | CURRENCY | Required |
ProductBookingCode | Integer | Code for add to cart this product | Required | ||
AvailResponseV2Product/Concepts | Array | Array of concepts | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept | Content of concept data | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptCode | Integer | Code concept | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptName | String | Concept name | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptDescription | String | Concept text description | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptBookingCode | String | Code for add this concept to cart | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MinimalUnits | Integer | Number of min units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MaximumUnits | Integer | Number of max units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeFrom | Integer | Minumum age for ocupancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeTo | Integer | Maximum age for ocuppancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/IsChild | boolean | Only for child | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details | Array | Array of concept information | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailName |
String | Detail name | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailBookingCode |
String | Detail code for add to cart | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Date |
Date | Date of service | YYYY-MM-DD | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | OnRequest |
Boolean | Need manual confirmation (on request) | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Offer |
Boolean | Is offer | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total | Price information detail | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | Amount |
Decimal | Total amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | CurrencyCode |
String | Currency code | CURRENCY | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | NumDecimals |
Integer | Number of decimals | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | Commission information | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | SellingPrice |
Decimal | Amount for selling | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionableAmount |
Decimal | Comisionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NotCommissionableAmount |
Decimal | No commissionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionAmount |
Decimal | Commision amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NetAmount |
Decimal | Net amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/IsOptional | Boolean | If this node is "true", the detail not is included and you need specify in the DestServicesBookV2 the quantity to book them. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/PerPerson | Boolean | Indicates if the detail is per person. Otherwise, it applies to the entire reservation. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability | Array | Array of booking information | Optional | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Date |
Date | Date | YYYY-MM-AA | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Available |
Boolean | Available | true/false | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Hour |
String | Hour | --:-- | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Availability |
STRING | State of the availability: OPENSALE: Option opened to the sales without quota. QUOTA: Option opened to the sales with limitation of quota. ONREQUEST: Option opened but without online confirmation. NOTAVAILABLE: Option not available. CLOSEDSALE: Option not available. | OPENSALE / QUOTA / ONREQUEST / NOTAVAILABLE / CLOSEDSALE | Required |
AvailResponseV2Product/Images | Array | Array of images | Optional | ||
AvailResponseV2Product/Images/AvailResponseV2Image | Content of image data | Optional | |||
AvailResponseV2Product/Images/AvailResponseV2Image/URL | String | URL image | Optional | ||
AvailResponseV2Product/PickUpPoints | Array | Array of images | Optional | ||
AvailResponseV2Product/PickUpPoints/AvailResponseV2PickUpPoint | Content of image data | Optional | |||
AvailResponseV2Product/PickUpPoints/AvailResponseV2PickUpPoint | PickupPointCode |
Integer | Pick up code | Required | |
AvailResponseV2Product/PickUpPoints/AvailResponseV2PickUpPoint | PickupPoint |
String | Pick up description | Required | |
AvailResponseV2Product/PickUpPoints/AvailResponseV2PickUpPoint | DestinationCode |
Integer | Destination code | Required | |
AvailResponseV2Product/PickUpPoints/AvailResponseV2PickUpPoint | Destination |
String | Destination text | Required | |
AvailResponseV2Product/PickUpPoints/AvailResponseV2PickUpPoint | Hour |
string | Hour | --:-- | Required |
XML Examples
-
<?xml version="1.0" encoding="UTF-8"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <DestServicesAvailV2 xmlns="http://xml.dispongo.com/ws/"> <objCredentials> <Source> <RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </Source> </objCredentials> <objRequest PrimaryLangID="IDLANGUAGE"> <ServiceType>X</ServiceType> <StayDateRange Start="YYYY-MM-DD" End="YYYY-MM-DD"/> <Occupations> <AvailRequestV2Occupation> <Type>ADL</Type> <Age>35</Age> </vailRequestV2Occupation> <AvailRequestV2Occupation> <Type>ADL</Type> <Age>34</Age> </AvailRequestV2Occupation> <AvailRequestV2Occupation> <Type>CHL</Type> <Age>6</Age> </AvailRequestV2Occupation> </Occupations> <ProductTypeCode xsi:nil="true"/> <ProductSubTypeCode xsi:nil="true"/> <SectorCode xsi:nil="true"/> <ProductCode xsi:nil="true"/> <RateCode xsi:nil="true"/> <ThemeCode xsi:nil="true"/> </objRequest> </DestServicesAvailV2> </s:Body> </s:Envelope>
-
<?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> <DestServicesAvailV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesAvailV2Result EchoToken="636" PrimaryLangID="ES"> <Header ResponseTimestamp="2019-01-10T18:05:05.2443509+01:00" MillisecondProcessingTime="4789" Endpoint="demo.xml.com"/> <Products> <AvailResponseV2Product> <ProductCode>1355</ProductCode> <ProductName>Excursión XML</ProductName> <ProductDescription/> <ProductCategory>EXCURSION</ProductCategory> <ProductImage>http://dispongodesarrolloweb.dispongo.com/V05/img/ddw/Excursion/1355/1355_127.jpg</ProductImage> <ProductDays>1</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>10.0000</Price> </PriceFrom> <ProductBookingCode>2</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>1382</ConceptCode> <ConceptName>Adulto</ConceptName> <ConceptDescription>Adulto</ConceptDescription> <ConceptBookingCode>1355/1568/4067/1382</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>0</AgeFrom> <AgeTo>99</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>Adulto</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date>2019-01-19T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="10.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>10.0000</SellingPrice> <CommissionableAmount>10.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>10.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> <AvailResponseV2Detail> <DetailName>Adulto</DetailName> <DetailBookingCode>2</DetailBookingCode> <Date>2019-01-20T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="10.0000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>10.0000</SellingPrice> <CommissionableAmount>10.0000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>10.0000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <BookOptions> <Availability> <AvailResponseV2Avail Date="2019-01-19T00:00:00" Available="0" Hour="09:00" Availability="OPENSALE"/> <AvailResponseV2Avail Date="2019-01-19T00:00:00" Available="0" Hour="10:00" Availability="OPENSALE"/> <AvailResponseV2Avail Date="2019-01-19T00:00:00" Available="0" Hour="11:00" Availability="OPENSALE"/> <AvailResponseV2Avail Date="2019-01-19T00:00:00" Available="0" Hour="12:00" Availability="OPENSALE"/> <AvailResponseV2Avail Date="2019-01-20T00:00:00" Available="0" Hour="09:00" Availability="OPENSALE"/> <AvailResponseV2Avail Date="2019-01-20T00:00:00" Available="0" Hour="10:00" Availability="OPENSALE"/> <AvailResponseV2Avail Date="2019-01-20T00:00:00" Available="0" Hour="11:00" Availability="OPENSALE"/> <AvailResponseV2Avail Date="2019-01-20T00:00:00" Available="0" Hour="12:00" Availability="OPENSALE"/> </Availability> </BookOptions> <Transfer xsi:nil="true"/> </AvailResponseV2Concept> </Concepts> <Images> <AvailResponseV2Image> <URL>http://dispongodesarrolloweb.dispongo.com/V05/img/ddw/Excursion/1355/1355_127.jpg</URL> </AvailResponseV2Image> <AvailResponseV2Image> <URL>http://dispongodesarrolloweb.dispongo.com/V05/img/ddw/Excursion/1355/1355_128.png</URL> </AvailResponseV2Image> </Images> <PickUpPoints> <AvailResponseV2PickUpPoint PickupPointCode="1" PickupPoint="Punto 1" DestinationCode="2" Destination="Alcoy" Hour="09:30"/> <AvailResponseV2PickUpPoint PickupPointCode="2" PickupPoint="Punto 2" DestinationCode="2" Destination="Alcoy" Hour="09:45"/> <AvailResponseV2PickUpPoint PickupPointCode="15" PickupPoint="Gasolinera Muro" DestinationCode="8" Destination="Muro de Alcoy" Hour="10:30"/> <AvailResponseV2PickUpPoint PickupPointCode="7" PickupPoint="Cocentaina Hotel Hodon" DestinationCode="7" Destination="Cocentaina" Hour="10:00"/> </PickUpPoints> </AvailResponseV2Product> </Products> </DestServicesAvailV2Result> </DestServicesAvailV2Response> </soap:Body> </soap:Envelope>
Transfer
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
Transfer time usage
You must indicate the pick-up time and the drop-off time, respectively (if you have them, in case you don't have both times,
send in the 2 fields the time you have available).
The response shall return recalculated pick-up and drop-off times if is available.
For example:
If the same time is provided at both origin and destination, if the returned transfer has no offset or journey time configured,
the same time will be returned in the 2 fields.
If the same time is provided at both origin and destination, if the transfer returned has the offset or journey time configured,
the calculated pick-up time will be returned and the destination time will be the one requested.
In the case of outward and return transfers, the operation is the same except that the "LocationOriginTime" attribute of the call
will refer to the outward destination time and the "LocationDestinationTime" attribute of the call will refer to the return destination time:
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
objRequest\ServiceType | String | Service type code | SERVICE TYPE | Required | |
objRequest\ProductTypeCode | String | Product type code | PRODUCTTYPE | Optional | |
objRequest\ProductSubTypeCode | String | Product subType code | PRODUCTSUBTYPE | Optional | |
objRequest\SectorCode | String | Location code | LOCATION | Optional | |
objRequest\ProductCode | String | Product code | PRODUCT | Optional | |
objRequest\RateCode | String | Rate code | * Ask to your provider to obtain Rate code | Optional | |
objRequest\ThemeCode | String | Theme code | THEME | Optional | |
objRequest\Occupations | Array | Array of occupations | Optional | ||
objRequest\Occupations\AvailRequestV2Occupation | Occupation information | Required | |||
objRequest\Occupations\AvailRequestV2Occupation\Type | String | Type of occupation: Adult or Child | ADL or CHL | Required | |
objRequest\Occupations\AvailRequestV2Occupation\Age | Integer | Age | Required | ||
objRequest\StayDateRange | Date information | Required | |||
objRequest\StayDateRange | Start |
Date | Date from | YYYY-MM-DD | Required |
objRequest\StayDateRange | End |
Date | Date to | YYYY-MM-DD | Required |
objRequest\TransferOptions | Transfer options | Required | |||
objRequest\TransferOptions | Type |
String | Language code | ONEWAYTRIP / ROUNDTRIP | Required |
objRequest\TransferOptions | LocationOriginID |
String | Location code for pickup | LOCATION | Required |
objRequest\TransferOptions | LocationOriginTime |
String | Pickup Time | --:-- | Required |
objRequest\TransferOptions | LocationDestinationID |
String | Location code for delivery | LOCATION | Required |
objRequest\TransferOptions | LocationDestinationTime |
String | Delivery Time | --:-- | Optional |
objRequest\DataOptions | General options | Optional | |||
objRequest\DataOptions\Contents | Boolean | Get product and concept descriptions | true/false | Optional | |
objRequest\DataOptions\Images | Boolean | Get product and concept images | true/false | Optional | |
objRequest\DataOptions\Attributes | Boolean | Get product and concept attributes | true/false | Optional |
Node definition Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Products | Array | Array of products | Required | ||
AvailResponseV2Product | Content of product data | Required | |||
Products/AvailResponseV2Product/ProductCode | Integer | Product code | Required | ||
Products/AvailResponseV2Product/ProductName | String | Product name | Required | ||
Products/AvailResponseV2Product/ProductDescription | Integer | Text description product | Required | ||
Products/AvailResponseV2Product/ProductCategory | String | Category name | PRODUCTTYPE | Required | |
Products/AvailResponseV2Product/ProductDays | Integer | Product duration | Required | ||
Products/AvailResponseV2Product/PriceFrom | Information about minimum price | Required | |||
Products/AvailResponseV2Product/PriceFrom | CurrencyCode |
String | Currecy Code | CURRENCY | Required |
ProductBookingCode | Integer | Code for add to cart this product | Required | ||
AvailResponseV2Product/Concepts | Array | Array of concepts | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept | Content of concept data | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptCode | Integer | Code concept | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptName | String | Concept name | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptDescription | String | Concept text description | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/ConceptBookingCode | String | Code for add this concept to cart | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MinimalUnits | Integer | Number of min units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/MaximumUnits | Integer | Number of max units | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeFrom | Integer | Minumum age for ocupancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/AgeTo | Integer | Maximum age for ocuppancy | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/IsChild | boolean | Only for child | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details | Array | Array of concept information | Required | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailName |
String | Detail name | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | DetailBookingCode |
String | Detail code for add to cart | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Date |
Date | Date of service | YYYY-MM-DD | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | OnRequest |
Boolean | Need manual confirmation (on request) | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail | Offer |
Boolean | Is offer | true/false | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total | Price information detail | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | Amount |
Decimal | Total amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | CurrencyCode |
String | Currency code | CURRENCY | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes | NumDecimals |
Integer | Number of decimals | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | Commission information | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | SellingPrice |
Decimal | Amount for selling | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionableAmount |
Decimal | Comisionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NotCommissionableAmount |
Decimal | No commissionable amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | CommissionAmount |
Decimal | Commision amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/Total/Taxes/Commissions | NetAmount |
Decimal | Net amount | Required | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/IsOptional | Boolean | If this node is "true", the detail not is included and you need specify in the DestServicesBookV2 the quantity to book them. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Details/AvailResponseV2Detail/PerPerson | Boolean | Indicates if the detail is per person. Otherwise, it applies to the entire reservation. | true/false | Optional | |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability | Array | Array of booking information | Optional | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Date |
Date | Date | YYYY-MM-AA | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Available |
Boolean | Available | true/false | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Hour |
String | Hour | --:-- | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Contents | Array | Concept contents | Optional | ||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Contents/AvailResponseV2Content | Data for content | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/BookOptions/Availability/AvailResponseV2Avail | Availability |
STRING | State of the availability: OPENSALE: Option opened to the sales without quota. QUOTA: Option opened to the sales with limitation of quota. ONREQUEST: Option opened but without online confirmation. NOTAVAILABLE: Option not available. CLOSEDSALE: Option not available. | OPENSALE / QUOTA / ONREQUEST / NOTAVAILABLE / CLOSEDSALE | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Transfer | Data for transfer | Required | |||
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Transfer | Mode |
String | Transfer mode | ONEWAY or RETURN | Required |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Transfer | DeliveryTime |
String | Delivery time | --:-- | Optional |
AvailResponseV2Product/Concepts/AvailResponseV2Concept/Transfer | PickUpTime |
String | Pickup time | --:-- | Optional |
AvailResponseV2Product/Images | Array | Array of images | Optional | ||
AvailResponseV2Product/Images/AvailResponseV2Image | Content of image data | Optional | |||
AvailResponseV2Product/Images/AvailResponseV2Image/URL | String | URL image | Optional |
XML Examples
-
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesAvailV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest PrimaryLangID="IDLANGUAGE"> <ws:ServiceType>T</ws:ServiceType> <ws:Occupations> <ws:AvailRequestV2Occupation> <ws:Type>ADL</ws:Type> <ws:Age>30</ws:Age> </ws:AvailRequestV2Occupation> <ws:AvailRequestV2Occupation> <ws:Type>ADL</ws:Type> <ws:Age>50</ws:Age> </ws:AvailRequestV2Occupation> <ws:AvailRequestV2Occupation> <ws:Type>CHL</ws:Type> <ws:Age>7</ws:Age> </ws:AvailRequestV2Occupation> </ws:Occupations> <ws:StayDateRange Start="YYYY-MM-DD" End="YYYY-MM-DD"/> <ws:TransferOptions Type="ROUNDTRIP" LocationOriginID="L1" LocationOriginTime="09:00" LocationDestinationID="L2" LocationDestinationTime="15:30"/> <ws:DataOptions> <ws:Contents>true</ws:Contents> <ws:Images>true</ws:Images> <ws:Attributes>true</ws:Attributes> </ws:DataOptions> </ws:objRequest> </ws:DestServicesAvailV2> </soapenv:Body> </soapenv:Envelope>
-
<?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> <DestServicesAvailV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesAvailV2Result EchoToken="668" PrimaryLangID="ES"> <Header ResponseTimestamp="2019-01-10T18:27:49.1566818+01:00" MillisecondProcessingTime="8427" Endpoint="demo.xml.com"/> <Products> <AvailResponseV2Product> <ProductCode>1352</ProductCode> <ProductName>Coche Berlina Tipo A</ProductName> <ProductDescription>Vehículos tipo<strong> Peugeot 508 o Skoda SuperB</strong> para realizar tus traslados hasta un máximo de 4 personas. Amplios, cómodos y siempre limpios.</ProductDescription> <ProductCategory>TRASLADOS</ProductCategory> <ProductImage>http://dispongodesarrolloweb.dispongo.com/V05/img/ddw/Traslado/1352/1352_126.jpg</ProductImage> <ProductDays>1</ProductDays> <PriceFrom CurrencyCode="EUR"> <Price>105.0000</Price> </PriceFrom> <ProductBookingCode>1</ProductBookingCode> <Concepts> <AvailResponseV2Concept> <ConceptCode>1398</ConceptCode> <ConceptName>Coche Berlina Tipo A</ConceptName> <ConceptDescription>Coche Berlina Tipo A</ConceptDescription> <ConceptBookingCode>1352/1592/4460/1398</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>0</AgeFrom> <AgeTo>99</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>Coche Berlina Tipo A</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="52.5000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>52.5000</SellingPrice> <CommissionableAmount>52.5000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>52.5000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <Transfer Mode="RETURN" DeliveryTime="15:30"/> <Contents> <AvailResponseV2Content ContentTypeCode="0" Order="0"> <Title>Peugeot 306, Renault Clio o similares</Title> <SmallContent>Vehiculo Peugeot 306, Renault Clio o similares</SmallContent> <FullContent><![CDATA[xsdf<strong>g sdfg AAAAAAA AAAAAAAA</strong>sdf<strong>g sdfg sdfg sdf</strong>g sdfg <br /> xsdf<strong>g sdfg sdfg sdf</strong>g sdfg <br /> xsdf<strong>g sdfg sdfg sdf</strong>g sdfg xsdf<strong>g sdfg sdfg sdf</strong>g sdfg <br /> xsdf<strong>g sdfg sdfg sdf</strong>g sdfg ]]></FullContent> </AvailResponseV2Content> </Contents> </AvailResponseV2Concept> <AvailResponseV2Concept> <ConceptCode>1398</ConceptCode> <ConceptName>Coche Berlina Tipo A</ConceptName> <ConceptDescription>Coche Berlina Tipo A</ConceptDescription> <ConceptBookingCode>1352/1592/4459/1398</ConceptBookingCode> <MinimalUnits xsi:nil="true"/> <MaximumUnits xsi:nil="true"/> <AgeFrom>0</AgeFrom> <AgeTo>99</AgeTo> <IsChild>false</IsChild> <Details> <AvailResponseV2Detail> <DetailName>Coche Berlina Tipo A</DetailName> <DetailBookingCode>1</DetailBookingCode> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="52.5000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>52.5000</SellingPrice> <CommissionableAmount>52.5000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>52.5000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </AvailResponseV2Detail> </Details> <Transfer Mode="ONEWAY" PickUpTime="09:00"/> <Contents> <AvailResponseV2Content ContentTypeCode="0" Order="0"> <Title>Peugeot 306, Renault Clio o similares</Title> <SmallContent>Vehiculo Peugeot 306, Renault Clio o similares</SmallContent> <FullContent><![CDATA[xsdf<strong>g sdfg AAAAAAA AAAAAAAA</strong>sdf<strong>g sdfg sdfg sdf</strong>g sdfg <br /> xsdf<strong>g sdfg sdfg sdf</strong>g sdfg <br /> xsdf<strong>g sdfg sdfg sdf</strong>g sdfg xsdf<strong>g sdfg sdfg sdf</strong>g sdfg <br /> xsdf<strong>g sdfg sdfg sdf</strong>g sdfg ]]></FullContent> </AvailResponseV2Content> </Contents> </AvailResponseV2Concept> </Concepts> <Images> <AvailResponseV2Image> <URL>http://dispongodesarrolloweb.dispongo.com/V05/img/ddw/Traslado/1352/1352_125.jpg</URL> </AvailResponseV2Image> <AvailResponseV2Image> <URL>http://dispongodesarrolloweb.dispongo.com/V05/img/ddw/Traslado/1352/1352_126.jpg</URL> </AvailResponseV2Image> </Images> <Contents> <AvailResponseV2Content LangID="1" ContentTypeCode="2" ContentType="Contenido Genérico" Order="0"> <Title>ertoeurtouerte</Title> <SmallContent>Vehículos tipo Peugeot 508 o Skoda SuperB para realizar tus traslados hasta un máximo de 4 personas. Amplios, cómodos y siempre limpios.</SmallContent> <FullContent>Vehículos tipo<strong> Peugeot 508 o Skoda SuperB</strong> para realizar tus traslados hasta un máximo de 4 personas. Amplios, cómodos y siempre limpios.</FullContent> </AvailResponseV2Content> <AvailResponseV2Content LangID="1" ContentTypeCode="2" ContentType="Contenido Genérico" Order="0"> <Title>Peugeot 508 o Skoda SuperB</Title> <SmallContent>Vehículos tipo Peugeot 508 o Skoda SuperB para realizar tus traslados hasta un máximo de 4 personas. Amplios, cómodos y siempre limpios.</SmallContent> <FullContent>Modificado. Vehículos tipo <strong>Peugeot 508 o Skoda SuperB para r</strong>ealizar tus traslados hasta un máximo de 4 personas. Amplios, cómodos y siempre limpios.</FullContent> </AvailResponseV2Content> </Contents> <Attributes> <AvailResponseV2Attribute LangID="1"> <Name>Horario</Name> <Value>A</Value> <Sort>1</Sort> </AvailResponseV2Attribute> <AvailResponseV2Attribute LangID="1"> <Name>Tarifa</Name> <Value>Reducida</Value> <Sort>2</Sort> </AvailResponseV2Attribute> </Attributes> </AvailResponseV2Product> </Products> </DestServicesAvailV2Result> </DestServicesAvailV2Response> </soap:Body> </soap:Envelope>
DestServicesBookV2
This method is to add to chart the products returned in the DestServicesAvailV2 response.
Note!! The price returned in this method, is the final price of the service. If the returned price in the method DestServicesAvailV2 do not match with this, the valid and final price will be the returned in the method DestServicesBookV2.
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesBookV2
Types of services
Code | Description |
---|---|
|
Generic |
T |
Transfers |
Generic
General data that should be obtained from the DestServicesAvailV2Response
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
objRequest | EchoToken |
Integer | This value is returned in the response of the method DestServicesAvailV2 | Required | |
objRequest | TransactionIdentifier |
String | Booking/locator reference | Optional | |
objRequest\Date | Date |
Initial date to the booking
This date must be an available date returned in the node "AvailResponseV2Detail\Date" of DestServicesAvailV2 response (If anyone has returned, the start date of the booking is equal to the Start date of the DestServicesAvailV2 request and this node should not be informed). |
YYYY-MM-DD | Optional | |
objRequest\SectorCode | String | Code of the selected sector, from among those returned in the DestServicesAvailV2 response | Optional | ||
objRequest\BookRequestV2PackageOptions | PackageID |
Integer | Product identifier package, allows package the service that is being added to the reservation. This identifier must be requested from the provider | Optional | |
objRequest\BookRequestV2PackageOptions | IncludeOtherServices |
Boolean | If the value is true, other services that exist in the reservation are packed | Optional | |
objRequest\Concepts | Array | Array of the concepts of the booking | Required | ||
objRequest\Concepts\BookRequestV2Concept\ProductBookingCode | Integer | Code of the product returned in DestServicesAvailV2 | Required | ||
objRequest\Concepts\BookRequestV2Concept\ProductCode | Integer | ProductCode of the product returned in static data (StaticMasterData=Default) | Optional | ||
objRequest\Concepts\BookRequestV2Concept\ConceptCode | Integer | ConceptCode of the producto/concept returned in static data (StaticMasterData=Default) | Optional | ||
objRequest\Concepts\BookRequestV2Concept\Duration | Boolean | Duration of service, mandatory only for products with variable duration (products with value -1 in ProductDays node of static data method) and added with the ProductCode node | Optional | ||
objRequest\Concepts\BookRequestV2Concept\Quantity | Integer | Quantity of the concepts to book | Required | ||
objRequest\Concepts\BookRequestV2Concept\Hour | String | Hour returned in the BookOptions of DestServicesAvailV2 | --:-- | Optional | |
objRequest\Concepts\BookRequestV2Concept\LangID | String | Language returned in the BookOptions of DestServicesAvailV2 | Optional | ||
objRequest\Concepts\BookRequestV2Concept\ConceptBookingCode | String | Code of the concept returned in DestServicesAvailV2 | Required | ||
objRequest\Concepts\BookRequestV2Concept\OptionalDetails | Array | Array of optional details to be reserved | Optional | ||
objRequest\Concepts\BookRequestV2Concept\OptionalDetails\OptionalDetail | DetailBookingCode |
String | Value returned in DestServicesAvailV2 | Required | |
objRequest\Concepts\BookRequestV2Concept\OptionalDetails\OptionalDetail | Quantity |
Integer | Quantity of the details to book | Required | |
objRequest\CancelBookingItems | Array | Array of booking items to cancel | Optional | ||
objRequest\CancelBookingItems\BookingItemIdentifier | Integer | Identifier of the element to cancel | Required |
Node definition Response
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesBookV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest EchoToken="8473933" PrimaryLangID="IDLANGUAGE"> <ws:Date>YYYY-MM-DD</ws:Date> <ws:Concepts> <ws:BookRequestV2Concept> <ws:ProductBookingCode>1</ws:ProductBookingCode> <ws:Quantity>2</ws:Quantity> <ws:Hour>17:00</ws:Hour> <ws:ConceptBookingCode>8330-11967556</ws:ConceptBookingCode> </ws:BookRequestV2Concept> <ws:BookRequestV2Concept> <ws:ProductBookingCode>2</ws:ProductBookingCode> <ws:Quantity>1</ws:Quantity> <ws:Hour>17:00</ws:Hour> <ws:ConceptBookingCode>8331-11967556</ws:ConceptBookingCode> </ws:BookRequestV2Concept> </ws:Concepts> </ws:objRequest> <CancelBookingItems> <BookingItemIdentifier>852456</BookingItemIdentifier> </CancelBookingItems> </ws:DestServicesBookV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesBookV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesBookV2Result EchoToken="8473933" PrimaryLangID="ES" TransactionIdentifier="2653R9" ResResponseType="Pending"> <Header ResponseTimestamp="2019-12-10T16:26:14.2137883+01:00" MillisecondProcessingTime="17867" Endpoint="demo.xml.com"/> <BookingExpirationDate>2022-08-24T10:52:00</BookingExpirationDate> <BookingExpirationMinutesLeft>39</BookingExpirationMinutesLeft> <Products> <BookResponseV2Product> <Status>Pending</Status> <ProductCode>51157</ProductCode> <ProductName>OFERTA A Entrada Adult</ProductName> <ProductDays>1</ProductDays> <ProductBookingCode>0</ProductBookingCode> <StayDateRange Start="2020-01-24T00:00:00" End="2020-01-24T00:00:00"/> <Comments> <Comment> <Text>Entrada prevista para el día 24/01/2020 a las 17:00</Text> </Comment> </Comments> <CancelPenalties> <CancelPenalty Start="2022-11-15T00:00:00+01:00" End="2022-12-09T00:00:00+01:00"> <AmountPercent Amount="40.45000" CurrencyCode="EUR" /> <CancelPenaltiesStartDate>0001-01-01T00:00:00</CancelPenaltiesStartDate> </CancelPenalty> <CancelPenalty Start="2022-12-10T00:00:00" End="2022-12-17T00:00:00"> <AmountPercent Amount="80.9000" CurrencyCode="EUR" /> <CancelPenaltiesStartDate>0001-01-01T00:00:00</CancelPenaltiesStartDate> </CancelPenalty> </CancelPenalties> <CancelPenaltiesStartDate>2021-12-17T00:00:00</CancelPenaltiesStartDate> <CancelPenaltiesDescription>Cancelando entre el día 15/11/2022 y el día 09/12/2022: 40,45 € Cancelando entre el día 10/12/2022 y el día 17/12/2022: 80,90 € * Se toma como referencia la hora local del destino en el que se encuentra ubicado el hotel/actividad.</CancelPenaltiesDescription> <ProviderLocator>Z58X8D</ProviderLocator> <Concepts> <BookResponseV2Concept> <ConceptCode>16859</ConceptCode> <ConceptName>Oferta A tarda: termoludic adult</ConceptName> <Quantity>2</Quantity> <ConceptBookingCode>8330-11967556</ConceptBookingCode> <AgeFrom xsi:nil="true"/> <AgeTo xsi:nil="true"/> <IsChild>false</IsChild> <StartTime>17:00</StartTime> <Duration>0</Duration> <Questions> <Question Code="HTLOPCIONAL" Mandatory="false"> <Name>Por favor informe los detalles de su alojamiento (con dirección completa) en la ciudad del tour</Name> </Question> <Question Code="HTLOBLIGATORIO" Mandatory="true"> <Name>Por favor informe los detalles de su alojamiento (con dirección completa) en la ciudad del tour</Name> </Question> <Question Code="MENU" Mandatory="true"> <Name>Decida el menu entre las diferentes opciones</Name> <Responses> <string>Pescado</string> <string>Carne</string> <string>Pasta</string> </Responses> </Question> </Questions> <Answers> <Answer Code="HTLOPCIONAL"/> <Answer Code="HTLOBLIGATORIO"/> <Answer Code="MENU"/> </Answers> <Details> <BookResponseV2Detail> <DetailName>Oferta A tarda: termoludic adult</DetailName> <DetailBookingCode/> <Date>2020-01-24T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="56" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>56</SellingPrice> <CommissionableAmount>56</CommissionableAmount> <NotCommissionableAmount>0</NotCommissionableAmount> <CommissionAmount>0</CommissionAmount> <NetAmount>56</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </BookResponseV2Detail> </Details> </BookResponseV2Concept> </Concepts> <BookingItemIdentifier>5890672</BookingItemIdentifier> </BookResponseV2Product> <BookResponseV2Product> <Status>Pending</Status> <ProductCode>51158</ProductCode> <ProductName>OFERTA A Entrada Infant</ProductName> <ProductDays>1</ProductDays> <ProductBookingCode>0</ProductBookingCode> <StayDateRange Start="2020-01-24T00:00:00" End="2020-01-24T00:00:00"/> <Comments> <Comment> <Text>Entrada prevista para el día 24/01/2020 a las 17:00</Text> </Comment> </Comments> <CancelPenaltiesStartDate xsi:nil="true"/> <ProviderLocator>Z58X8D</ProviderLocator> <Concepts> <BookResponseV2Concept> <ConceptCode>16860</ConceptCode> <ConceptName>Oferta A termoludic infant 5 - 8 anys</ConceptName> <Quantity>1</Quantity> <ConceptBookingCode>8331-11967556</ConceptBookingCode> <AgeFrom xsi:nil="true"/> <AgeTo xsi:nil="true"/> <IsChild>false</IsChild> <StartTime>17:00</StartTime> <Duration>0</Duration> <Details> <BookResponseV2Detail> <DetailName>Oferta A termoludic infant 5 - 8 anys</DetailName> <DetailBookingCode/> <Date>2020-01-24T00:00:00</Date> <OnRequest>false</OnRequest> <Total> <Taxes Amount="20.25" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>20.25</SellingPrice> <CommissionableAmount>20.25</CommissionableAmount> <NotCommissionableAmount>0</NotCommissionableAmount> <CommissionAmount>0</CommissionAmount> <NetAmount>20.25</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </BookResponseV2Detail> </Details> </BookResponseV2Concept> </Concepts> <BookingItemIdentifier>5890673</BookingItemIdentifier> </BookResponseV2Product> </Products> </DestServicesBookV2Result> </DestServicesBookV2Response> </soap:Body> </soap:Envelope>
Tranfers
Transfer data that should be obtained from the DestServicesAvailV2Response
Pick-up and drop-off times
Both the response of the DestServicesBookV2 method and the DestServicesCommitV2 method will return the times that will finally appear in the reservation. Therefore, if a transfer does not have the duration configured, only one timetable will be returned based on what is indicated in the valuation.
If the transfer does have the duration configured, the pick-up and drop-off times will be returned.
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesBookV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest EchoToken="8473933" PrimaryLangID="IDLANGUAGE"> <ws:ProductBookingCode>28</ws:ProductBookingCode> <ws:Concepts> <ws:BookRequestV2Concept> <ws:ConceptBookingCode>1088</ws:ConceptBookingCode> </ws:BookRequestV2Concept> </ws:Concepts> </ws:objRequest> </ws:DestServicesBookV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesBookV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesBookV2Result EchoToken="262" PrimaryLangID="ES" TransactionIdentifier="9B8ANE" ResResponseType="Pending"> <BookingExpirationDate>2022-08-24T10:52:00</BookingExpirationDate> <BookingExpirationMinutesLeft>39</BookingExpirationMinutesLeft> <Header ResponseTimestamp="2019-01-14T17:00:33.1750525+01:00" MillisecondProcessingTime="12517" Endpoint="demo.xml.com"/> <Products> <BookResponseV2Product> <ProductCode>1352</ProductCode> <ProductName>Coche Berlina Tipo A</ProductName> <ProductDays>1</ProductDays> <ProductBookingCode>1</ProductBookingCode> <StayDateRange Start="2019-01-19T00:00:00" End="2019-01-19T00:00:00"/> <CancelPenaltiesStartDate xsi:nil="true"/> <ProviderLocator>Z58X8D</ProviderLocator> <Concepts> <BookResponseV2Concept> <ConceptCode>1398</ConceptCode> <ConceptName>Coche Berlina Tipo A</ConceptName> <Quantity>1</Quantity> <ConceptBookingCode>72</ConceptBookingCode> <AgeFrom>0</AgeFrom> <AgeTo>99</AgeTo> <IsChild>false</IsChild> <PickUpTime>09:00</PickUpTime> <Duration>0</Duration> <Details> <BookResponseV2Detail> <DetailName>Coche Berlina Tipo A</DetailName> <DetailBookingCode/> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="52.5000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>52.5000</SellingPrice> <CommissionableAmount>52.5000</CommissionableAmount> <NotCommissionableAmount>0</NotCommissionableAmount> <CommissionAmount>0</CommissionAmount> <NetAmount>52.5000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </BookResponseV2Detail> </Details> </BookResponseV2Concept> </Concepts> </BookResponseV2Product> <BookResponseV2Product> <ProductCode>1352</ProductCode> <ProductName>Coche Berlina Tipo A</ProductName> <ProductDays>1</ProductDays> <ProductBookingCode>1</ProductBookingCode> <StayDateRange Start="2019-01-27T00:00:00" End="2019-01-27T00:00:00"/> <CancelPenaltiesStartDate xsi:nil="true"/> <ProviderLocator>Z58X8D</ProviderLocator> <Concepts> <BookResponseV2Concept> <ConceptCode>1398</ConceptCode> <ConceptName>Coche Berlina Tipo A</ConceptName> <Quantity>1</Quantity> <ConceptBookingCode>73</ConceptBookingCode> <AgeFrom>0</AgeFrom> <AgeTo>99</AgeTo> <IsChild>false</IsChild> <DeliveryTime>15:30</DeliveryTime> <Duration>0</Duration> <Details> <BookResponseV2Detail> <DetailName>Coche Berlina Tipo A</DetailName> <DetailBookingCode/> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="52.5000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>52.5000</SellingPrice> <CommissionableAmount>52.5000</CommissionableAmount> <NotCommissionableAmount>0</NotCommissionableAmount> <CommissionAmount>0</CommissionAmount> <NetAmount>52.5000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </BookResponseV2Detail> </Details> </BookResponseV2Concept> </Concepts> </BookResponseV2Product> </Products> </DestServicesBookV2Result> </DestServicesBookV2Response> </soap:Body> </soap:Envelope>
DestServicesCommitV2
This method is to commit the booking
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesCommitV2
General data that should be obtained from the DestServicesBookV2Response
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
objRequest | EchoToken |
Integer | This value is returned in the response of the method DestServicesBookV2 | Required | |
objRequest | TransactionIdentifier |
String | This value is returned in the response of the method DestServicesBookV2 and represents the locator of the booking | Required | |
objRequest | ClientReference |
String | In this attribute you can put your booking locator or any reference for the booking | Optional | |
objRequest\InternalNotes | String | Internal notes of the booking | Optional | ||
objRequest\Concepts | Array | Array of the concepts of the booking | Required | ||
objRequest\Concepts\CommitRequestV2Concept\ConceptBookingCode | String | Code of the concept returned in DestServicesBookV2 | Required | ||
objRequest\Concepts\CommitRequestV2Concept\Comments | String | Observations for the provider | Optional | ||
objRequest\Concepts\CommitRequestV2Concept\Answers | Array | Array of answers to the DestServicesBookV2Result questions | Optional | ||
objRequest\Concepts\CommitRequestV2Concept\Answers\Answer | Code |
String | Code of the question | Required | |
objRequest\Concepts\CommitRequestV2Concept\Answers\Answer | RPH |
Integer | Identifier of the pax to whom the question relates. If the question returns the node RPH in the method DestServicesBookV2, this attribute is mandatory. | Required (if is returned in the DestServicesBookV2 method) | |
objRequest\Concepts\CommitRequestV2Concept\Answers\Answer | String | Answer of the question | Required | ||
objRequest\Concepts\CommitRequestV2Concept\Guests | Array | Array of the pax of the booking | Required | ||
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\GivenName | String | Name of the passenger | Required | ||
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\Surname | String | Surname of the passenger | Required | ||
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\PhoneNumber | String | Phone number of the passenger | Optional | ||
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\BirthDate | Date | Birth date of the passenger | YYYY-MM-DD | Required | |
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\Age | Integer | Age of the passenger | Required | ||
objRequest\Concepts\CommitRequestV2Concept\Guests\Guest\IsChild | Boolean | This value is to indicate if the passenger is an adult or child | true/false | Required | |
objRequest\Concepts\CommitRequestV2Concept\Transfer | This node is only for Transfer bookings | Optional | |||
objRequest\Concepts\CommitRequestV2Concept\Transfer | TransportCompany | String | Name of the company of the transport in which the passenger arrives | Optional | |
objRequest\Concepts\CommitRequestV2Concept\Transfer | TransportData | String | Information about the transport in which the passenger arrives (Ex.: Flight number) | Optional | |
objRequest\Concepts\CommitRequestV2Concept\Transfer | TransportCompanyOrigin | String | Name of the company of the transport in transfer origin | Optional | |
objRequest\Concepts\CommitRequestV2Concept\Transfer | TransportDataOrigin | String | Information about the transport in transfer origin (Ex.: Flight number) | Optional | |
objRequest\Concepts\CommitRequestV2Concept\Transfer | TransportCompanyDestination | String | Name of the company of the transport in transfer destination | Optional | |
objRequest\Concepts\CommitRequestV2Concept\Transfer | TransportDataDestination | String | Information about the transport in transfer destination (Ex.: Flight number) | Optional |
Node definition Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
DestServicesCommitV2Result | TransactionIdentifier |
String | Locator of the booking | Required | |
DestServicesCommitV2Result | ResResponseType |
String | State of the booking | Commited / Cancelled / Pending / Rejected | Required |
DestServicesCommitV2Result\Products | Array | Array of products | Required | ||
DestServicesCommitV2Result\Products\BookResponseV2Product\Status | String | Status of the product booking | Commited / Cancelled / Pending / Rejected | Required | |
DestServicesCommitV2Result\Products\BookResponseV2Product\ProductCode | String | Code of the product | Required | ||
DestServicesCommitV2Result\Products\BookResponseV2Product\ProductName | String | Name of the product | Required | ||
DestServicesCommitV2Result\Products\BookResponseV2Product\StayDateRange | Date information | Required | |||
DestServicesCommitV2Result\Products\BookResponseV2Product\StayDateRange | Start |
Date | Date from | YYYY-MM-DD | Required |
DestServicesCommitV2Result\Products\BookResponseV2Product\StayDateRange | End |
Date | Date to | YYYY-MM-DD | Required |
DestServicesCommitV2Result\Products\BookResponseV2Product\Comments | Array | Array of comments | Optional | ||
DestServicesCommitV2Result\Products\BookResponseV2Product\Comments\Comment | Text |
String | Product observation | Required | |
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties | Array | Array of cancel penalties | Optional | ||
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty | Start |
Date | Start date of the application of this cancel penalty | YYYY-MM-DD | Required |
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty | End |
Date | End date of the application of this cancel penalty | YYYY-MM-DD | Required |
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercent | Percent |
Integer | Percentage of penalty over the amount of the product | YYYY-MM-DD | Optional |
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercent | NmbrOfNights |
Integer | Number of nights of penalty | Optional | |
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercent | Amount |
Decimal | Amount of the penalty | Optional | |
DestServicesCommitV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercent | CurrencyCode |
String | Currency of the amount of the penalty | Optional | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Quantity | Integer | Return the booked quantity of the detail (only in optional details) | Optional | ||
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total | Price information detail | Required | |||
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes | Amount |
Decimal | Total amount | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes | CurrencyCode |
String | Currency code | CURRENCY | Required |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes | NumDecimals |
Integer | Number of decimals | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | Commission information | Required | |||
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | SellingPrice |
Decimal | Amount for selling | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | CommissionableAmount |
Decimal | Comisionable amount | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | NotCommissionableAmount |
Decimal | No commissionable amount | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | CommissionAmount |
Decimal | Commision amount | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | NetAmount |
Decimal | Net amount | Required | |
BookResponseV2Product\ProviderLocator | String | External booking locator. This is not always returned, check with your provider if you need it. | Optional | ||
BookResponseV2Product\BookingItemIdentifier | Integer | Identifier of the product element in the booking. | Required | ||
BookResponseV2Product\Voucher | Node with the information about the voucher | Optional | |||
BookResponseV2Product\Voucher | Type |
String | Type of the voucher | BAR_CODE / QR_CODE | Required |
BookResponseV2Product\Voucher | Value |
String | Value of the voucher | Required |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesCommitV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest PrimaryLangID="IDLANGUAGE" EchoToken="4974" TransactionIdentifier="DN3C43" ClientReference="XXXXXXX"> <ws:Concepts> <ws:CommitRequestV2Concept> <ws:ConceptBookingCode>795</ws:ConceptBookingCode> <ws:Answers> <ws:Answer Code="HTLOBLIGATORIO">The hotel is in New York City</ws:Answer> <ws:Answer Code="MENU">Pescado</ws:Answer> </ws:Answers> <ws:Guests> <ws:Guest> <ws:GivenName>Pax name 1</ws:GivenName> <ws:Surname>Pax surname 1</ws:Surname> <ws:BirthDate>YYYY-MM-DD</ws:BirthDate> <ws:Age>35</ws:Age> <ws:IsChild>false</ws:IsChild> <ws:PhoneNumber>960000002</ws:PhoneNumber> </ws:Guest> <ws:Guest> <ws:GivenName>Pax name 2</ws:GivenName> <ws:Surname>Pax surname 2</ws:Surname> <ws:BirthDate>YYYY-MM-DD</ws:BirthDate> <ws:Age>35</ws:Age> <ws:IsChild>false</ws:IsChild> </ws:Guest> <ws:Guest> <ws:GivenName>Pax name 3</ws:GivenName> <ws:Surname>Pax surname 3</ws:Surname> <ws:BirthDate>YYYY-MM-DD</ws:BirthDate> <ws:Age>4</ws:Age> <ws:IsChild>true</ws:IsChild> </ws:Guest> </ws:Guests> <ws:Transfer TransportData="IB780"/> </ws:CommitRequestV2Concept> </ws:Concepts> </ws:objRequest> </ws:DestServicesCommitV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesCommitV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesCommitV2Result EchoToken="262" PrimaryLangID="ES" TransactionIdentifier="D6JL8E" ResResponseType="Commited"> <Header ResponseTimestamp="2019-01-14T17:28:56.1806425+01:00" MillisecondProcessingTime="52688" Endpoint="demo.xml.com"/> <Products> <BookResponseV2Product> <Status>Commited</Status> <ProductCode>1352</ProductCode> <ProductName>Traslado XML (PRIVADO)</ProductName> <ProductDays>1</ProductDays> <ProductBookingCode>-1</ProductBookingCode> <StayDateRange Start="2019-01-19T00:00:00" End="2019-01-19T00:00:00"/> <CancelPenaltiesStartDate xsi:nil="true"/> <ProviderLocator>Z58X8D</ProviderLocator> <Voucher> <Type>QR_CODE</Type> <Value>##2025396##kf195a##5921423</Value> </Voucher> <Concepts> <BookResponseV2Concept> <ConceptCode>1398</ConceptCode> <ConceptName>Coche Berlina Tipo A</ConceptName> <Quantity>1</Quantity> <ConceptBookingCode>42</ConceptBookingCode> <AgeFrom>0</AgeFrom> <AgeTo>99</AgeTo> <IsChild>false</IsChild> <PickUpTime>09:00</PickUpTime> <Duration>0</Duration> <Guests> <Guest> <GivenName>Jose</GivenName> <Surname>Vicente</Surname> <BirthDate xsi:nil="true"/> <Age>0</Age> <IsChild>false</IsChild> </Guest> </Guests> <Details> <BookResponseV2Detail> <DetailName>Coche Berlina Tipo A</DetailName> <DetailBookingCode/> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="52.5000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>52.5000</SellingPrice> <CommissionableAmount>52.5000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>52.5000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </BookResponseV2Detail> </Details> </BookResponseV2Concept> </Concepts> </BookResponseV2Product> <BookResponseV2Product> <Status>Commited</Status> <ProductCode>1352</ProductCode> <ProductName>Traslado XML (PRIVADO)</ProductName> <ProductDays>1</ProductDays> <ProductBookingCode>-1</ProductBookingCode> <StayDateRange Start="2019-01-19T00:00:00" End="2019-01-19T00:00:00"/> <CancelPenaltiesStartDate xsi:nil="true"/> <ProviderLocator>Z58X8D</ProviderLocator> <Voucher> <Type>QR_CODE</Type> <Value>##2025396##kf195a##5921423</Value> </Voucher> <Concepts> <BookResponseV2Concept> <ConceptCode>1398</ConceptCode> <ConceptName>Coche Berlina Tipo A</ConceptName> <Quantity>1</Quantity> <ConceptBookingCode>43</ConceptBookingCode> <AgeFrom>0</AgeFrom> <AgeTo>99</AgeTo> <IsChild>false</IsChild> <DeliveryTime>15:30</DeliveryTime> <Duration>0</Duration> <Guests> <Guest> <GivenName>Jose V</GivenName> <Surname>Ferrero</Surname> <BirthDate xsi:nil="true"/> <Age>0</Age> <IsChild>false</IsChild> </Guest> </Guests> <Details> <BookResponseV2Detail> <DetailName>Coche Berlina Tipo A</DetailName> <DetailBookingCode/> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="52.5000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>52.5000</SellingPrice> <CommissionableAmount>52.5000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>52.5000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </BookResponseV2Detail> </Details> </BookResponseV2Concept> </Concepts> <BookingItemIdentifier>5890672</BookingItemIdentifier> </BookResponseV2Product> </Products> </DestServicesCommitV2Result> </DestServicesCommitV2Response> </soap:Body> </soap:Envelope>
Notes
QR/BARCODE generation: To generate de QR or BARCODE and put this in the final voucher, you need generate a image of the type indicated in the Voucher/Type node (QR or BarCode) with the value returned in the Voucher/Value node. This image must be included in the final voucher so that it can be read at the time of accessing the service.
IMPORTANT: in the event that a response from DestServicesCommitV2 fails or does not return a response, under no circumstances should the reservation be resubmitted, you should check the status of the reservation and services with your supplier (there may be confirmed services with active cancellation fees).
DestServicesReadV2
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesReadV2
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
DestServicesReadV2\objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
DestServicesReadV2\objRequest | TransactionIdentifier |
String | This value is returned in the response of the method DestServicesBookV2 and represents the locator of the booking | Required |
Node definition Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
DestServicesReadV2Result | TransactionIdentifier |
String | Locator of the booking | Required | |
DestServicesReadV2Result | ResResponseType |
String | State of the booking | Commited / Cancelled / Pending / Rejected | Required |
DestServicesReadV2Result\Products | Array | Array of products | Required | ||
DestServicesReadV2Result\Products\BookResponseV2Product\Status | String | Status of the product booking | Commited / Cancelled / Pending / Rejected | Required | |
DestServicesReadV2Result\Products\BookResponseV2Product\ProductCode | String | Code of the product | Required | ||
DestServicesReadV2Result\Products\BookResponseV2Product\ProductName | String | Name of the product | Required | ||
DestServicesReadV2Result\Products\BookResponseV2Product\StayDateRange | Date information | Required | |||
DestServicesReadV2Result\Products\BookResponseV2Product\StayDateRange | Start |
Date | Date from | YYYY-MM-DD | Required |
DestServicesReadV2Result\Products\BookResponseV2Product\StayDateRange | End |
Date | Date to | YYYY-MM-DD | Required |
DestServicesReadV2Result\Products\BookResponseV2Product\CancelPenalties | Array | Array of cancel penalties | Optional | ||
DestServicesReadV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty | Start |
Date | Start date of the application of this cancel penalty | YYYY-MM-DD | Required |
DestServicesReadV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty | End |
Date | End date of the application of this cancel penalty | YYYY-MM-DD | Required |
DestServicesReadV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercent | Percent |
Integer | Percentage of penalty over the amount of the product | YYYY-MM-DD | Optional |
DestServicesReadV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercent | NmbrOfNights |
Integer | Number of nights of penalty | Optional | |
DestServicesReadV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercent | Amount |
Decimal | Amount of the penalty | Optional | |
DestServicesReadV2Result\Products\BookResponseV2Product\CancelPenalties\CancelPenalty\AmountPercent | CurrencyCode |
String | Currency of the amount of the penalty | Optional | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total | Price information detail | Required | |||
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes | Amount |
Decimal | Total amount | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes | CurrencyCode |
String | Currency code | CURRENCY | Required |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes | NumDecimals |
Integer | Number of decimals | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | Commission information | Required | |||
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | SellingPrice |
Decimal | Amount for selling | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | CommissionableAmount |
Decimal | Comisionable amount | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | NotCommissionableAmount |
Decimal | No commissionable amount | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | CommissionAmount |
Decimal | Commision amount | Required | |
BookResponseV2Product\Concepts\BookResponseV2Concept\Details\BookResponseV2Detail\Total\Taxes\Commissions | NetAmount |
Decimal | Net amount | Required | |
BookResponseV2Product\ProviderLocator | String | External booking locator. This is not always returned, check with your provider if you need it. | Optional | ||
BookResponseV2Product\Voucher | Node with the information about the voucher | Optional | |||
BookResponseV2Product\Voucher | Type |
String | Type of the voucher | BAR_CODE / QR_CODE | Required |
BookResponseV2Product\Voucher | Value |
String | Value of the voucher | Required |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesReadV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest PrimaryLangID="IDLANGUAGE" TransactionIdentifier="D6JL8E"/> </ws:DestServicesReadV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesReadV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesReadV2Result EchoToken="262" PrimaryLangID="ES" TransactionIdentifier="D6JL8E" ResResponseType="Commited"> <Header ResponseTimestamp="2019-01-14T17:34:47.8259233+01:00" MillisecondProcessingTime="1439" Endpoint="demo.xml.com"/> <Products> <BookResponseV2Product> <Status>Commited</Status> <ProductCode>1352</ProductCode> <ProductName>Traslado XML (PRIVADO)</ProductName> <ProductDays>1</ProductDays> <ProductBookingCode>1</ProductBookingCode> <StayDateRange Start="2019-01-19T00:00:00" End="2019-01-19T00:00:00"/> <CancelPenaltiesStartDate xsi:nil="true"/> <ProviderLocator>Z58X8D</ProviderLocator> <Concepts> <BookResponseV2Concept> <ConceptCode>1398</ConceptCode> <ConceptName>Coche Berlina Tipo A</ConceptName> <Quantity>1</Quantity> <ConceptBookingCode>42</ConceptBookingCode> <AgeFrom>0</AgeFrom> <AgeTo>99</AgeTo> <IsChild>false</IsChild> <PickUpTime>09:00</PickUpTime> <Duration>0</Duration> <Guests> <Guest> <GivenName>Jose</GivenName> <Surname>Vicente</Surname> <BirthDate xsi:nil="true"/> <PhoneNumber/> <Email/> <DocumentID/> <Age>0</Age> <IsChild>false</IsChild> </Guest> </Guests> <Details> <BookResponseV2Detail> <DetailName>Coche Berlina Tipo A</DetailName> <DetailBookingCode/> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="52.5000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>52.5000</SellingPrice> <CommissionableAmount>52.5000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>52.5000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </BookResponseV2Detail> </Details> </BookResponseV2Concept> </Concepts> </BookResponseV2Product> <BookResponseV2Product> <Status>Cancelled</Status> <ProductCode>1352</ProductCode> <ProductName>Traslado XML (PRIVADO)</ProductName> <ProductDays>1</ProductDays> <ProductBookingCode>1</ProductBookingCode> <StayDateRange Start="2019-01-19T00:00:00" End="2019-01-19T00:00:00"/> <CancelPenaltiesStartDate xsi:nil="true"/> <ProviderLocator>Z58X8D</ProviderLocator> <Concepts> <BookResponseV2Concept> <ConceptCode>1398</ConceptCode> <ConceptName>Coche Berlina Tipo A</ConceptName> <Quantity>1</Quantity> <ConceptBookingCode>43</ConceptBookingCode> <AgeFrom>0</AgeFrom> <AgeTo>99</AgeTo> <IsChild>false</IsChild> <DeliveryTime>15:30</DeliveryTime> <Duration>0</Duration> <Guests> <Guest> <GivenName>Jose V</GivenName> <Surname>Ferrero</Surname> <BirthDate xsi:nil="true"/> <PhoneNumber/> <Email/> <DocumentID/> <Age>0</Age> <IsChild>false</IsChild> </Guest> </Guests> <Details> <BookResponseV2Detail> <DetailName>Coche Berlina Tipo A</DetailName> <DetailBookingCode/> <Date xsi:nil="true"/> <OnRequest>false</OnRequest> <Total> <Taxes Amount="52.5000" CurrencyCode="EUR" NumDecimals="2"> <Commissions> <SellingPrice>52.5000</SellingPrice> <CommissionableAmount>52.5000</CommissionableAmount> <NotCommissionableAmount>0.0000</NotCommissionableAmount> <CommissionAmount>0.0000</CommissionAmount> <NetAmount>52.5000</NetAmount> </Commissions> </Taxes> </Total> <Offer>false</Offer> </BookResponseV2Detail> </Details> </BookResponseV2Concept> </Concepts> </BookResponseV2Product> </Products> </DestServicesReadV2Result> </DestServicesReadV2Response> </soap:Body> </soap:Envelope>
DestServicesCancellationFeesV2
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesCancellationFeesV2
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
DestServicesCancellationFeesV2\objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
DestServicesCancellationFeesV2\objRequest | TransactionIdentifier |
String | This value is returned in the response of the method DestServicesBookV2 and represents the locator of the booking | Required |
Node definition Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
DestServicesCancellationFeesV2Result | TransactionIdentifier |
String | Locator of the booking | Required | |
DestServicesCancellationFeesV2Result | ResResponseType |
String | State of the booking | Commited / Cancelled / Pending / Rejected | Required |
DestServicesCancellationFeesV2Result\CancellationFees | Amount |
Decimal | Amount of the penalty | Required | |
DestServicesCancellationFeesV2Result\CancellationFees | CurrencyCode |
String | Currency code | CURRENCY | Required |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesCancellationFeesV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest PrimaryLangID="IDLANGUAGE" TransactionIdentifier="D6JL8E"/> </ws:DestServicesCancellationFeesV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesCancellationFeesV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesCancellationFeesV2Result EchoToken="4939" PrimaryLangID="ES" TransactionIdentifier="IIAR25" ResResponseType="Commited"> <Header ResponseTimestamp="2020-01-23T09:01:05.8449552+01:00" MillisecondProcessingTime="94" Endpoint="demo.xml.com"/> <CancelPenalties> <CancelPenalty Start="2020-06-10T00:00:00" End="2020-06-08T00:00:00"> <AmountPercent Percent="100" CurrencyCode="EUR"/> <ProductCode>TRRMPLFCOCC</ProductCode> <ProductBookingCode>1</ProductBookingCode> <ProductName>Traslado entre Aeropuerto de Fiumicino (FCO) y Centro Ciudad</ProductName> <StayDateRange Start="2020-06-10T00:00:00" End="2020-06-10T00:00:00"/> <CancelPenaltyDescription>48 h 100%</CancelPenaltyDescription> <CancelPenaltiesStartDate>2020-06-10T00:00:00</CancelPenaltiesStartDate> </CancelPenalty> <CancelPenalty Start="2020-06-12T00:00:00" End="2020-06-10T00:00:00"> <AmountPercent Percent="100" CurrencyCode="EUR"/> <ProductCode>TRRMPLFCOCC</ProductCode> <ProductBookingCode>1</ProductBookingCode> <ProductName>Traslado entre Aeropuerto de Fiumicino (FCO) y Centro Ciudad</ProductName> <StayDateRange Start="2020-06-12T00:00:00" End="2020-06-12T00:00:00"/> <CancelPenaltyDescription>48 h 100%</CancelPenaltyDescription> <CancelPenaltiesStartDate>2020-06-12T00:00:00</CancelPenaltiesStartDate> </CancelPenalty> </CancelPenalties> <CancelPenaltiesStartDate>2020-06-12T00:00:00</CancelPenaltiesStartDate> <CancelPenaltiesDescription>48 h 100%</CancelPenaltiesDescription> <CancellationFees Amount="0" CurrencyCode="EUR" NumDecimals="2"/> </DestServicesCancellationFeesV2Result> </DestServicesCancellationFeesV2Response> </soap:Body> </soap:Envelope>
DestServicesCancelV2
{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesCancelV2
Node definition Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
DestServicesCancelV2\objRequest | PrimaryLangID |
String | Language code | LANGUAGE | Required |
DestServicesCancelV2\objRequest | TransactionIdentifier |
String | This value is returned in the response of the method DestServicesBookV2 and represents the locator of the booking | Required | |
DestServicesCancelV2\objRequest\CancelBookingItems | Array | Array of booking items to cancel. This only must be informed in partial cancellations. To cancel an entire booking, this node must not be informed. | Optional | ||
DestServicesCancelV2\objRequest\CancelBookingItems\BookingItemIdentifier | Integer | Identifier of the element to cancel | Required |
Node definition Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
DestServicesCancelV2Result | TransactionIdentifier |
String | Locator of the booking | Required | |
DestServicesCancelV2Result | ResResponseType |
String | State of the booking | Commited / Cancelled / Pending / Rejected | Required |
DestServicesCancelV2Result\CancellationFees | Amount |
Decimal | Amount of the penalty | Required | |
DestServicesCancelV2Result\CancellationFees | CurrencyCode |
String | Currency code | CURRENCY | Required |
DestServicesCancelV2Result\CanceledBookingItems | Array | Array of booking items canceled | Optional | ||
DestServicesCancelV2Result\CanceledBookingItems\CanceledBookingItem | Canceled item | Optional | |||
DestServicesCancelV2Result\CanceledBookingItems\CanceledBookingItem | BookingItemIdentifier |
Integer | Identifier of the canceled element | Optional | |
DestServicesCancelV2Result\CanceledBookingItems\CanceledBookingItem | Amount |
Decimal | Amount of the cancellation fee of the canceled item | Optional | |
DestServicesCancelV2Result\CanceledBookingItems\CanceledBookingItem | CurrencyCode |
String | Currency code | CURRENCY | Optional |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesCancelV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest PrimaryLangID="IDLANGUAGE" TransactionIdentifier="D6JL8E"> <CancelBookingItems> <BookingItemIdentifier>852456</BookingItemIdentifier> </CancelBookingItems> </ws:objRequest> </ws:DestServicesCancelV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesCancelV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesCancelV2Result EchoToken="262" PrimaryLangID="ES" TransactionIdentifier="D6JL8E" ResResponseType="Cancelled"> <Header ResponseTimestamp="2019-01-14T17:40:58.7652637+01:00" MillisecondProcessingTime="8077" Endpoint="demo.xml.com"/> <CancelPenaltiesStartDate xsi:nil="true"/> <CancellationFees Amount="0" CurrencyCode="EUR" NumDecimals="2"/> <CanceledBookingItems> <CanceledBookingItem BookingItemIdentifier="5890675" Amount="78.900" CurrencyCode="EUR" /> </CanceledBookingItems> </DestServicesCancelV2Result> </DestServicesCancelV2Response> </soap:Body> </soap:Envelope>
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
-
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <DestServicesBookingListV2 xmlns="http://xml.dispongo.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> <TransactionIdentifier>NGRWN7</TransactionIdentifier> <ClientReference>TEST_230718_1534</ClientReference> </objRequest> </DestServicesBookingListV2> </soap:Body> </soap:Envelope>
-
<?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.dispongo.com/ws/"> <DestServicesBookingListV2Result> <Header ResponseTimestamp="2023-12-14T12:55:56.8154594+01:00" MillisecondProcessingTime="236" Endpoint="demo.xml.com" /> <Bookings> <BookingHeader> <TransactionIdentifier>NGRWN7</TransactionIdentifier> <BookingCode>2025518</BookingCode> <OpeningDate>2023-11-20T17:12:00</OpeningDate> <BookingDescription>2 DÍAS FORFAIT</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>
DestServicesStaticDataV2
See Static data section
Static data
Obtaining static data and codes needed to interact with the system
Value | Descripcion | Help |
---|---|---|
DEFAULT |
General data for products | default |
PRODUCTCONTENTS |
List of text contents of the products | Product Contents |
LOCATION |
List of system locations | location |
LOCATIONTYPE |
List of types of locations | location type |
COUNTRY |
List of countries of the system | country |
DESTINATION |
List of destinations or cities of the system | destination |
LANGUAGE |
List of system languages | language |
PRODUCTTYPE |
List of system product types | product type |
PRODUCTSUBTYPE |
Listado de subtipos de productos del sistema | product subType |
THEME |
List of system themes | theme |
CLASSOPTIONS |
List of the options in the class productos | classoptions |
DEPARTUREDATES |
List of product departure dates | departuredates |
Default
Get a list of the products of the system with their related data. Sample request and response for SOAP {YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data type | DEFAULT | Required |
ServiceTypeCode | Array | Array of DestServiceType | Required | ||
DestServiceType | String | Service Type Code | SERVICE | Required | |
StaticMasterDataFilters/CountryCode | |
Integer | Code of the requested country | Optional | |
StaticMasterDataFilters/DestinationCode | |
Integer | Code of the requested destination | Optional |
HTTP Response
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:ServiceTypeCode> <ws:DestServiceType>F</ws:DestServiceType> <ws:DestServiceType>C</ws:DestServiceType> </ws:ServiceTypeCode> <ws:StaticMasterData>DEFAULT</ws:StaticMasterData> <ws:StaticMasterDataFilters> <ws:CountryCode>197</ws:CountryCode> <ws:DestinationCode>54991</ws:DestinationCode> </ws:StaticMasterDataFilters> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<?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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2019-01-09T17:29:21.6817016+01:00" MillisecondProcessingTime="21512" Endpoint="demo.xml.com"/> <Products> <StaticDataResponseV2Product> <ServiceTypeCode>C</ServiceTypeCode> <ServiceTypeName>Clases</ServiceTypeName> <ProductCode>48345</ProductCode> <ProductName>CLASES 3 DIAS E</ProductName> <ProductTypeCode>73</ProductTypeCode> <ProductTypeName>CLASES ESQUI</ProductTypeName> <ProductSubTypeCode>148</ProductSubTypeCode> <ProductSubTypeName>Semanal 3 días</ProductSubTypeName> <DestinationCode>54991</DestinationCode> <ProductDays>3</ProductDays> <ProductPassengersType>Zero_Passengers</ProductPassengersType> <Concepts> <StaticDataResponseV2Concept> <ConceptCode>1690</ConceptCode> <ConceptName>9 Horas ADULTO/JUNIOR</ConceptName> <TypeCode>6</TypeCode> <AgeFrom>12</AgeFrom> <AgeTo>70</AgeTo> <IsChild>false</IsChild> </StaticDataResponseV2Concept> <StaticDataResponseV2Concept> <ConceptCode>1770</ConceptCode> <ConceptName>9 Horas INFANT</ConceptName> <AgeFrom>6</AgeFrom> <AgeTo>11</AgeTo> <IsChild>true</IsChild> </StaticDataResponseV2Concept> </Concepts> <Translations> <Translation> <LangID>ES</LangID> <ProductName>"Oleoturismo" desde Sevilla</ProductName> </Translation> <Translation> <LangID>EN</LangID> <ProductName>Oleotourism from Seville</ProductName> </Translation> </Translations> <Themes> <ThemeCode>26</ThemeCode> <ThemeCode>4</ThemeCode> <ThemeCode>8</ThemeCode> <ThemeCode>12</ThemeCode> <ThemeCode>27</ThemeCode> </Themes> <Sectors> <StaticDataResponseV2Sector> <SectorCode>15</SectorCode> <SectorName>Soldeu</SectorName> </StaticDataResponseV2Sector> <StaticDataResponseV2Sector> <SectorCode>16</SectorCode> <SectorName>El Tarter</SectorName> </StaticDataResponseV2Sector> </Sectors> </StaticDataResponseV2Product> </Products> <Styles> <StaticDataResponseV2Style> <StyleCode>1</StyleCode> <StyleName>ESQUÍ</StyleName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2Style> <StaticDataResponseV2Style> <StyleCode>2</StyleCode> <StyleName>SNOWBOARD</StyleName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2Style> </Styles> <Levels> <StaticDataResponseV2Level> <LevelCode>2</LevelCode> <LevelName>Nivell 1: Pista Verde</LevelName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2Level> <StaticDataResponseV2Level> <LevelCode>3</LevelCode> <LevelName>Nivell 2: Pista Azul</LevelName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2Level> <StaticDataResponseV2Level> <LevelCode>4</LevelCode> <LevelName>Nivell 3: Pista Negra</LevelName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2Level> </Levels> <ServiceLanguages> <StaticDataResponseV2ServiceLanguage> <ServiceLanguageCode>1</ServiceLanguageCode> <ServiceLanguageName>Español</ServiceLanguageName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2ServiceLanguage> <StaticDataResponseV2ServiceLanguage> <ServiceLanguageCode>5</ServiceLanguageCode> <ServiceLanguageName>Alemán</ServiceLanguageName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2ServiceLanguage> <StaticDataResponseV2ServiceLanguage> <ServiceLanguageCode>8</ServiceLanguageCode> <ServiceLanguageName>Árabe</ServiceLanguageName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2ServiceLanguage> </ServiceLanguages> <ConceptTypes> <StaticDataResponseV2ConceptType> <ConceptTypeCode>2</ConceptTypeCode> <ConceptType>Tipo 2</ConceptType> <LangID>ES</LangID> </StaticDataResponseV2ConceptType> <StaticDataResponseV2ConceptType> <ConceptTypeCode>2</ConceptTypeCode> <ConceptType>Type 2</ConceptType> <LangID>EN</LangID> </StaticDataResponseV2ConceptType> <StaticDataResponseV2ConceptType> <ConceptTypeCode>6</ConceptTypeCode> <ConceptType>Tipo 6</ConceptType> <LangID>ES</LangID> </StaticDataResponseV2ConceptType> <StaticDataResponseV2ConceptType> <ConceptTypeCode>6</ConceptTypeCode> <ConceptType>Type 6</ConceptType> <LangID>EN</LangID> </StaticDataResponseV2ConceptType> </ConceptTypes> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
ProductContents
Get a list of the text contents of the products. Sample request and response for SOAP {YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data type | PRODUCTCONTENTS | Required |
ServiceTypeCode | Array | Array of DestServiceType | Required | ||
DestServiceType | String | Service Type Code | SERVICE | Required | |
StaticMasterDataFilters/CountryCode | |
Integer | Code of the requested country | Optional | |
StaticMasterDataFilters/DestinationCode | |
Integer | Code of the requested destination | Optional |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
ProductContents | Array | Array of product | Required | ||
ProductContent | Content of product | Required | |||
ProductCode | Integer | Product code | Required | ||
Contents | Array | Array of text contents | Required | ||
Content | Text content item | Required | |||
LangID | String | Language code | Required | ||
Title | String | Title of the content | Required | ||
Content | String | Text content | Required | ||
Order | Integer | Order of the text | Required | ||
Images | Array | Producto image list | Optional |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:ServiceTypeCode> <ws:DestServiceType>F</ws:DestServiceType> <ws:DestServiceType>A</ws:DestServiceType> </ws:ServiceTypeCode> <ws:StaticMasterData>PRODUCTCONTENTS</ws:StaticMasterData> <ws:StaticMasterDataFilters> <ws:CountryCode>197</ws:CountryCode> <ws:DestinationCode>54991</ws:DestinationCode> </ws:StaticMasterDataFilters> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2020-03-31T09:07:36.599679+02:00" MillisecondProcessingTime="700" Endpoint="demo.xml.ineedtours.dispongo.com"/> <ProductContents> <ProductContent> <ProductCode>588</ProductCode> <Contents> <Content> <LangID>ES</LangID> <Title>Descripción general</Title> <Content><![CDATA[<p>Aprende los secretos del aceite de oliva<br /> <br /> Durante este recorrido de media jornada visitaremos una típica hacienda andaluza en la comarca sevillana de Los Alcores para descubrir los secretos de una almazara.</p> <p>En ella visitaremos un molino de aceite tradicional y nos adentraremos en el terreno dedicado a la explotación olivarera. Conoceremos el cuidadoso proceso de extracción del aceite de oliva, el oro líquido de Andalucía. Desde hace milenios esta región ha sido el principal productor mundial de este producto.</p> <p>Después de conocer extensamente el proceso disfrutaremos de una degustación y un maridaje del aceite de oliva virgen extra, un gran acompañante en la cocina mediterránea desde tiempos inmemoriales.</p>]]></Content> <Order>10</Order> </Content> <Content> <LangID>EN</LangID> <Title>Full description</Title> <Content><![CDATA[<p>Learn the secrets of olive oil<br /> <br /> During this half day tour, we will visit a typical Andalusian Hacienda.</p> <p>This is located at the Sevillian region of Los Alcores. We’ll discover the thousand-year-old secrets of the “Almazara”. Also, we will visit a traditional Olive Mill.</p> <p>We’ll learn about the details of the olive oil production, its careful extraction process, of the liquid gold of Andalusia. For a millennium, this region has been the main worldwide producer of this product.</p> <p>After this, we will enjoy a tasting session of extra virgin olive oil, the timeless companion of the Mediterranean kitchen. </p>]]></Content> <Order>10</Order> </Content> <Content> <LangID>ES</LangID> <Title>Incluye</Title> <Content><![CDATA[<span class="cont_incluye">Recogida por el hotel y regreso al hotel</span> <span class="cont_incluye">Guía oficial</span> <span class="cont_incluye">Transporte</span> <span class="cont_incluye">Degustacion de aceite</span> <span class="cont_incluye">Aperitivo</span>]]></Content> <Order>20</Order> </Content> <Content> <LangID>EN</LangID> <Title>Inclusions</Title> <Content><![CDATA[<span class="cont_incluye">Pick up and drop off</span> <span class="cont_incluye">Expert guide</span> <span class="cont_incluye">Transport</span> <span class="cont_incluye">Oil tasting</span> <span class="cont_incluye">Appetizer</span>]]></Content> <Order>20</Order> </Content> <Content> <LangID>ES</LangID> <Title>No incluye</Title> <Content><span class="cont_noincluye">Almuerzo</span> <span class="cont_noincluye">Otros servicios no especificados</span></Content> <Order>30</Order> </Content> <Content> <LangID>EN</LangID> <Title>Exclusions</Title> <Content><span class="cont_noincluye">Lunch</span> <span class="cont_noincluye">Other services not specified</span></Content> <Order>30</Order> </Content> <Content> <LangID>ES</LangID> <Title>Información adicional</Title> <Content><![CDATA[<span class="cont_info">Servicio de recogida por la mayoría de los hoteles de Sevilla. Por favor, al momento de la reserva, indique los detalles del alojamiento</span> <span class="cont_info">El horario de recogida se confirmará al momento de la reserva</span> <span class="cont_info">Almuerzo NO incluido</span> <span class="cont_info">El recorrido puede cambiar según la meteorología</span> <span class="cont_info">Por favor, tener en cuenta que la duración es aproximada</span> <span class="cont_info">La salida del tour está garantizada con un mínimo de 2 personas</span>]]></Content> <Order>40</Order> </Content> <Content> <LangID>EN</LangID> <Title>Additional Information</Title> <Content><![CDATA[<span class="cont_info">Pick up service from most hotels in Seville. Please, at the time of the booking, inform the details of the hotel</span> <span class="cont_info">The pick-up time will be confirmed at the time of booking</span> <span class="cont_info">Lunch is NOT included</span> <span class="cont_info">The route may change according to the weather</span> <span class="cont_info">Kindly note that tour duration is approximate</span> <span class="cont_info">Tour's departure is guaranteed with a minimum of 2 persons</span>]]></Content> <Order>40</Order> </Content> <Content> <LangID>ES</LangID> <Title>Punto de encuentro</Title> <Content>Hotel del Cliente - SevillaHotel del Cliente - Sevilla</Content> <Order>50</Order> </Content> <Content> <LangID>EN</LangID> <Title>Meeting point</Title> <Content>Hotel del Cliente - Sevilla</Content> <Order>50</Order> </Content> <Content> <LangID>ES</LangID> <Title>Política de cancelación</Title> <Content><![CDATA[Cancelaciones 2 día antes del servicio gastos del 50 % del importe del servicio. Cancelaciones 1 día antes del servicio o no show, gastos del 100 % del importe del servicio. <br /> <br /> <br /> ]]></Content> <Order>60</Order> </Content> <Content> <LangID>EN</LangID> <Title>Cancellation policy</Title> <Content>Cancellations 2 days before the service, 50% charge of the service price. Cancellations 1 day before the service or no show, 100% charge of the service price. </Content> <Order>60</Order> </Content> </Contents> <Images> <StaticDataResponseV2Image> <URL>http://xml.doblemente.com/v05/img/dbm/productos/588/588_28884.jpg</URL> </StaticDataResponseV2Image> <StaticDataResponseV2Image> <URL>http://xml.doblemente.com/v05/img/dbm/productos/588/588_28885.jpg</URL> </StaticDataResponseV2Image> </Images> </ProductContent> <ProductContent> <ProductCode>63</ProductCode> <Contents> <Content> <LangID>ES</LangID> <Title>Descripción general</Title> <Content><![CDATA[<p>Una experiencia inolvidable visitando Granada, la tierra del legado cultural.</p> <p>Un paseo por la Alhambra, considerada como Patrimonio de la Humanidad por la UNESCO, es una actividad obligada para todo aquel visitante de la ciudad de Granada. Además, se trata de una obra que nos atrae y nos llama, ya sea por sus atractivas y trabajadas estancias, por su situación monumental e histórica o por ese encanto especial que el arte islámico desprende desde sus formas geométricas y coloridas.</p> <p>A través de nuestra empresa le proponemos que haga de esta visita una experiencia única y rica en conocimiento. Con nuestra visita guiada a la Alhambra tendrá a su disposición a uno de nuestros guías turísticos oficiales, expertos intérpretes del patrimonio granadino, quien le acompañará a través de un recorrido por cada una de las partes que conforman la “fortaleza roj a” y que disipará cualquier duda que se le presente con respecto a este monumento tan misterioso como emblemático.</p> <p>Itinerario de la visita:<br /> -La Alcazaba: se trata de la zona más antigua del complejo de la Alhambra. Antiguamente recibía un uso militar<br /> -Palacios Nazaríes: donde se comprenden gran número de estancias, entre las que destacan los Palacios del Mexuar, de Comares y de los Leones, considerado este último como máximo exponente del arte nazarí<br /> -Generalife: palacio de verano, situado al este de la Alhambra y rodeado por amplios jardines rebosantes de la más variada vegetación, enmarcada en una arquitectura paisajística inconfundiblemente islámica</p>]]></Content> <Order>10</Order> </Content> <Content> <LangID>EN</LangID> <Title>Full description</Title> <Content><![CDATA[<p>Have unforgettable experience while visiting Granada, the cultural legacy land.<br /> <br /> A walk around the Alhambra, declared a World Heritage by UNESCO, is a required activity for every visitor of the city of Granada. Furthermore, it’s a work of art that calls out us, maybe by his attractive and elaborate rooms, by its monumental and historic position or by the special charm of its exquisitely detailed Islamic art and architecture.</p> <p>We propose to you to transform this visit into an extraordinary experience rich of knowledge. With our guided tour of Alhambra, you’ll have at your disposal one of our official tourist guides, expert interpreters of Granada’s heritage, who will guide you through every part that forms the “red fortress”, and also answer any queries that you may have about this spectacular monument.</p> <p>Tour’s itinerary: <br /> ● The Alcazaba fortress: the most antique area of the Alhambra’s complex. In the past it was a military precincts. <br /> ● Nasrid Palaces: including many rooms, enhancing the Palace of Mexuar, Palace of Comares and Palace of Leones, considerate this one like the maximum exponent of Nasrid art. <br /> ●The Generalife: sultan’s summer palace, situated at East of the Alhambra and surrounded by wide gardens filled with a great variety of vegetation, framed by a beautiful islamic landscape</p>]]></Content> <Order>10</Order> </Content> <Content> <LangID>ES</LangID> <Title>Incluye</Title> <Content><![CDATA[<span class="cont_incluye">Recogida y regreso en su hotel del centro de Sevilla o en un lugar cercano a su hotel.</span> <span class="cont_incluye">Guía Turístico Oficial</span> <span class="cont_incluye">Entradas para los diferentes recintos de la Alhambra (Palacios Nazaríes, Alcazaba y Generalife).</span> <span class="cont_incluye">Tiempo libre para conocer el centro de la ciudad / Consultar paquetes: Walking Tour, etc.</span>]]></Content> <Order>20</Order> </Content> <Content> <LangID>EN</LangID> <Title>Inclusions</Title> <Content><![CDATA[<span class="cont_incluye">Pick up and drop off from Seville to Granada and transport to the Alhambra Palace</span> <span class="cont_incluye">Entrance fees to the Alhambra (Nasrid Palaces, Alcazaba fortress, Generalife Gardens and Palace of Charles V) Professional Spanish, English, Italian, French & German speaking guide</span> <span class="cont_incluye">Free time to walk around the historic city center</span>]]></Content> <Order>20</Order> </Content> <Content> <LangID>ES</LangID> <Title>No incluye</Title> <Content><span class="cont_noincluye">Otros servicios no especificados</span></Content> <Order>30</Order> </Content> <Content> <LangID>EN</LangID> <Title>Exclusions</Title> <Content><span class="cont_noincluye">Other services not specified</span></Content> <Order>30</Order> </Content> <Content> <LangID>ES</LangID> <Title>Política de cancelación</Title> <Content><![CDATA[Cancelaciones hechas con más de 15 días de antelación: reembolso del 80%. Cancelaciones hechas entre 15 y 11 días antes de la salida: 50% de reembolso. Cancelaciones hechas con 11 días de antelación, menos o No Show: sin reembolso. Una vez reservado, el 20% del precio total no será reembolsable.]]></Content> <Order>60</Order> </Content> <Content> <LangID>EN</LangID> <Title>Cancellation policy</Title> <Content>Cancellations made more than 15 days prior departure: 80% refund. Cancellations made between 15 and 11 days prior departure: 50% refund. Cancellations made 11 days prior departure, less or No Show: no refund Once booked, the 20% of the full price won't be refundable.</Content> <Order>60</Order> </Content> <Content> <LangID>ES</LangID> <Title>Información adicional</Title> <Content><![CDATA[<span class="cont_info">Posible recogida por los hoteles céntricos de Sevilla. Por favor, informar los detalles del alojamiento para averiguar si este servicio se puede proporcionar</span> <span class="cont_info">Debido a la nueva normativa establecida por el Patronato de la Alhambra, a partir del 1 de febrero todas las entradas para acceder al monumento serán nominativas, es totalmente obligatorio que todas las reservas tengan los nombres, apellidos y DNI o Pasaporte de todos los viajeros (incluidos los niños)</span> <span class="cont_info">Todos los clientes deben llevar a la visita su DNI/Pasaporte o fotocopia del mismo. En el monumento se verificará con la información proporcionada en la reserva.</span> <span class="cont_info">I Need Tours no se hace responsable si hay algún error a la hora de comunicarnos el DNI o Pasaporte, ya que en ese caso, el cliente no podrá acceder al monumento</span> <span class="cont_info">El orden de las visitas puede cambiar de acuerdo con la hora de entrada asignada a los Palacios Nazaríes</span>]]></Content> <Order>40</Order> </Content> <Content> <LangID>EN</LangID> <Title>Additional Information</Title> <Content><![CDATA[<span class="cont_info">Possible pick-up from centrally located hotels in Seville. Please, inform the details of the accomodation to check if the service can be provided Tickets to Alhambra, Palaces and Generalife's Gardens are included</span> <span class="cont_info">Due to Patronato de la Alhambra´s new security policy, from February 1st all customers must provide their full names and passport numbers. It is totally mandatory to send this information including all adults and children</span> <span class="cont_info">The Patronato de la Alhambra will check all passports, the customers must bring the passport (original/or a photocopy) the day of the visit.</span> <span class="cont_info">If the details are wrong, the clients won't be able to visit the monument.</span> <span class="cont_info">I Need Tours can not be held responsible in such circumstances</span> <span class="cont_info">The order of the visits may change according to the assigned hour of entrance to the Nasrid Palaces</span>]]></Content> <Order>40</Order> </Content> <Content> <LangID>ES</LangID> <Title>Punto de encuentro</Title> <Content>Avenida de la Constitución, 5</Content> <Order>50</Order> </Content> <Content> <LangID>EN</LangID> <Title>Meeting point</Title> <Content>Avenida de la Constitución, 5</Content> <Order>50</Order> </Content> </Contents> <Images> <StaticDataResponseV2Image> <URL>http://xml.doblemente.com/v05/img/dbm/productos/563/63_2584.jpg</URL> </StaticDataResponseV2Image> <StaticDataResponseV2Image> <URL>http://xml.doblemente.com/v05/img/dbm/productos/36/63_2585.jpg</URL> </StaticDataResponseV2Image> </Images> </ProductContent> </ProductContents> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
Location
System locations
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data type | LOCATION | Required |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Locations | Array | Array of locations | Required | ||
StaticDataResponseV2Location | Content of location data | Required | |||
LocationCode | Integer | Location code | Required | ||
Location | String | Location name | Required | ||
LocationType | Integer | Location type code | Required | ||
DestinationCode | Integer | Destination code | Required | ||
Address | String | Location address | Required | ||
PostalCode | String | Postal code | Required | ||
Latitude | String | Latitude coordinates | {Number},{Number} | Required | |
Longitude | String | Longitude coordinates | {Number},{Number} | Required | |
Translations | Array | Array of translations | Optional | ||
Translation | Item of translations | Required | |||
LangID | String | Language code | Required | ||
LocationName | String | Location name translated | Required | ||
LocationCodeAux | String | Location code auxiliary for externals mappings. To use this code, you must confirm with the provider which code system is used. | Optional | ||
HotelCategory | String | Hotel category | Optional |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:StaticMasterData>LOCATION</ws:StaticMasterData> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2019-01-09T18:45:35.1427838+01:00" MillisecondProcessingTime="52" Endpoint="demo.xml.com"/> <Locations> <StaticDataResponseV2Location> <LocationCode>L140</LocationCode> <Location>Estación de tren de Turín, Porta Nuova</Location> <LocationType>3</LocationType> <DestinationCode>86375</DestinationCode> <Address/> <PostalCode/> <Latitude/> <Longitude/> <Translations> <Translation> <LangID>EN</LangID> <LocationName>Turin Train Station, Porta Nuova</LocationName> </Translation> <Translation> <LangID>ES</LangID> <LocationName>Estación de tren de Turín, Porta Nuova</LocationName> </Translation> </Translations> </StaticDataResponseV2Location> <StaticDataResponseV2Location> <LocationCode>L10</LocationCode> <Location>Bari, Bari (BRI)</Location> <LocationType>1</LocationType> <DestinationCode>82684</DestinationCode> <Address/> <PostalCode/> <Latitude/> <Longitude/> <LocationCodeAux>BRI</LocationCodeAux> <Translations> <Translation> <LangID>EN</LangID> <LocationName>Bari - Palese Airport (BRI), Italy</LocationName> </Translation> <Translation> <LangID>ES</LangID> <LocationName>Aeropuerto de Bari - Palese (BRI), Italia</LocationName> </Translation> </Translations> </StaticDataResponseV2Location> <StaticDataResponseV2Location> <LocationCode>L15</LocationCode> <Location>Soldeu</Location> <LocationType>0</LocationType> <DestinationCode>8305</DestinationCode> <Address/> <PostalCode/> <Latitude/> <Longitude/> </StaticDataResponseV2Location> <StaticDataResponseV2Location> <LocationCode>L16</LocationCode> <Location>El Tarter</Location> <LocationType>0</LocationType> <DestinationCode>8305</DestinationCode> <Address/> <PostalCode/> <Latitude/> <Longitude/> </StaticDataResponseV2Location> <StaticDataResponseV2Location> <LocationCode>L17</LocationCode> <Location>Canillo</Location> <LocationType>0</LocationType> <DestinationCode>8305</DestinationCode> <Address/> <PostalCode/> <Latitude/> <Longitude/> </StaticDataResponseV2Location> <StaticDataResponseV2Location> <LocationCode>L18</LocationCode> <Location>Encamp</Location> <LocationType>0</LocationType> <DestinationCode>8305</DestinationCode> <Address/> <PostalCode/> <Latitude/> <Longitude/> </StaticDataResponseV2Location> <StaticDataResponseV2Location> <LocationCode>L19</LocationCode> <Location>Resto Andorra</Location> <LocationType>0</LocationType> <DestinationCode>8305</DestinationCode> <Address/> <PostalCode/> <Latitude/> <Longitude/> </StaticDataResponseV2Location> <StaticDataResponseV2Location> <LocationCode>L20</LocationCode> <Location>Aeropuertos</Location> <LocationType>0</LocationType> <DestinationCode>8305</DestinationCode> <Address/> <PostalCode/> <Latitude/> <Longitude/> </StaticDataResponseV2Location> <StaticDataResponseV2Location> <LocationCode>L21</LocationCode> <Location>Grandvalira</Location> <LocationType>0</LocationType> <DestinationCode>8305</DestinationCode> <Address/> <PostalCode/> <Latitude/> <Longitude/> </StaticDataResponseV2Location> </Locations> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
LocationType
Types of system locations
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data type | LOCATIONTYPE | Required |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
LocationTypes | Array | Array of location type | Required | ||
StaticDataResponseV2LocationType | Content of location type data | Required | |||
LocationTypeCode | Integer | Location type code | Required | ||
LocationType | String | Location type name | Required |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:StaticMasterData>LOCATIONTYPE/ws:StaticMasterData> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2019-01-10T12:41:29.2785119+01:00" MillisecondProcessingTime="86" Endpoint="demo.xml.com"/> <LocationTypes> <StaticDataResponseV2LocationType> <LocationTypeCode>1</LocationTypeCode> <LocationType>Aeropuerto</LocationType> </StaticDataResponseV2LocationType> <StaticDataResponseV2LocationType> <LocationTypeCode>2</LocationTypeCode> <LocationType>Hotel</LocationType> </StaticDataResponseV2LocationType> <StaticDataResponseV2LocationType> <LocationTypeCode>3</LocationTypeCode> <LocationType>Estacion</LocationType> </StaticDataResponseV2LocationType> <StaticDataResponseV2LocationType> <LocationTypeCode>4</LocationTypeCode> <LocationType>Puerto</LocationType> </StaticDataResponseV2LocationType> <StaticDataResponseV2LocationType> <LocationTypeCode>5</LocationTypeCode> <LocationType>Otro</LocationType> </StaticDataResponseV2LocationType> </LocationTypes> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
Country
List of system countries
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data type | COUNTRY | Required |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Countries | Array | Array of countries | Required | ||
Country | Content of country data | Required | |||
CountryCode | Integer | Country code | Required | ||
CountryName | String | Country name | Required | ||
LangID | String | Language ID for the name of the country | Required |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:StaticMasterData>COUNTRY</ws:StaticMasterData> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2020-03-30T11:23:38.0781972+02:00" MillisecondProcessingTime="260" Endpoint="demo.xml.com"/> <Countries> <Country> <CountryCode>20</CountryCode> <LangID>EN</LangID> <CountryName>Belarus</CountryName> </Country> <Country> <CountryCode>20</CountryCode> <LangID>ES</LangID> <CountryName>Bielorrusia</CountryName> </Country> <Country> <CountryCode>21</CountryCode> <LangID>EN</LangID> <CountryName>Belgium</CountryName> </Country> <Country> <CountryCode>21</CountryCode> <LangID>ES</LangID> <CountryName>Bélgica</CountryName> </Country> <Country> <CountryCode>27</CountryCode> <LangID>EN</LangID> <CountryName>Bosnia and Herzegovina</CountryName> </Country> <Country> <CountryCode>27</CountryCode> <LangID>ES</LangID> <CountryName>Bosnia y Herzegovina</CountryName> </Country> <Country> <CountryCode>41</CountryCode> <LangID>EN</LangID> <CountryName>Central African Republic</CountryName> </Country> <Country> <CountryCode>41</CountryCode> <LangID>ES</LangID> <CountryName>República Centroafricana</CountryName> </Country> </Countries> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
Destination
List of system destinations
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
StaticMasterData | |
String | Static data type | DESTINATION | Required |
StaticMasterDataFilters/CountryCode | |
Integer | Code of the requested country | Optional |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Destinations | Array | Array of destinations | Required | ||
StaticDataResponseV2Destination | Content of destination data | Required | |||
CountryCode | Integer | Country code | Required | ||
CountryName | String | Country name | Required | ||
DestinationCode | Integer | Destination code | Required | ||
Destination | String | Destination name | Required | ||
Latitude | String | Latitude coordinates | {Number},{Number} | Required | |
Longitude | String | Longitude coordinates | {Number},{Number} | Required |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:StaticMasterData>DESTINATION</ws:StaticMasterData> <ws:StaticMasterDataFilters> <ws:CountryCode>197</ws:CountryCode> </ws:StaticMasterDataFilters> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<?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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2019-01-10T12:32:29.3360209+01:00" MillisecondProcessingTime="158" Endpoint="demo.xml.com"/> <Destinations> <StaticDataResponseV2Destination> <CountryCode>5</CountryCode> <CountryName>Andorra</CountryName> <DestinationCode>11492</DestinationCode> <Destination>Incles</Destination> <Latitude>42,583</Latitude> <Longitude>1,66336</Longitude> </StaticDataResponseV2Destination> <StaticDataResponseV2Destination> <CountryCode>5</CountryCode> <CountryName>Andorra</CountryName> <DestinationCode>11493</DestinationCode> <Destination>Escaldes-Engordany</Destination> <Latitude>42,508889</Latitude> <Longitude>1,540833</Longitude> </StaticDataResponseV2Destination> <StaticDataResponseV2Destination> <CountryCode>5</CountryCode> <CountryName>Andorra</CountryName> <DestinationCode>11494</DestinationCode> <Destination>Bordes d´Envalira</Destination> <Latitude>42,5598</Latitude> <Longitude>1,68536</Longitude> </StaticDataResponseV2Destination> <StaticDataResponseV2Destination> <CountryCode>5</CountryCode> <CountryName>Andorra</CountryName> <DestinationCode>11495</DestinationCode> <Destination>Arinsal</Destination> <Latitude>42,5667</Latitude> <Longitude>1,48333</Longitude> </StaticDataResponseV2Destination> <StaticDataResponseV2Destination> <CountryCode>5</CountryCode> <CountryName>Andorra</CountryName> <DestinationCode>11496</DestinationCode> <Destination>Arans</Destination> <Latitude/> <Longitude/> </StaticDataResponseV2Destination> </Destinations> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
Language
Get a list of the languages of the system. Sample request and response for SOAP {YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesAvailV2
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data type | LANGUAGE | Required |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Languages | Array | Array of languages | Required | ||
StaticDataResponseV2Language | Content of language data | Required | |||
LangID | Integer | Language code | Required | ||
Name | String | Language name | Required |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:StaticMasterData>LANGUAGE</ws:StaticMasterData> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2019-01-09T16:58:36.8888267+01:00" MillisecondProcessingTime="32" Endpoint="demo.xml.com"/> <Languages> <StaticDataResponseV2Language> <LangID>ES</LangID> <Name>Español</Name> </StaticDataResponseV2Language> <StaticDataResponseV2Language> <LangID>EN</LangID> <Name>Ingles</Name> </StaticDataResponseV2Language> </Languages> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
ProductType
ProductType system list
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data type | PRODUCTTYPE | Required |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
ProductTypes | Array | Array of product type | Required | ||
StaticDataResponseV2ProductType | Content of product Type data | Required | |||
ProductTypeCode | Integer | Product type code | Required | ||
ProductType | String | Product Type name | Required | ||
LangID | Integer | Language code | Required | ||
TypeOfService | String | Service Type code | TYPE SERVICE | Required |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:StaticMasterData>PRODUCTTYPE</ws:StaticMasterData> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<?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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2019-01-10T12:20:17.1041709+01:00" MillisecondProcessingTime="51" Endpoint="demo.xml.com"/> <ProductTypes> <StaticDataResponseV2ProductType> <ProductTypeCode>43</ProductTypeCode> <ProductType>Disneyland París</ProductType> <LangID>ES</LangID> <TypeOfService>A</TypeOfService> </StaticDataResponseV2ProductType> <StaticDataResponseV2ProductType> <ProductTypeCode>43</ProductTypeCode> <ProductType>Disneyland París</ProductType> <LangID>EN</LangID> <TypeOfService>A</TypeOfService> </StaticDataResponseV2ProductType> <StaticDataResponseV2ProductType> <ProductTypeCode>45</ProductTypeCode> <ProductType>Visita de ciudad</ProductType> <LangID>ES</LangID> <TypeOfService>A</TypeOfService> </StaticDataResponseV2ProductType> <StaticDataResponseV2ProductType> <ProductTypeCode>45</ProductTypeCode> <ProductType>Visita de ciudad</ProductType> <LangID>EN</LangID> <TypeOfService>A</TypeOfService> </StaticDataResponseV2ProductType> <StaticDataResponseV2ProductType> <ProductTypeCode>44</ProductTypeCode> <ProductType>Shuttle</ProductType> <LangID>ES</LangID> <TypeOfService>T</TypeOfService> </StaticDataResponseV2ProductType> <StaticDataResponseV2ProductType> <ProductTypeCode>44</ProductTypeCode> <ProductType>Shuttle</ProductType> <LangID>EN</LangID> <TypeOfService>T</TypeOfService> </StaticDataResponseV2ProductType> <StaticDataResponseV2ProductType> <ProductTypeCode>8</ProductTypeCode> <ProductType>TRASLADOS</ProductType> <LangID>ES</LangID> <TypeOfService>T</TypeOfService> </StaticDataResponseV2ProductType> <StaticDataResponseV2ProductType> <ProductTypeCode>8</ProductTypeCode> <ProductType>test</ProductType> <LangID>EN</LangID> <TypeOfService>T</TypeOfService> </StaticDataResponseV2ProductType> <StaticDataResponseV2ProductType> <ProductTypeCode>29</ProductTypeCode> <ProductType>EXCURSION</ProductType> <LangID>ES</LangID> <TypeOfService>X</TypeOfService> </StaticDataResponseV2ProductType> <StaticDataResponseV2ProductType> <ProductTypeCode>29</ProductTypeCode> <ProductType>EXCURSION</ProductType> <LangID>EN</LangID> <TypeOfService>X</TypeOfService> </StaticDataResponseV2ProductType> </ProductTypes> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
ProductSubType
Product Sub Type system list
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data type | PRODUCTSUBTYPE | Required |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
ProductSubTypes | Array | Array of product subType | Required | ||
StaticDataResponseV2ProductSubType | Content of product subType data | Required | |||
ProductSubTypeCode | Integer | Product subType code | Required | ||
ProductSubType | String | Product subType name | Required | ||
LangID | Integer | Language code | Required | ||
ProductTypeCode | String | Product Type code | Required |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:StaticMasterData>PRODUCTSUBTYPE</ws:StaticMasterData> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<?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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2019-01-10T12:13:09.7581365+01:00" MillisecondProcessingTime="58" Endpoint="demo.xml.com"/> <ProductSubTypes> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>2</ProductSubTypeCode> <ProductSubType>1 *</ProductSubType> <LangID>ES</LangID> <ProductTypeCode>2</ProductTypeCode> </StaticDataResponseV2ProductSubType> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>2</ProductSubTypeCode> <ProductSubType>1 *</ProductSubType> <LangID>EN</LangID> <ProductTypeCode>2</ProductTypeCode> </StaticDataResponseV2ProductSubType> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>3</ProductSubTypeCode> <ProductSubType>2 *</ProductSubType> <LangID>ES</LangID> <ProductTypeCode>2</ProductTypeCode> </StaticDataResponseV2ProductSubType> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>3</ProductSubTypeCode> <ProductSubType>2 *</ProductSubType> <LangID>EN</LangID> <ProductTypeCode>2</ProductTypeCode> </StaticDataResponseV2ProductSubType> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>4</ProductSubTypeCode> <ProductSubType>3 *</ProductSubType> <LangID>ES</LangID> <ProductTypeCode>2</ProductTypeCode> </StaticDataResponseV2ProductSubType> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>4</ProductSubTypeCode> <ProductSubType>3 *</ProductSubType> <LangID>EN</LangID> <ProductTypeCode>2</ProductTypeCode> </StaticDataResponseV2ProductSubType> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>5</ProductSubTypeCode> <ProductSubType>4 *</ProductSubType> <LangID>ES</LangID> <ProductTypeCode>2</ProductTypeCode> </StaticDataResponseV2ProductSubType> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>5</ProductSubTypeCode> <ProductSubType>4 *</ProductSubType> <LangID>EN</LangID> <ProductTypeCode>2</ProductTypeCode> </StaticDataResponseV2ProductSubType> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>6</ProductSubTypeCode> <ProductSubType>5 *</ProductSubType> <LangID>ES</LangID> <ProductTypeCode>2</ProductTypeCode> </StaticDataResponseV2ProductSubType> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>6</ProductSubTypeCode> <ProductSubType>5 *</ProductSubType> <LangID>EN</LangID> <ProductTypeCode>2</ProductTypeCode> </StaticDataResponseV2ProductSubType> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>8</ProductSubTypeCode> <ProductSubType>Subcategoría actividad</ProductSubType> <LangID>ES</LangID> <ProductTypeCode>10</ProductTypeCode> </StaticDataResponseV2ProductSubType> <StaticDataResponseV2ProductSubType> <ProductSubTypeCode>8</ProductSubTypeCode> <ProductSubType>Subcategoría actividad</ProductSubType> <LangID>EN</LangID> <ProductTypeCode>10</ProductTypeCode> </StaticDataResponseV2ProductSubType> </ProductSubTypes> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
ConceptType
Concept type system list
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data concept type | CONCEPTTYPE | Required |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
ConceptsTypes | Array | Array of concept type | Required | ||
StaticDataResponseV2ConceptType | Content of concept type data | Required | |||
ConceptTypeCode | Integer | Concept type code | Required | ||
ConceptType | String | Concept type name | Required | ||
LangID | Integer | Language code | Required |
XML Examples
-
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:StaticMasterData>CONCEPTTYPE</ws:StaticMasterData> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<?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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2019-01-10T12:00:57.6452336+01:00" MillisecondProcessingTime="46" Endpoint="demo.xml.com"/> <ConceptTypes> <StaticDataResponseV2ConceptType> <ConceptTypeCode>2</ConceptTypeCode> <ConceptType>Tipo 2</ConceptType> <LangID>ES</LangID> </StaticDataResponseV2ConceptType> <StaticDataResponseV2ConceptType> <ConceptTypeCode>2</ConceptTypeCode> <ConceptType>Type 2</ConceptType> <LangID>EN</LangID> </StaticDataResponseV2ConceptType> <StaticDataResponseV2ConceptType> <ConceptTypeCode>6</ConceptTypeCode> <ConceptType>Tipo 6</ConceptType> <LangID>ES</LangID> </StaticDataResponseV2ConceptType> <StaticDataResponseV2ConceptType> <ConceptTypeCode>6</ConceptTypeCode> <ConceptType>Type 6</ConceptType> <LangID>EN</LangID> </StaticDataResponseV2ConceptType> </ConceptTypes> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
Themes
Themes system list
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data type | THEME | Required |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Themes | Array | Array of themes | Required | ||
StaticDataResponseV2Theme | Content of theme data | Required | |||
ThemeCode | Integer | Theme code | Required | ||
Theme | String | Theme name | Required | ||
LangID | Integer | Language code | Required | ||
ThemeTypeCode | Integer | Theme type code | Optional | ||
ThemeType | String | Theme type name | Optional |
XML Examples
-
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:StaticMasterData>THEME</ws:StaticMasterData> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<?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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2019-01-10T12:00:57.6452336+01:00" MillisecondProcessingTime="46" Endpoint="demo.xml.com"/> <Themes> <StaticDataResponseV2Theme> <ThemeCode>2</ThemeCode> <Theme>Tema 1</Theme> <LangID>ES</LangID> <ThemeTypeCode>1</ThemeTypeCode> <ThemeType>Atracciones principales</ThemeType> </StaticDataResponseV2Theme> <StaticDataResponseV2Theme> <ThemeCode>2</ThemeCode> <Theme>Theme 1</Theme> <LangID>EN</LangID> </StaticDataResponseV2Theme> <StaticDataResponseV2Theme> <ThemeCode>6</ThemeCode> <Theme>Tema 2</Theme> <LangID>ES</LangID> </StaticDataResponseV2Theme> <StaticDataResponseV2Theme> <ThemeCode>6</ThemeCode> <Theme>Theme 2</Theme> <LangID>EN</LangID> </StaticDataResponseV2Theme> </Themes> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
Class Options
Options of the class products
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data type | CLASSOPTIONS | Required |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
Styles | Array | Array of styles | Optional | ||
StaticDataResponseV2Style | Content of style data | Required | |||
StyleCode | Integer | Style code | Required | ||
StyleName | String | Style name | Required | ||
ProductTypeCodes | Array | Array of product type codes | Optional | ||
ProductTypeCode | Array | Code of the product type | Required | ||
Levels | Array | Array of levels | Optional | ||
StaticDataResponseV2Level | Content of level data | Required | |||
LevelCode | Integer | Level code | Required | ||
LevelName | String | Level name | Required | ||
ProductTypeCodes | Array | Array of product type codes | Optional | ||
ProductTypeCode | Array | Code of the product type | Required | ||
MonitorSectors | Array | Array of the sectors of the monitors | Optional | ||
StaticDataResponseV2MonitorSector | Sector of the monitors | Optional | |||
StaticDataResponseV2MonitorSector | Code | Integer | Code of the sector | Required | |
MonitorLevels | Array | Array of the levels of the monitors in the sector | Optional | ||
StaticDataResponseV2MonitorLevel | Level of the sector | Optional | |||
StaticDataResponseV2MonitorLevel | Code | Integer | Code of the level | Required | |
MonitorStyles | Array | Array of the styles of the monitors | Optional | ||
StaticDataResponseV2MonitorStyle | Styles in the level | Optional | |||
StaticDataResponseV2MonitorStyle | Code | Integer | Code of the style | Required | |
MonitorLanguages | Array | Array of the languages of the monitors | Optional | ||
StaticDataResponseV2MonitorLanguage | Languages of the monitors | Optional | |||
StaticDataResponseV2MonitorLanguage | Code | Integer | Code of the language | Required | |
Monitors | Array | Array of the monitors | Optional | ||
StaticDataResponseV2Monitor | Info of the monitor | Optional | |||
StaticDataResponseV2Monitor | Code | Integer | Code of the monitor | Required | |
Name | Integer | Name of the monitor | Required | ||
ServiceLanguages | Array | Array of languages for services | Optional | ||
StaticDataResponseV2ServiceLanguage | Content of language data | Required | |||
ServiceLanguageCode | Integer | Service language code | Required | ||
ServiceLanguageName | String | Service language name | Required | ||
ProductTypeCodes | Array | Array of product type codes | Optional | ||
ProductTypeCode | Array | Code of the product type | Required |
XML Examples
-
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.dispongo.com/ws/"> <soapenv:Header/> <soapenv:Body> <ws:DestServicesStaticDataV2> <ws:objCredentials> <ws:Source> <ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </ws:Source> </ws:objCredentials> <ws:objRequest> <ws:StaticMasterData>CLASSOPTIONS</ws:StaticMasterData> </ws:objRequest> </ws:DestServicesStaticDataV2> </soapenv:Body> </soapenv:Envelope>
-
<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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2021-10-01T17:12:39.3232942+02:00" MillisecondProcessingTime="1039" Endpoint="demo.ws05.grandvalira.com"/> <Styles> <StaticDataResponseV2Style> <StyleCode>1</StyleCode> <StyleName>ESQUÍ</StyleName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2Style> <StaticDataResponseV2Style> <StyleCode>2</StyleCode> <StyleName>SNOWBOARD</StyleName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2Style> </Styles> <Levels> <StaticDataResponseV2Level> <LevelCode>1</LevelCode> <LevelName>Debutant</LevelName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2Level> <StaticDataResponseV2Level> <LevelCode>2</LevelCode> <LevelName>Nivell 1: Pista Verda/Blava</LevelName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2Level> <StaticDataResponseV2Level> <LevelCode>3</LevelCode> <LevelName>Nivell 2: Pista Blava/Vermella</LevelName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2Level> <StaticDataResponseV2Level> <LevelCode>4</LevelCode> <LevelName>Nivell 3: Pista Vermella/Negra</LevelName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2Level> </Levels> <MonitorSectors> <StaticDataResponseV2MonitorSector Code="13"> <MonitorLevels> <StaticDataResponseV2MonitorLevel Code="1"> <MonitorStyles> <StaticDataResponseV2MonitorStyle Code="1"> <MonitorLanguages> <StaticDataResponseV2MonitorLanguage Code="1"> <Monitors> <StaticDataResponseV2Monitor> <Code>1140</Code> <Name>MONITOR NAME 1</Name> </StaticDataResponseV2Monitor> <StaticDataResponseV2Monitor> <Code>1149</Code> <Name>MONITOR NAME 2</Name> </StaticDataResponseV2Monitor> </Monitors> </StaticDataResponseV2MonitorLanguage> <StaticDataResponseV2MonitorLanguage Code="12"> <Monitors> <StaticDataResponseV2Monitor> <Code>1140</Code> <Name>MONITOR NAME 1</Name> </StaticDataResponseV2Monitor> <StaticDataResponseV2Monitor> <Code>1152</Code> <Name>MONITOR NAME 3</Name> </StaticDataResponseV2Monitor> </Monitors> </StaticDataResponseV2MonitorLanguage> </MonitorLanguages> </StaticDataResponseV2MonitorStyle> <StaticDataResponseV2MonitorStyle Code="2"> <MonitorLanguages> <StaticDataResponseV2MonitorLanguage Code="1"> <Monitors> <StaticDataResponseV2Monitor> <Code>1167</Code> <Name>MONITOR NAME 4</Name> </StaticDataResponseV2Monitor> </Monitors> </StaticDataResponseV2MonitorLanguage> </MonitorLanguages> </StaticDataResponseV2MonitorStyle> </MonitorStyles> </StaticDataResponseV2MonitorLevel> </MonitorLevels> </StaticDataResponseV2MonitorSector> </MonitorSectors> <ServiceLanguages> <StaticDataResponseV2ServiceLanguage> <ServiceLanguageCode>1</ServiceLanguageCode> <ServiceLanguageName>Español</ServiceLanguageName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2ServiceLanguage> <StaticDataResponseV2ServiceLanguage> <ServiceLanguageCode>14</ServiceLanguageCode> <ServiceLanguageName>Inglés</ServiceLanguageName> <ProductTypeCodes> <ProductTypeCode>1</ProductTypeCode> </ProductTypeCodes> </StaticDataResponseV2ServiceLanguage> </ServiceLanguages> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
Departure Dates
List of the departure dates of products
HTTP Request
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
objRequest | StaticMasterData |
String | Static data type | DEPARTUREDATES | Required |
StaticMasterDataFilters/ProductCodes |
|
Array | Array of product codes | Optional | |
StaticMasterDataFilters/ProductCodes/ProductCode |
|
Integer | Code of the product | PRODUCT | Optional |
StaticMasterDataFilters/SectorCode |
|
Integer | Code of the requested sector | Optional |
HTTP Response
Node | Attribute | Data Type | Description | Value | Mandatory |
---|---|---|---|---|---|
DepartureDates | Array | Array of departure dates | Optional | ||
StaticDataResponseV2DepartureDates | Content of departure dates data | Required | |||
ProductCodes | Array | Array of product codes | Required | ||
DepartureDate | Date | Departure Date | Required | ||
SectorCode | Integer | Code of the sector of the departure | Optional |
XML Examples
-
<?xml version="1.0" encoding="utf-8"?< <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <DestServicesStaticDataV2 > <objCredentials> <Source> <RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/> </Source> </objCredentials> <objRequest> <StaticMasterDataFilters> <ProductCodes> <ProductCode>73536</ProductCode> </ProductCodes> <SectorCode>15620</SectorCode> </StaticMasterDataFilters> <StaticMasterData>DEPARTUREDATES</StaticMasterData> </objRequest> </DestServicesStaticDataV2> </soap:Body> </soap:Envelope>
-
<?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> <DestServicesStaticDataV2Response xmlns="http://xml.dispongo.com/ws/"> <DestServicesStaticDataV2Result> <Header ResponseTimestamp="2024-06-07T12:03:33.6786198+02:00" MillisecondProcessingTime="252" Endpoint="local.servicios.xml.dispongo.com" /> <DepartureDates> <StaticDataResponseV2DepartureDates> <ProductCode>73536</ProductCode> <DepartureDate>2024-06-22T00:00:00</DepartureDate> <SectorCode xsi:nil="true" /> </StaticDataResponseV2DepartureDates> <StaticDataResponseV2DepartureDates> <ProductCode>2132634</ProductCode> <DepartureDate>2024-06-22T00:00:00</DepartureDate> <SectorCode xsi:nil="true" /> </StaticDataResponseV2DepartureDates> <StaticDataResponseV2DepartureDates> <ProductCode>2132635</ProductCode> <DepartureDate>2024-06-22T00:00:00</DepartureDate> <SectorCode xsi:nil="true" /> </StaticDataResponseV2DepartureDates> <StaticDataResponseV2DepartureDates> <ProductCode>2132636</ProductCode> <DepartureDate>2024-06-22T00:00:00</DepartureDate> <SectorCode xsi:nil="true" /> </StaticDataResponseV2DepartureDates> </DepartureDates> </DestServicesStaticDataV2Result> </DestServicesStaticDataV2Response> </soap:Body> </soap:Envelope>
Complex booking flows
In this section you can see examples for the complex booking flow.
Complex booking flows should be understood as those with an operation beyond the typical process of searching, creating the booking and confirming the booking.
Multiservice flow
The multi-service booking flow consists of booking several independent products on a single booking, so that with a single locator, we can group all the services that a client needs to contract on a single booking.
Let's imagine the case in which a user needs to book a ski pass and also the equipment rental.
With the normal booking flow, the customer would have to book and confirm the ski pass, and then book and confirm the equipment rental, generating a locator for each of the bookings.
With the multi-service booking, it is possible to add the ski pass to the booking and, on the same booking, add the equipment rental service.
At the time of confirmation, the ski pass would be confirmed in one query and the equipment hire in another query, but the two services would be confirmed in the same booking, with a single locator.
Furthermore, even if the first service is confirmed correctly, the booking will not be fully confirmed until all the services in the trolley are confirmed.
The way to carry out the multi-cart process consists of, once the first service has been added to the cart ("DestServicesBookV2"), indicating the "TransactionIdentifier" in the following services that are added to the cart, so that they are all agglutinated on the same reservation.
NOTE: You can add these services to an existing booking from other Dispongo APIs (Dispongo OTA API for hotels)
At the time of confirmation ("DestServicesCommitV2"), you must confirm service by service, obtaining a global status of the reservation ("ResResponseType") and a status of the confirmed service ("Status"). The global status of the reservation will be "Pending" until all services have been confirmed.
If, after all the confirmation requests have been made, the status of the booking is still "Pending", you should contact the booking department to check the status of the booking.
If the supplier returns a QR or other code for the booking, it is returned when the last service has been commited and the status of the booking is "Commited".
In the same way that we can add services to a reservation (before proceeding to the confirmation), we can remove previously added services, using the "DestServicesBookV2" method and sending the "CancelBookingItems" node.
The multi-service booking process has the only condition that the confirmation must be sequential (confirming a service after having finished the confirmation of the previous one), allowing the whole process to be carried out sequentially, or in parallel, as shown in the following graph.
The first flow would correspond to a typical continue shopping process by adding to cart, where the user, once a product has been selected, performs further searches to buy more products.
The second flow would correspond to a typical packaged sales process, where the customer books a product that internally contains several services, and searches are performed in parallel.
In order to work with multi-service flow, the methods must be adapted as follows:
Add to cart:
To add a service to an existing cart, we must indicate the locator of the current booking in the "TransactionIdentifier" attribute of the "DestServicesBookV2" method.
Remove from cart:
To remove a service from the existing cart, we must indicate the "BookingItemIdentifier" obtained when we add it to the cart.
If the removal is successful, you will get a message indicating that the process has been successful and the services removed from the cart:
Commit the services:
The booking confirmation must be done service by service, so we will launch as many times the method "DestServicesCommitV2" as services we have added to the cart.
The "DestServicesCommitV2" method is launched with the same fields and structure as in the normal process, with the only difference that until the last of the services is confirmed, the status of the reservation will always be returned as "Pending" and in each of the services we must check that the status of the service is "commited".
First service:
Last service:
Cancel the services:
To cancel a single service in a confirmed booking, we must launch the method "DestServicesCancelV2" indicating the "BookingItemIdentifier" that we obtained when adding it to the cart. By cancelling the service in this way, we are not cancelling the whole booking, so the status of the booking will remain confirmed if there are more services.
When cancelling by service, the response will return a collection of the cancelled services in the query:
First service:
Last service:
Error list
In this section you can find the most common errors returned in the connection:
Code | Description |
---|---|
INC_15003 | El usuario o contraseña indicados no son correctos. |
INC_15004 | La IP desde la que se intenta conectar no está habilitada. Para solucionar este problema es necesario contactar con el proveedor e indicar la IP para que se habilite en la integración. |