Difference between revisions of "Offerit API Ping"
From Offerit
OfferitJames (talk | contribs) (→NuSOAP Example) |
OfferitMegan (talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
</pre> | </pre> | ||
− | == Sample Output == | + | === Sample Output === |
<pre> | <pre> | ||
Line 20: | Line 20: | ||
on failure: | on failure: | ||
<no output> | <no output> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> |
Latest revision as of 13:54, 1 February 2013
Ping is a test function to make sure that you can successfully connect to the API.
NuSOAP Example
This example continues from the main article NuSOAP Example:
$result = $client->call('ping', Array(), 'offeritapiadmin_wsdl');
Sample Output
on success: 1 on failure: <no output>