Zmiany pomiędzy wersją 2 and wersją 3 dla DeployerGuide/Others/eDokumentyApi/UpdateDocument

Pokaż
Ignoruj:
Data i czas:
04/16/15 15:54:46 (9 years temu)
Autor:
MK (IP: 31.61.136.236)
Komentarz:

--

Legend:

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

    v2 v3  
    5757$client->__setSoapHeaders($header); 
    5858 
    59 $doc_id = NULL; 
    60  
    6159try { 
    6260    $data = array( 
    63             'dscrpt' => 'SOAP TEST '.date('d H:m:s'), 
     61            'doc_id' => 1221, 
    6462            'prc_id' => 567, 
    65             'dctpid' => 1, 
    66             'target' => 54, 
    67             'from_contact_symbol' => '12345', 
    68             'to_contact_symbol' => '54321', 
    6963            ); 
    70     $doc_id = $client->createDocument($data); 
    71     var_dump($doc_id); 
     64    $result = $client->updateDocument($data); 
     65    var_dump($result); 
    7266} catch(SoapFault $fault) { 
    7367    var_dump($fault);