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

Function exportGetOffers

Arguments

Returns

Array including list of offers identifiers .

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 [ 'exportTo' ] = 'MerlinX' ;
  $ret = $udds->exportGetOffers ( $yourParams ) ;
  

Returns $ret =
Array ( [0] => Array ( [idOffer] => 4 [name] => Przykładowa oferta do Gdańska ! ) [1] => Array ( [idOffer] => 8 [name] => Przykładowa oferta do Sosnowca (TEST - ceny rozszerzone) ) [2] => Array ( [idOffer] => 15 [name] => Przykładowa wycieczka do Włoch ) [3] => Array ( [idOffer] => 46 [name] => Wczasy w Turcji ) [4] => Array ( [idOffer] => 93 [name] => Domek w Bieszczadach (ceny bazowe)(kopia) ) )