UDDS OX API - documentation ver.2.5 (2023-04-07) ( www.dlaoperatora.pl )

Function getReservationDocument

Arguments

Returns

Returns url to document add operation status

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 [ 'idReservation' ] = 4 ;
  $yourParams [ 'documentName' ] = 'umowa zgloszenie' ;
  $ret = $udds->getReservationDocument ( $yourParams  ) ;


Returns $ret = Array ( 'url' => 'https://api.dlaoperatora.pl/reservationPrint?754898ftr439hf9834&l=XXX&...', 'status' => 'OK' )