extradata

Action extradata returns a field extra_id needed when setting up on some of the organizers of the service Merlingate WSDL.

If you return the item with the attribute extra_data type=“Extra” specify the contents of the line multi-function for checking the availability of the Merlingate.

In case the returned item response is empty, this means that for a given ID offers additional data not found.

Sample query:

<?xml version='1.0'?>
<mds>
  <auth>
    <login>LOGIN</login>
    <pass>PASSWORD</pass>
  </auth>
  <request>
    <type>extradata</type>
    <conditions>
      <ofr_id>031a1bb357c294af10e7b7a2f1917f63c688aec5076a6ca62452df634358a94f</ofr_id>
    </conditions>
  </request>
</mds>

Sample Response:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<response>
  <base_data>
    <package>_</package>
    <status>BA</status>
    <defprice>1629</defprice>
    <i_all>2d55d8aef31e09528453eec24b0510ad</i_all>
    <child_prices cnt="2">
      <price agefrom="5" ageto="10">1389</price>
      <price agefrom="2" ageto="5">69</price>
    </child_prices>
  </base_data>
  <extra_data type="Extra" tourop="AGAT" extra_id="6756"/>
  <extra_data type="ExtraSnrw" tourop="AGAT" extra_id="6756"/>
</response>

Description of fields:

FieldAttributeDescription
base_data-Additional information about the offer
NOTE: All section base_data and its individual components are optional
package-If the offer is a package or not:
P - offer in package
_ - other offers
status-actual status on basis offer
defprice--
i_all-Hash offer
child_prices-price list for children
child_pricescntRecords prices for children
price-Price per child (in the currency of the original touroperator)
priceagefromage of the child per price (0 if not available)
priceagetoage price for the child (0 if not available) \\
extra_data-The entry of one of the tables with supporting data organizers
extra_datatypeDefines which table entry is derived.
The possible values ​​are:
Extra
ExtraSart
ExtraSnrw
HotelsExtra
extra_datatouropOrganizer for which an entry is
extra_dataextra_idExtra_id value given in the multifunctionline

Offers of packages - 7+7

The list of possible options for the second part of your stay in the package tour, see extra_data with the attribute type=“HotelsExtra”

Sample Response:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<response>
	<base_data>
		<package>P</package>
		<status>BA</status>
		<defprice>3244</defprice>
		<i_all>4487917cdacc1bb88a21f5e6d78852ab</i_all>
	</base_data>
	<extra_data type="HotelExtra" tourop="GREC" extra_id="1">
		<htlCode>CHQODYS/1/KOMB</htlCode>
		<htlName>Hotel Odyssia Beach</htlName>
		<htlCat>3.5</htlCat>
		<htlSrvCode>H</htlSrvCode>
		<htlRoomCode>DBL</htlRoomCode>
		<minAdt>2</minAdt>
		<maxAdt>2</maxAdt>
		<minPax>2</minPax>
		<maxPax>2</maxPax>
		<defPax>2</defPax>
		<htlCity>Rethymnon</htlCity>
		<prcAdt>3244</prcAdt>
		<fromDate>2022-06-17</fromDate>
		<toDate>2022-06-24</toDate>
		<pFromDate>2022-06-10</pFromDate>
		<pToDate>2022-06-17</pToDate>
		<htlRoomDesc>Pokoj 2-os.</htlRoomDesc>
		<htlSrvDesc>H sniadania i obiadokolacje</htlSrvDesc>
		<i_hotel></i_hotel>
		<status>BA</status>
	</extra_data>
	<extra_data type="HotelExtra" tourop="GREC" extra_id="2">
		<htlCode>CHQODYS/1/KOMB</htlCode>
		<htlName>Hotel Odyssia Beach</htlName>
		<htlCat>3.5</htlCat>
		<htlSrvCode>H</htlSrvCode>
		<htlRoomCode>DVL</htlRoomCode>
		<minAdt>2</minAdt>
		<maxAdt>2</maxAdt>
		<minPax>2</minPax>
		<maxPax>2</maxPax>
		<defPax>2</defPax>
		<htlCity>Rethymnon</htlCity>
		<prcAdt>3332</prcAdt>
		<fromDate>2022-06-17</fromDate>
		<toDate>2022-06-24</toDate>
		<pFromDate>2022-06-10</pFromDate>
		<pToDate>2022-06-17</pToDate>
		<htlRoomDesc>room for 2 adults, with sea view</htlRoomDesc>
		<htlSrvDesc>H breakfasts and dinners</htlSrvDesc>
		<i_hotel></i_hotel>
		<status>BA</status>
	</extra_data>
</response>

Description of fields:

FieldDescription
htlCodehotel code
htlNamehotel name/tour name
htlCathotel category
htlSrvCodeboard code
htlRoomCoderoom code
minAdtminimal number of adults
maxAdtmaximal number of adults
minPaxminimal number of pax
maxPaxmaximal number of pax
defPax-
htlCityTown
prcAdtPrice per adult for the entire trip
fromDate-
toDate-
pFromDate-
pToDate-
htlRoomDescroom description
htlSrvDescFood description
i_hotel-
status-

To check availability, with the second part deals 7+7, should the actions check/checkavail state in the conditions, with additional filed x_htl in format [extra id hotelu]_[kod hotelu].

For example, when facing the hotel extradata:

    <extra_data type="HotelExtra" tourop="GREC" extra_id="4">
        <htlCode>CHQEMER/1/KOMB</htlCode>
        <htlName>Aparthotel Solimar Emerald</htlName>
        (...)

would be the value:

<x_htl>4_CHQEMER/1/KOMB</x_htl>