Table of contents
-
- Search methods
- Check methods
- Booking methods
- Info methods
Data export
- Methods
Table of contents
Data export
This is an old revision of the document!
Get a list of units (rooms)
dhotel
searchData (array)
: search parameters. Required serach parameters: vnd
, bsd
, epc
, gid
headerData (array)
: SOAP Header InformationReturns a list of available trips. Here is an example of output:
Array ( [header] => Array ( [typ] => dhotel [offers] => 32 [ver] => 2.0 [tocp] => FTI [sid] => ftuomshq2as3vrk62ie3uerhc5 ) [offer] => Array ( [pic] => http://www.ors.si/giata-pics/2224352079381/full.jpg [gid] => 2224352079381 [htn] => Bretanide Wellness & Sport Resort [stc] => 4.0 [oid] => 18703 [hon] => Bol / Brac [rgc] => 659 [rgn] => Dalmatia [rgg] => 100023 [rggn] => Croatia [geo] => 0 ) [top_units] => Array ( [info] => Array ( [toc] => FTI [pic] => http://www.ors.si/ibe/ikonce/toc/fti.gif [name] => FTI ) [rooms] => Array ( [0] => Array ( [info] => Array ( [gid] => 202371 [code] => X17H002EA00013:000000020000001B000A988F6 [name] => [zac] => DZ [zac] => double room [vpc] => OV [vpn] => room only [ppc] => 30 [cppc] => 35.00 [cppc_perc] => -15 [htc] => ES9730.885.4 [ltx] => [atx] => [price_type] => 0 [pax] => 2 [bedrooms] => 1 [m2size] => 25 ) [attributes] => Array ( [0] => Array ( [type] => float [name] => category_recommended [value] => 3 [desc] => PriporoÄena kategorija ) [1] => Array ( [type] => bool [name] => hoteltype_cityhotel [value] => true [desc] => Mestni hotel ) [2] => Array ( [type] => bool [name] => hoteltype_apartmenthotel [value] => true [desc] => Aparthotel ) ...... ) [pictures] => Array ( [0] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=fti&cid=14507&file=11262451_20828347.jpg [1] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=fti&cid=14507&file=008257_9173677.jpg [2] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=fti&cid=14507&file=008257_9173678.jpg [3] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=fti&cid=14507&file=008257_9173675.jpg [4] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=fti&cid=14507&file=11262452_20828351.jpg [5] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=fti&cid=14507&file=008257_9173676.jpg [6] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=fti&cid=14507&file=008257_9173674.jpg [7] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=fti&cid=14507&file=11262453_20828354.jpg [8] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=fti&cid=14507&file=11262454_20828355.jpg ) ) ... [tocs] => Array ( [0] => Array ( [info] => Array ( [toc] => 5VF [pic] => http://www.ors.si/ibe/ikonce/toc/5vf.gif [name] => 5 Vor Flug ) [rooms] => Array ( [0] => Array ( [info] => Array ( [gid] => 202371 [code] => X44H000170000F:0000000300000011400A988EF [name] => [zac] => DZ [vpc] => OV [ppc] => 21 [cppc_perc] => -15 ) [attributes] => Array ( [0] => Array ( [type] => float [name] => category_recommended [value] => 3 [desc] => PriporoÄena kategorija ) [1] => Array ( [type] => bool [name] => hoteltype_cityhotel [value] => true [desc] => Mestni hotel ) .... ) [pictures] => Array ( [0] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262451_20828347.jpg [1] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173677.jpg [2] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173678.jpg [3] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173675.jpg [4] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262452_20828351.jpg [5] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173676.jpg [6] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173674.jpg [7] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262453_20828354.jpg [8] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262454_20828355.jpg ) ) [1] => Array ( [info] => Array ( [gid] => 202371 [code] => X44H0001700007:0000000300000011400A988EF [name] => [zac] => DZ [vpc] => OV [ppc] => 28 ) [attributes] => Array ( [0] => Array ( [type] => float [name] => category_recommended [value] => 3 [desc] => PriporoÄena kategorija ) [1] => Array ( [type] => bool [name] => hoteltype_cityhotel [value] => true [desc] => Mestni hotel ) .... ) [pictures] => Array ( [0] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262451_20828347.jpg [1] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173677.jpg [2] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173678.jpg [3] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173675.jpg [4] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262452_20828351.jpg [5] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173676.jpg [6] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173674.jpg [7] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262453_20828354.jpg [8] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262454_20828355.jpg ) ) [2] => Array ( [info] => Array ( [gid] => 202371 [code] => X44H0001700009:0000000300000012400A988F0 [name] => [zac] => DZ [vpc] => UF [ppc] => 31 ) [attributes] => Array ( [0] => Array ( [type] => float [name] => category_recommended [value] => 3 [desc] => PriporoÄena kategorija ) [1] => Array ( [type] => bool [name] => hoteltype_cityhotel [value] => true [desc] => Mestni hotel ) .... ) [pictures] => Array ( [0] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262451_20828347.jpg [1] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173677.jpg [2] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173678.jpg [3] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173675.jpg [4] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262452_20828351.jpg [5] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173676.jpg [6] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173674.jpg [7] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262453_20828354.jpg [8] => http://i6.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262454_20828355.jpg ) ) [3] => Array ( [info] => Array ( [gid] => 202371 [code] => X44H0001700001:0000000300000012400A988F0 [name] => [zac] => DZ [vpc] => UF [ppc] => 37 ) [attributes] => Array ( [0] => Array ( [type] => float [name] => category_recommended [value] => 3 [desc] => PriporoÄena kategorija ) [1] => Array ( [type] => bool [name] => hoteltype_cityhotel [value] => true [desc] => Mestni hotel ) .... ) [pictures] => Array ( [0] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262451_20828347.jpg [1] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173677.jpg [2] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173678.jpg [3] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173675.jpg [4] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262452_20828351.jpg [5] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173676.jpg [6] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173674.jpg [7] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262453_20828354.jpg [8] => http://i9.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262454_20828355.jpg ) ) [4] => Array ( [info] => Array ( [gid] => 202371 [code] => X44H000170000B:0000000300000013400A988F1 [name] => [zac] => DZ [vpc] => HP [ppc] => 41 ) [attributes] => Array ( [0] => Array ( [type] => float [name] => category_recommended [value] => 3 [desc] => PriporoÄena kategorija ) [1] => Array ( [type] => bool [name] => hoteltype_cityhotel [value] => true [desc] => Mestni hotel ) .... ) [pictures] => Array ( [0] => http://i7.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262451_20828347.jpg [1] => http://i7.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173677.jpg [2] => http://i7.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173678.jpg [3] => http://i7.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173675.jpg [4] => http://i7.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262452_20828351.jpg [5] => http://i7.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173676.jpg [6] => http://i7.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=008257_9173674.jpg [7] => http://i7.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262453_20828354.jpg [8] => http://i7.giatamedia.de/s.php?uid=157097&source=xml&size=320&vea=5vf&cid=2492&file=11262454_20828355.jpg ) )
header
(array) : information about a selected region and paging informationtyp
: content typeoffers
: number of offers foundsid
: session id usedoffer (array)
: an offer information pic
: full picturegid
: GIATA IDhtn
: accommodation namestc
: hotel categoryhon
: city nameoid
: city IDrgc
: region code (ID)rgn
: region namergg
: region group IDrggn
: region group namegeo
: does this property has a geo location coordinates (1) or not (0)lat
: latitudelon
: longitudetop_units (array)
: top units array (when using filter or tocp parameter)info
(array): touroperator infotoc
: touroperator codepic
: touroperator logoname
: touroperator namerooms
(array) : a list of roomsinfo
(array) : room infogid
: GIATA IDcode
: room codename
: room namezac
: room typevpc
: service typevpn
: service type namezan
: room type nameppc
: pricecppc
: catalog priceltx
: viewatx
: facilitieshtc
: product codeprice_type
: 0 - price per person , 1 - price per unitpax
: number of personsbedrooms
: number of bedroomsm2size
: square meter attributes
(array) : room attributestype
: attribute type (bool, int, float, string)name
: attribute name (code)value
: valuedesc
: descriptionpictures
(array) : a list of room picturestocs (array)
: a list of rooms per touroperatorinfo
(array): touroperator infotoc
: touroperator codepic
: touroperator logoname
: touroperator namerooms
(array) : a list of roomsinfo
(array) : room infogid
: GIATA IDcode
: room codename
: room namezac
: room typezan
: room type namevpc
: service typevpn
: service type nameppc
: pricecppc
: catalog priceltx
: viewatx
: facilitieshtc
: product codeprice_type
: 0 - price per person , 1 - price per unitpax
: number of personsbedrooms
: number of bedroomsm2size
: square meter attributes
(array) : room attributestype
: attribute type (bool, int, float, string)name
: attribute name (code)value
: valuedesc
: descriptionpictures
(array) : a list of room pictures* Example using units method
// filter offers using single filter $searchParams = array( 'vnd' => '30.10.2014', // start date 'bsd' => '15.11.2014', // end date 'epc' => '2', // number of adults 'gid' => '71088', // selected by GIATA ID ); $units = $soapClient->orsxml_dhotel_api_call( 'units', $searchParams, $header );