User Tools

Site Tools


booking:bookingcheckcancel

Checking possibility of cancelling reservation

The action (function) bookingcheckcancel checks possibility and costs of cancelling the reservation.

WARNING: Cancellation may still lead to possible costs.

Sample inquiry:

<?xml version='1.0'?>
<mds>
  <auth>
    <login>LOGIN</login>
    <pass>PASSWORD</pass>
  </auth>
  <request>
    <type>bookingcheckcancel</type>
    <conditions>
      <ofr_tourOp>ITAK</ofr_tourOp>
      <booking_nr>6345224</booking_nr>
    </conditions>
  </request>
</mds>
FieldRequiredDescription
ofr_tourOp yes booking number from Tour-operator
booking_nr yes reservation number
multifunction no1) Content of the multi-function-line

Response example:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<response>
  <result_message msgType="52" msgCode="760"/>
  <booking_status>OK</booking_status>
  <pricecancel price="0" curr="PLN"/>
  <booking_info>
    <line><![CDATA[UF_STORNO_FORFREE                                                               ]]></line>
    <line><![CDATA[                                                                                ]]></line>
    <line><![CDATA[                                                                                ]]></line>
    <line><![CDATA[                                                                                ]]></line>
    <line><![CDATA[                                                                                ]]></line>
    <line><![CDATA[                                                                                ]]></line>
    <line><![CDATA[                                                                                ]]></line>
    <line><![CDATA[                                                                                ]]></line>
    <line><![CDATA[                                                                                ]]></line>
    <line><![CDATA[                                                                                ]]></line>
    <line><![CDATA[                                                                                ]]></line>
    <line><![CDATA[                                                                                ]]></line>
  </booking_info>
</response>
FieldAttributeDescription
result_messagemsgCodeCurrent code
List of possible codes on our site: http://www.merlinx.pl/mdsws/msgcode.csv
booking_status-Code for reservation's status
pricecancel-Cost of cancellation
pricecancelpriceCost of cancellation amount
pricecancelcurrCost of cancellation currency
booking_info-information from the Tour-operator for the reservation

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
1)
required by the Tour-operators on SART system - ALPE ARIN BEAT BEWR BUKS COLM DAGA EKOR GROM INDX INTE JNNW LIDO LTSL MADA MAES MATI MATW MOJE MRCO OKSE ORIE ORLA OZTA PANO PROF REGE REGO SAGA SAMA SALF SKRP SUMD WYCC WYGO YOUN ZAWA
booking/bookingcheckcancel.txt · Last modified: 2012/10/04 13:02 by zbyszekb