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!
Returns booking information and current status.
pauschal
hotel
trips
charter
oneway
extras
searchData (array)
: Required parameters: toc
, prc
headerData (array)
: SOAP Header InformationReturns booking information and status.
Array ( [offerTripInfo] => [response] => Array ( [mid] => 205 [ttp] => 219 [bfee] => 10.7 [paid] => 229.7 [txt] => Status ok [status] => 3 ) [offer] => Array ( [typ] => hotel [toc] => CMT [ton] => CMT d.o.o. [tocp] => [htc] => SPU9904593 [gid] => 2221635950235 [hon] => Sveti Duh [oid] => [desc] => [zac] => CP [zan] => [vpc] => OV [vpn] => [svc] => [stc] => 1 [htn] => Camping + Festival Ticket [zhc] => [zhn] => [ahc] => [ahn] => [vnd] => 2014-08-17 [bsd] => 2014-08-22 [tdc] => 5 [sub] => [sid] => [sin] => [idp] => [IDP] [ovr] => 0 [pic] => http://www.ors.si/giata-pics/2221635950235/full.jpg ) [actions] => Array ( [0] => Array ( [attributes] => Array ( [ida] => 599 [idh] => 990 ) [discounts_per_pax] => Array ( [0] => Array ( [pax] => Array ( [0] => Array ( [attributes] => Array ( [id] => 1 ) [discount] => Array ( [0] => Array ( [attributes] => Array ( [id] => 241721 [disc_type] => tax [description] => TuristiÄna taksa plaÄana v agenciji [Discount] => 1 [DiscountPercent] => 0 ) ) ) ) ) ) ) ) ) [operator] => Array ( [act] => D [toc] => CMT [prc] => 1130312 [bkc] => 20140814164649977 [hsc] => [agt] => 390733 ) [customer] => Array ( [sur] => BENOIT [pre] => GINER ) [services] => Array ( [0] => Array ( [id] => 1 [typ] => H [cod] => SPU9904593 [opt] => 2672,OV [vnd] => 17082014 [bsd] => 22082014 [agn] => 1 [sst] => OK [spc] => 219 ) [1] => Array ( [id] => 2 [typ] => EX [cod] => 200491:4593 [opt] => 0, [vnd] => 17082014 [bsd] => 17082014 [agn] => 1 [sst] => OK ) ) [travellers] => Array ( [0] => Array ( [id] => 382311 [typ] => H [sur] => BENOIT [pre] => GINER [age] => [tvp] => 219 [str] => [cty] => [zip] => [eml] => [tel] => [personalID] => [country] => [vatnr] => [promo] => ) ) [info] => Array ( [0] => Camping + Festival Ticket [1] => Category: * [2] => Product code: SPU9904593 [3] => City: Sveti Duh [4] => CP, camping, dish washing, common shower, common toilet [5] => 5 X only rent (OV) [6] => 17.08.2014 - 22.08.2014 [15] => -------------------------------------------------------------- [16] => CRS powered by ORS XTREME ) [exInfo] => Array ( [0] => Array ( [txt] => - Tourist tax is paid at agency [typ] => rmk ) ) [errorNr] => [error] => [xmlRes] => [xmlReq] => )
offerTripInfo (array)
: empty arrayresponse (array)
: booking status, message and a total pricemid
: booking message ID (check Message IDs for a list of possible values)txt
: booking text message (message is in selected language and it depends on mid
value)status
: booking status ttp
: total price for all passengersbfee
: booking feepaid
: already paidoffer (array)
: offer info (when checking booking with more then one service booked then this array will contain only a general service information)actions (array)
: discounts / surcharges used with this bookingoperator (array)
: used action, touroperator info and booking numberact
: actiontoc
: touroperator codeagt
: agency numberprc
: booking numberbkc
: ORS internal booking numbercustomer (array)
: customer info (to whom the reservation is made)sur
: last namepre
: first nameeml
: email addressstr
: streetzip
: zip codecty
: citytel
: telephonemob
: mobilefax
: fax numberservices (array)
: booked servicesid
: service sequence numbertyp
: service typecod
: product codeopt
: service codevnd
: start datebsd
: end dateagn
: a list of persons for this service (comma separated person IDs)sst
: service statustravellers (array)
: passengers infoid
: passenger sequence numbertyp
: passenger sex / type. Possible values: sur
: last namepre
: first nameage
: age / birthdaytvp
: price for this personstr
: streetcty
: cityzip
: zip codeeml
: emailtel
: telephonepersonalID
: personal ID numbercountry
: ISO country codeinfo
: touroperator information text. This text is directly from selectged touroperator and can be in different language. Usually this text contains important information about checked offer.exInfo
: extended touroperator information texttxt
: texttyp
: text type (rmk - remark), errorNr
: error numbererror
: error message$searchParams = array( 'toc' => 'ABC', // touroperator code 'bkc' => '20140814164649977', // ORS internal booking number 'prc' => '1130312', // booking number ); // booking info $info = $soapClient->orsxml_hotel_api_call( 'book_info', $searchParams, $headerData );