UDDS OX API - documentation ver.2.4 (2022-04-06) ( www.dlaoperatora.pl )

Function exportGetTrips

Arguments

Returns

Array including list of trips details .

Example


  require_once ( 'classUddsOx.php' ) ;

  $udds = new classUddsOx ;
  $udds->customerCode = [your_customerCode] ;
  $udds->login = [your_login] ;
  $udds->password = [your_password] ;
  $udds->serverUrl = 'http://api.dlaoperatora.pl/udds/' ;
  
  $yourParams = array();
  $yourParams [ 'idOffer' ] = 4 ;
  $yourParams [ 'exportTo' ] = 'MerlinX' ;
  $ret = $udds->exportGetTrips ( $yourParams  ) ;
  

Returns $ret =
Array ( [0] => Array ( [flight] => Array ( [to] => Array ( [departureFromCode] => [departureToCode] => [codeExt1] => [codeExt2] => [carrierCode] => SP [departure] => Array ( [time] => 13:26 ) [arrival] => Array ( [time] => 17:26 ) [carrierName] => Small Planet [departureFromName] => [departureToName] => [flightNumber] => ) [from] => Array ( [departure] => Array ( [time] => 19:12 ) [arrival] => Array ( [time] => 22:16 ) ) ) [transport] => B [catalog] => LAST [dateFrom] => 01-12-2018 [durationNights] => 9 [offerCode] => TEST003 [serviceCode] => [roomCode] => DBL [feedingCode] => O [additionalBitInfo] => 0 [maxPax] => 2 [price] => 666 [currency] => PLN [multiUse1] => [multiUse2] => [offerName] => Przykładowa oferta do Gdańska ! [city] => Gdańsk [roomDescription] => Double [maintenanceDescription] => 2x dziennie [hotelCategory] => 4 [catalogName] => -Wczasy [status] => OK [availHotel] => 99 [availFlight] => 99 [mxTypeCode] => [mxHotelTypeCode] => H [availInfants] => 1 [roomType] => 0 [minAdt] => 1 [minPax] => 1 [mxaPax] => 2 [maxAdt] => 2 [defaultPax] => 2 [productNumber] => 1044 [flightClass] => [dates] => [region] => Pomorze [hotelPriceID] => 1044 [ageGroup1From] => 1 [ageGroup1To] => 0 [ageGroup1Price] => 0 [ageGroup2From] => 1 [ageGroup2To] => [ageGroup2Price] => [ageGroup3From] => 1 [ageGroup3To] => [ageGroup3Price] => [infantsMinAge] => 0 [infantsMaxAge] => 0 [infantsPrice] => 0 [adult2Price] => 0 [adult3Price] => 0 [adult4Price] => 0 [adult5Price] => 0 [priceDescription] => [bedsBooking] => 0 [apartmentPriceDetails1] => 0 [apartmentPriceDetails2] => 0 [description] => [flightFromCode] => [baseBusStop] => [realDepartureDate] => 01-12-2018 [hotelTypeNum] => 0 [additionalServices] => Array ( [0] => Array ( [ID_OFERTY_BP_DOPLATY] => 9 [ID_OFERTY] => 4 [TYP] => osoba [KOD] => SKIPASS [NAZWA] => SKIPASS [OPIS] => [WARTOSC] => 4000 [WALUTA] => EUR [ID_ZRODLA] => 0 [ZRODLO] => [ID_FIRMY] => 1 [DATA_WPROWADZENIA] => 2016-05-10 [GODZINA_WPROWADZENIA] => 12:00:44 [ID_WPROWADZAJACEGO] => 1 [DATA_MODYFIKACJI] => 2016-05-10 [GODZINA_MODYFIKACJI] => 12:01:20 [ID_MODYFIKUJACEGO] => 1 [ZMIANA] => [MAX_ILOSC] => 0 [WIDOCZNA_NA_WWW] => 1 [LP] => 0 ) ) ) [1] => Array ( [flight] => Array ( [to] => Array ( [departureFromCode] => [departureToCode] => [codeExt1] => [codeExt2] => [carrierCode] => SP [departure] => Array ( [time] => 13:26 ) [arrival] => Array ( [time] => 17:26 ) [carrierName] => Small Planet [departureFromName] => [departureToName] => [flightNumber] => ) [from] => Array ( [departure] => Array ( [time] => 19:12 ) [arrival] => Array ( [time] => 22:16 ) ) ) [transport] => B [catalog] => LAST [dateFrom] => 01-12-2018 [durationNights] => 9 [offerCode] => TEST003 [serviceCode] => [roomCode] => DBL [feedingCode] => O [additionalBitInfo] => 0 [maxPax] => 2 [price] => 666 [currency] => PLN [multiUse1] => [multiUse2] => [offerName] => Przykładowa oferta do Gdańska ! [city] => Gdańsk [roomDescription] => Double [maintenanceDescription] => 2x dziennie [hotelCategory] => 4 [catalogName] => -Wczasy [status] => OK [availHotel] => 99 [availFlight] => 99 [mxTypeCode] => [mxHotelTypeCode] => H [availInfants] => 1 [roomType] => 0 [minAdt] => 1 [minPax] => 1 [mxaPax] => 2 [maxAdt] => 2 [defaultPax] => 2 [productNumber] => 1045 [flightClass] => [dates] => [region] => Pomorze [hotelPriceID] => 1045 [ageGroup1From] => 1 [ageGroup1To] => 0 [ageGroup1Price] => 0 [ageGroup2From] => 1 [ageGroup2To] => [ageGroup2Price] => [ageGroup3From] => 1 [ageGroup3To] => [ageGroup3Price] => [infantsMinAge] => 0 [infantsMaxAge] => 0 [infantsPrice] => 0 [adult2Price] => 0 [adult3Price] => 0 [adult4Price] => 0 [adult5Price] => 0 [priceDescription] => [bedsBooking] => 0 [apartmentPriceDetails1] => 0 [apartmentPriceDetails2] => 0 [description] => [flightFromCode] => [baseBusStop] => [realDepartureDate] => 01-12-2018 [hotelTypeNum] => 0 [additionalServices] => Array ( [0] => Array ( [ID_OFERTY_BP_DOPLATY] => 9 [ID_OFERTY] => 4 [TYP] => osoba [KOD] => SKIPASS [NAZWA] => SKIPASS [OPIS] => [WARTOSC] => 4000 [WALUTA] => EUR [ID_ZRODLA] => 0 [ZRODLO] => [ID_FIRMY] => 1 [DATA_WPROWADZENIA] => 2016-05-10 [GODZINA_WPROWADZENIA] => 12:00:44 [ID_WPROWADZAJACEGO] => 1 [DATA_MODYFIKACJI] => 2016-05-10 [GODZINA_MODYFIKACJI] => 12:01:20 [ID_MODYFIKUJACEGO] => 1 [ZMIANA] => [MAX_ILOSC] => 0 [WIDOCZNA_NA_WWW] => 1 [LP] => 0 ) ) ) ( ... )