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/' ; $ret = $udds->getPossibleParams();
Returns $ret =
Array ( [countryRegionCity] => Array ( [Grecja] => Array ( [Attyka] => Array ( [0] => Ateny ) ) [Hiszpania] => Array ( [Palma de Mallorca] => Array ( [0] => Palma Nova ) ) [Polska] => Array ( [Beskid Śląski] => Array ( [0] => Brenna [1] => Wisła ) [Beskid Żywiecki] => Array ( [0] => Wisła [1] => Żywiec ) [Mazowieckie] => Array ( [0] => Płock ) [Małopolska] => Array ( [0] => Kraków ) [Podkarpackie] => Array ( [0] => Dąbrówka Mała ) [Pomorze] => Array ( [0] => Gdańsk ) [Śląsk] => Array ( [0] => Sosnowiec ) ) [Włochy] => Array ( [Lacjum] => Array ( [0] => Mediolan [1] => Neapol [2] => Rzym ) [Ponte di Legno] => Array ( [0] => Ponte ) [Sardynia] => Array ( [0] => Sardynia ) [Toskania] => Array ( [0] => Siena ) ) ) [category] => Array ( [0] => **** [1] => **/*** [2] => Hotel [3] => wg programu ) [accommodation] => Array ( [0] => **** [1] => **/*** [2] => DBL [3] => hotel **** [4] => Hotel, Agroturystyka, Apartamenty, Pokoje gościnne, Chaty/domy, [5] => Ośrodek wczasowy [6] => wg programu ) [transport] => Array ( [0] => autokar [1] => samolot [2] => własny ) [feeding] => Array ( [0] => All inclusive [1] => Wg programu [3] => 2x dziennie [6] => Ultra All [8] => 3 dziennie [9] => 1 dziennie ) [room] => Array ( [DBL] => Double [SGL] => ) [attribute] => Array ( [obiekt] => Array ( [0] => pole golfowe [1] => basen kryty ) [oferta] => Array ( [0] => własny parking ) ) [profile] => Array ( [0] => dla grup znajomych [1] => dla rodzin z dziećmi [2] => dla seniorów [3] => dla szkół [4] => krajowe [5] => obozy sportowe dla dzieci [6] => szkolenia i seminaria [7] => wyjazdy integracyjne [8] => wypoczynek [9] => zagraniczne [10] => zielone szkoły [11] => zwiedzanie ) [promotion] => Array ( [0] => FIRST MINUTE [1] => LAST MINUTE [2] => NASZA OFERTA [3] => PROMOCJA ) )