User Tools

Site Tools


bookingv4:cancel

Table of Contents

Info

Request for checking possibility and cancelling booking.

Inquiry

Types:

TypeDescription
bookingcancelcheckcheck if cancellation
bookingcancelcancel booking

Conditions:

Element nameDescription
languageLanguage code
currencyCurrency code
ofr_tourOpTouroperator code
expedient_codeExpedient code
booking_numbernumber of a booking
<?xml version="1.0" encoding="UTF-8"?>
<mds>
    <auth>
        <login>login</login>
        <pass>password<pass>
        <source>MDSWS</source>
        <srcDomain>source.domain.pl</srcDomain>
        <consultant>TEST</consultant>
    </auth>
    <request>
        <conditions>
            <language>PL</language>
            <currency>PLN</currency>
            <ofr_tourOp>EXIM</ofr_tourOp>
            <expedient_code>EECD</expedient_code>
            <booking_number>622419726</booking_number>
        </conditions>
        <forminfo/>
        <type>bookingcancelcheck</type>
    </request>
</mds>

Answer

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<response>
    <result msgCode="760" bookingNumber="622419726" status="??" msgText="Anulowanie rezerwacji mozliwe" orgOperText=""  subCode=""/>
    <agency_messages></agency_messages>
    <option possible="0"/>
    <pricetotal operPrice="0.00" operCurrency=""/>
    <catalog></catalog>
    <services></services>
    <debug></debug>
    <offers></offers>
</response>

Correct msgCodes:

MsgCodeDescription
760Booking available for cancellation
202Booking cancelled
bookingv4/cancel.txt · Last modified: 2019/09/06 11:44 by paweld