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

Function sendReservationDocuments

Arguments

Returns

Operation status or error.

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 [ 'idParticipantList' ] = array ( 0, 324, 325 ) ;
  $yourParams [ 'documentNameList' ] = array ( 'umowa_zgloszenie', 'voucher', 'museum_ticket' ) ;
  $yourParams [ 'title' ] = 'Alternatywny tytuł dla wiadomości z dokumentami.' ;

  $ret = $udds->sendReservationDocuments ( $yourParams  ) ;


Returns $ret = Array ( 'status' => 'OK' ) OR Array ( 'status' => 'FAIL', 'error' => '1234:error message ...' )