Zmiany pomiędzy wersją 1 and wersją 2 dla DeployerGuide/Others/eDokumentyApi/CreateEvent
- Data i czas:
- 02/08/12 12:59:53 (13 years temu)
Legend:
- Bez zmian
- Dodane
- Usunięte
- Zmienione
-
DeployerGuide/Others/eDokumentyApi/CreateEvent
v1 v2 56 56 $client->__setSoapHeaders($header); 57 57 58 $evntid = NULL; 58 59 60 try { 61 $data = array( 62 'dscrpt' => 'SOAP TEST', 63 'trmtyp' => 'TODO', 64 'start_' => date('Y-m-d H:i:s'), 65 'duratn' => '2h 30m', 66 'usr_id' => 2, 67 ); 68 $evntid = $client->createEvent($data); 69 var_dump($evntid); 70 } catch(SoapFault $fault) { 71 var_dump($fault); 72 73 if ($fault->faultcode < 100) { 74 trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})", E_USER_ERROR); 75 } 76 } 59 77 60 78 ?>