**MDSWS V4**

Main change from version 3 :

Reduced response times!
url address

regions details filters groups Multirequest skiregions check_external_flight_nowait check_external_hotel_wait check_external_hotel_nowait check_external_flight_wait

http://mws.merlinx.pl/dataV4/

different auth node in request :

<source></source> <srcDomain></srcDomain>

for exmaple :

 <auth>
    <login>login</login>
    <pass>password</pass>
    <source>B2C</source>
    <srcDomain>test.mydomain.pl</srcDomain>
  </auth>
dynamic packages:

mandatory fields in dynamic packaging:

paxes, <ofr_xStatus>OK,RQ</ofr_xStatus> , ofr_tourOp , trp_depDate

example reqest:

<?xml version="1.0"?>
<mds>
  <auth>
    <login>login</login>
    <pass>password</pass>
    <source>B2C</source>
    <srcDomain>test.mydomain.pl</srcDomain>
  </auth>
  <request>
    <type>groups</type>
    <conditions>
      <ofr_tourOp>XSTE</ofr_tourOp>
      <limit_count>1000</limit_count>
      <limit_from>0</limit_from>
      <group_by>tourOpAndCode</group_by>
      <ofr_xStatus>OK,RQ</ofr_xStatus>
      <order_by>obj_xName</order_by>
      <trp_destination>26_4100</trp_destination>
      <trp_depDate>20160617:20160930</trp_depDate>
      <par_adt>2</par_adt>
    </conditions>
  </request>
</mds>
dynamic packages and resabee booking

Following actions are used to book

[WebService address]/bookV4/

Example address:

http://mws.merlinx.pl/bookV4/

List of possible action types

Action (link to detailed description)Description
checkavailavailability check simplified
checkavailability check
bookbooking
bookingstatusbookingstatus
bookingchangecheckcheck change of booking possibility
bookingchangechange of booking
bookingcancelcheckcheck cancel of booking possibility
bookingcancelcancel of booking
vouchersvouchers