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/' ; $functionParams = 'Any function params for test.' ; $udds->searchParams [ 'offerGroup' ] = [ 'anyTestGroup' ] ; $ret = $udds->test( $functionParams ) ;
Returns $ret = Array( [test] => OK [echo] => Array ( [functionParams] => Any function params for test. [searchParams] => Array ( [offerGroup] => Array ( [0] => anyTestGroup ) [offerSubGroup] => Array ( ) ( ... ) [resultsPerPage] => 10 [currencyCode] => PLN [languageCode] => pl [sortOrder] => a ) ) )