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!
Information about an offer and trip by sending hsc
code.
This information is only returned if session hasn't expired yet. If you send search parameters that you have used with trips method, a system will try to recreate session.
pauschal
hotel
trips
charter
is not supported!)oneway
is not supported!)extras
is not supported!)searchData (array)
: search parameters. Required serach parameters: hsc
headerData (array)
: SOAP Header Information
Gets detailed information about an offer and trip via trip hsc
code.
Array ( [xmlReq] => [searchtermin_xmlReq] => [header] => Array ( [typ] => hotel [offers] => 1 [rgc] => [rgn] => 0 [rgg] => [rggn] => [pages] => 1 [perpage] => 20 [offset] => [sid] => pg1l77hauar2k7h3vfq96grmf6 ) [offer] => Array ( [pic] => http://www.ors.si/giata-pics/80970//full.jpg [gid] => 80970 [htn] => Pavillons Slaven [stc] => 1.5 [ovr] => 67 [emf] => 100 [cnt] => 9 [oid] => 5390 [hon] => Selce [fcts] => bea=0,ben=0,chf=0,clb=0,ani=0,pol=0,wel=0,spt=0,sgl=0,stn=0,ski=0 [dtemp] => [wtemp] => [rgc] => 100434 [rgn] => Croatia - Kvarner [rgg] => 100023 [rggn] => Croatia [geo] => 1 [lat] => 45.1548430000000000 [lon] => 14.7177340000000000 ) [trip] => Array ( [sub] => lastmin [gid] => 80970 [toc] => PALM [tockoda] => 80657677 [ton] => Palma [rgc] => 100434 [oid] => 5390 [zac] => DZ [zackoda] => 6890 [zan] => double room [vpc] => HP [vpckoda] => 7280 [vpn] => half board [od] => aid=,iid=,lid=,vid=,zid=palm_31204 [htc] => LEHRV2131495 [svc] => 31204 DZ HP [ahckoda] => [vnd] => 2014-09-20 [bsd] => 2014-09-25 [tdc] => 5 [md5p] => 44f032470126b41c04ee78d21bd076cd [md5t] => 6e3bb74d62872af863754b37f09ce146 [hsc] => 6e3bb74d62872af863754b37f09ce146 [ppc] => 95 [alt] => 0 [top] => 0 [tocpic] => http://www.ors.si/ibe/ikonce/toc/palm.gif [aid] => [atx] => [iid] => [itx] => [lid] => [ltx] => [vid] => [vtx] => [zid] => palm_31204 [ztx] => ) )
header
(array) : information about a selected region and paging informationtyp
: content typeoffers
: number of offers foundpages
: number of pagesperpage
: records per pageoffset
: current page (first page have offset 0, second page have offset 1, …)sid
: session id usedrgc
: selected region code (ID)rgn
: selected region namergg
: selected region group code (ID)rggn
: selected region group nameoffer (array)
: an offer informationpic
: picture thumbnailgid
: accommodation GIATA IDhtn
: accommodation namestc
: hotel categoryovr
: overall ratingemf
: guests recommendation (in percents)cnt
: number of evaluatorshon
: city nameoid
: city IDzhn
: destination namezhc
: destination code (IATA code)fcts
: hotel factsdtemp
: air temperaturewtemp
: water temperaturergc
: region code (ID)rgn
: region namergg
: region group IDrggn
: region group namegeo
: does this accommodatin have a geo location codes (1) or not (0)lat
: latitudelon
: longitudetrip (array)
: trip informationsub
: sub category (catalog, earlybird, lastmin, …)gid
: accommodation GIATA IDtoc
: touroperator codeton
: touroperator nametocpic
: touroperator logozac
: room type codezan
: room type namevpc
: service type codevpn
: service type namehtc
: hotel code (or product code)svc
: service codevnd
: checkin datebsd
: checkout datetdc
: durationmd5p
: unique hash for this offer (for internal use only)md5t
: unique hash for this trip (for internal use only)hsc
: unique hash for this tripalt
: alternative trip (1) or a normal trip (0)top
: top trip (1) or a normal trip (0)aid
, iid
, lid
, vid
, zid
: (for internal use only)atx
: room facilitiesltx
: room location ztx
: room detail descriptionitx
: included services in room priceppc
: price per personurl
: a suggested URL with search parameters for check methodofferTripInfo
request$searchParams = array( 'vnd' => '30.10.2014', // start date 'bsd' => '15.11.2014', // end date 'tdc' => '1-4', // duration [min-max] days 'epc' => '2', // number of adults 'gid' => '71088', // selected hotel by GIATA ID 'hsc' => '6e3bb74d62872af863754b37f09ce146', // trip hash code ); $offerTripInfo = $soapClient->orsxml_hotel_api_call( 'offerTripInfo', $searchParams, $header );