Zmiany pomiędzy wersją 4 and wersją 5 dla DeployerGuide/Others/eDokumentyApi/GetEvent

Pokaż
Ignoruj:
Data i czas:
02/08/12 13:03:49 (12 years temu)
Autor:
TS (IP: 213.227.67.33)
Komentarz:

--

Legend:

Bez zmian
Dodane
Usunięte
Zmienione
  • DeployerGuide/Others/eDokumentyApi/GetEvent

    v4 v5  
    3333define('DEFAULT_ENTITY_SYMBOL', 'demo'); 
    3434 
    35 require_once('./classes/eDo// Tworzy kontakt 
    36 $contid = NULL; 
    37  
    38 try { 
    39     $data = array( 
    40         'name_1' => 'SOAP TEST'.date('d H:m:s'), 
    41         'name_2' => 'SOAPTEST', 
    42         'nip___' => 1111111111, 
    43         'street' => 'Główna',        
    44         'symbol' => 'FGH99' 
    45     ); 
    46     $contid = $client->createContact($data); 
    47     var_dump($contid); 
    48  
    49 } catch(SoapFault $fault) { 
    50      
    51     var_dump($fault); 
    52      
    53     if ($fault->faultcode < 100) { 
    54         trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR); 
    55     } 
    56 }kumentyApi/EDokApiClient.inc'); 
     35require_once('./classes/eDokumentyApi/EDokApiClient.inc'); 
    5736 
    5837$options = array( 
     
    6847$client->__setSoapHeaders($header); 
    6948 
    70 $evntid = 5678; 
     49$evntid = 5487; 
    7150$event = array(); 
    7251