I. array ( [ 'idReservation' ] = '' ; ) OR array ( [ 'webId' ] = '' ; ) II. array ( [ 'bookingNumber' ] = '' ; [ 'sourceSystem' ] = '' ; )
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/' ; //I. $yourParams = array(); $yourParams [ 'idReservation' ] = 4 ; $ret = $udds->getReservation ( $yourParams ) ; //II. $yourParams = array(); $yourParams [ 'bookingNumber' ] = '1234/2019' ; $yourParams [ 'sourceSystem' ] = 'KSI' ; // 'KSI', 'MERLINX' ... $ret = $udds->getReservation ( $yourParams ) ;
Returns $ret =
( ... )