User Tools

Site Tools


bookingv4:bookingstatusshort

Table of Contents

Info

Request for getting short information about the booking.

Inquiry

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>632419232</booking_number>
    </conditions>
    <forminfo/>
    <type>bookingstatusshort</type>
  </request>
</mds>

Answer

Possible codes for reservation status:

CodeDescription
XXCanceled booking
RQReservation “on request”
RRBooking on request CONFIRMED by Tour-operator
OPOption reservation
RFCONFIRMED option reservation
OKFirm booking
??Because of technical reasons, booking status could not be determined

Answer sections:

NameDescriptionOptional
resultBasic booking information
agency_messagesMessages defined by agencytrue
optionOptional booking informationtrue
pricetotalBooking price information
catalogBooking catalog informationtrue
hotelBooking hotel informationtrue
transportBooking transport informationtrue
servicesBooking servicestrue
offersBooking offer informationtrue
forminfoInformation regarding booking persons, client and other elements necessary for booking
paymentInformation about payment details and scheduletrue
hintsAdditional text informationtrue

Forminfo section field definition attributes:

AttributeDescription
typeField type
maxlengthMaximum length of field value
nameDisplayed field name in requested language
requiredDefines whether the field is required or not for CONFIRMED booking
requiredOptionDefines whether the field is required or not for OPTIONAL booking

Possible values for forminfo field type attribute:

TypeDescription
stringAlpha-numeric string
postcodePost code
phonePhone number
emailE-mail address
selectedSelect field (should always return possible option list)
<response>
    <result msgCode="205" bookingNumber="632419398" status="OP" msgText="Przedstawienie rezerwacji" orgOperText="" subCode=""/>
    <agency_messages/>
    <option possible="1" optiondate="2019-09-07" optiontime="13:29:00"/>
    <pricetotal operPrice="4158.00" operCurrency="PLN"/>
    <catalog/>
    <hotel code="26282" name="Zephir Hotel &amp; SPA" roomCode="720825" roomDesc="DBL Standard" mealCode="AI" mealDesc="All inclusive" city="" country="" category="" depDate="2020-05-14" desDate="2020-05-21" status="OP" price="" currency="" tourop="" bookingNr=""/>
    <transport type="F" carrierCode="CHR" carrierDesc="" depCode="KTW" desCode="DJE" depDate="2020-05-14" desDate="2020-05-14" rDepCode="DJE" rDesCode="KTW" rDepDate="2020-05-21" rDesDate="2020-05-21" depTime="00:00" desTime="00:00" rDepTime="00:00" rDesTime="00:00" flightNo="" rFlightNo="" flightCode="KTWDJE" rFlightCode="DJEKTW" status="OP" price="" currency="" handBaggage="" rHandBaggage="" regBaggage="" rRegBaggage=""/>
    <services/>
    <debug/>
    <offers/>
    <forminfo>
        <persons/>
        <client>
            <title type="string" maxlength="1" name="Płeć" required="0" requiredOption="0"/>
            <lastname type="string" maxlength="30" name="Nazwisko" required="1" requiredOption="1">MERLIN-TEST</lastname>
            <firstname type="string" maxlength="30" name="Imię" required="1" requiredOption="1">TEST</firstname>
            <address type="string" maxlength="30" name="Ulica" required="1" requiredOption="1">TESTOWA</address>
            <post_code type="postcode" maxlength="6" name="Kod" required="1" requiredOption="1">12-345</post_code>
            <city type="string" maxlength="30" name="Miejscowość" required="1" requiredOption="1">WARSZAWA</city>
            <country type="string" maxlength="2" name="Kraj" required="0" requiredOption="0"/>
            <phone type="phone" maxlength="12" name="Telefon" required="1" requiredOption="1">1234545678</phone>
            <email_address type="email" maxlength="50" name="E-mail" required="1" requiredOption="1">TEST@TEST.PL</email_address>
            <birthdate type="date" maxlength="10" name="Data urodzenia" required="0" requiredOption="0">05.09.1989</birthdate>
        </client>
        <services_optional groupsInclusive="0"/>
        <wishes/>
        <formalAgreements/>
        <paymentTable/>
        <externalServiceTable/>
    </forminfo>
    <payment>
        <touroperatorInfo>
            <bankAccount/>
            <bankName/>
            <name/>
            <address/>
            <streetNo/>
            <streetPlaceNo/>
            <postCode/>
            <city/>
            <emailAddress/>
            <phoneNo/>
            <faxNo/>
        </touroperatorInfo>
    </payment>
    <hints>
        <hint desc="Opcja nr: 632419398 do: 07.09.19 13:29:00" type="hint"/>
    </hints>
</response>
bookingv4/bookingstatusshort.txt · Last modified: 2019/09/10 16:01 by Maciej Domachowski