I. array ( [ 'idReservation' ] = '' ; ) OR array ( [ 'webId' ] = '' ; ) II. array ( [ 'bookingNumber' ] = '' ; [ 'sourceSystem' ] = '' ; ) III. array ( [ 'status' ] = '' ; // 'optional','confirm','cancel' [ 'payer' ]['name'] = ''; [ 'payer' ]['surname'] = ''; [ 'payer' ]['address'] = ''; [ 'payer' ]['city'] = ''; [ 'payer' ]['postCode'] = ''; [ 'payer' ]['phoneNumber'] = ''; [ 'payer' ]['email'] = ''; [ 'participants'] = array ( [0]['name'] = ''; [0]['surname'] = ''; [0]['birthDate'] = ''; [0]['sex'] = ''; [0]['phoneNumber'] = ''; [0]['email'] = ''; [0]['address'] = ''; [0]['city'] = ''; [0]['postCode'] = ''; [0]['document1Number'] = ''; [0]['document1DateExp'] = ''; [1].. [2].. ) )
//I. $yourParams = array(); $yourParams [ 'idReservation' ] = 4 ; $yourParams [ 'status' ] = 'confirm' ; $ret = $udds->changeReservationStatus ( $yourParams ); //II. $yourParams = array(); $yourParams [ 'bookingNumber' ] = '1234/2019' ; $yourParams [ 'sourceSystem' ] = 'KSI' ; // 'KSI', 'MERLINX', 'MERLIN.GATE' ... $yourParams [ 'status' ] = 'cancel'; $ret = $udds->changeReservationStatus ( $yourParams ) ;
Returns $ret =
( ... )