Table of Contents

Offer and Trip Info method

This method is deprecated. We will not include this method in the next API version.

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.

Valid content types

Description

public array offerTripInfo( array $searchData, array $headerData )

Parameters

Return Values

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] => 
        )
)

Return parameters

Examples

$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 );