XML Examples

APITUDE XML EXAMPLES

Here, you will find a list of our API xml RQs with ilustrative purposes. In case of doubt, kindly contact integrations@activitiesbank.com

SEARCH

<?xml version="1.0" encoding="UTF-8"?>
<ActivitySearchRequest>
    <language>en</language>
    <filters>
        <searchFilterItems>
            <type>DESTINATION</type>
            <value>BCN</value>
        </searchFilterItems>
    </filters>
    <pagination>
        <itemsPerPage>10</itemsPerPage>
        <page>1</page>
    </pagination>
    <from>2017-05-25</from>
    <to>2017-05-30</to>
    <order>DEFAULT</order>
</ActivitySearchRequest>

DETAILS

<?xml version="1.0" encoding="UTF-8"?>
<ActivityDetailRequest>
    <language>en</language>
    <from>2017-05-25</from>
    <to>2017-05-30</to>

    <code>E-E10-PF2SHOW</code>
    <paxes age="30"></paxes>
    <paxes age="10"></paxes>
</ActivityDetailRequest>

RETRIEVE PICKUPS

<?xml version="1.0" encoding="UTF-8"?>
<RetrieveExcursionPickupsRequest>
    <pickupRetrievalKey>27fqgvl481d8orausva8dreouk</pickupRetrievalKey>
    <from>2017-05-27</from>
    <to>2017-05-27</to>

</RetrieveExcursionPickupsRequest>

CONFIRM

<?xml version="1.0" encoding="UTF-8"?>
<BookingCreditConfirmRequest>
    <language>en</language>
    <clientReference>TEST_AGENCY_REF</clientReference>
    <holder title="Mr" name="NAME" surname="SURNAME">
        <email>integrations@activitiesbank.com</email>
        <address>Ed. Mirall | Cami de Son Fangos 100, B-2</address>
        <zipCode>07007</zipCode>
        <country>ES</country>
        <mailing>false</mailing>
        <telephones>123456789</telephones>
        <telephones>123456789</telephones>
    </holder>
    <activities>
        <preferedLanguage>en</preferedLanguage>
        <serviceLanguage>en</serviceLanguage>
        <rateKey>n8qvojb2i2hdkm7fspn7jb5e1a</rateKey>

       <from>2017-05-27</from>

        <to>2017-05-27</to>
        <paxes type="ADULT" age="30" name="NAME" surname="SURNAME"></paxes>
        <paxes type="CHILD" age="10" name="KID" surname="SURNAME"></paxes>
    </activities>

 

CONFIRM WITH QUESTIONS

<BookingCreditConfirmRequest>

<language>es</language>

<clientReference>TestAgenciaXisco</clientReference>

<holder title="Mr" name="TESTXisco" surname="BibiloniTest">

<email>x.bibiloni@hotelbeds.com</email>

<address>Avenida de Cid</address>

<zipCode>07198</zipCode>

<country>ES</country>

<mailing>false</mailing>

<telephones>123456789</telephones>

<telephones>123456789</telephones> 

</holder>    <activities>     

<preferedLanguage>en</preferedLanguage> 

<serviceLanguage>en</serviceLanguage> 

<rateKey>9g42icnidof03v5fgosqr8ivae</rateKey>   

<from>2017-10-28</from>     

<to>2017-10-28</to>   

<answers>   

<question code= "PHONENUMBER" required="true">

<text>Por favor, indique el nº de móvil de contacto en caso de emergencia (incluyendo código internacional )</text>

</question>

<answer>971555555555</answer> 

</answers>

<paxes type="ADULT" age="30" name="XiscoTEst" surname="TestBibiloni"></paxes>

</activities></BookingCreditConfirmRequest>


</BookingCreditConfirmRequest>

Docs Navigation