Request for getting short information about the booking.
Conditions:
Element name | Description |
---|---|
language | Language code |
currency | Currency code |
ofr_tourOp | Touroperator code |
expedient_code | Expedient code |
booking_number | number 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>
Possible codes for reservation status:
Code | Description |
---|---|
XX | Canceled booking |
RQ | Reservation “on request” |
RR | Booking on request CONFIRMED by Tour-operator |
OP | Option reservation |
RF | CONFIRMED option reservation |
OK | Firm booking |
?? | Because of technical reasons, booking status could not be determined |
Answer sections:
Name | Description | Optional |
---|---|---|
result | Basic booking information | |
agency_messages | Messages defined by agency | true |
option | Optional booking information | true |
pricetotal | Booking price information | |
catalog | Booking catalog information | true |
hotel | Booking hotel information | true |
transport | Booking transport information | true |
services | Booking services | true |
offers | Booking offer information | true |
forminfo | Information regarding booking persons, client and other elements necessary for booking | |
payment | Information about payment details and schedule | true |
hints | Additional text information | true |
Forminfo section field definition attributes:
Attribute | Description |
---|---|
type | Field type |
maxlength | Maximum length of field value |
name | Displayed field name in requested language |
required | Defines whether the field is required or not for CONFIRMED booking |
requiredOption | Defines whether the field is required or not for OPTIONAL booking |
Possible values for forminfo field type attribute:
Type | Description |
---|---|
string | Alpha-numeric string |
postcode | Post code |
phone | Phone number |
E-mail address | |
selected | Select 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 & 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>