Difference between revisions of "Offerit API Ping"
From Offerit
OfferitJames (talk | contribs) (→NuSOAP Example) |
OfferitMegan (talk | contribs) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
}} | }} | ||
Ping is a test function to make sure that you can successfully connect to the API. | Ping is a test function to make sure that you can successfully connect to the API. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== NuSOAP Example == | == NuSOAP Example == | ||
− | This example continues from the [[Offerit_API#Example|main article NuSOAP Example]] | + | This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]: |
<pre> | <pre> | ||
Line 31: | Line 12: | ||
</pre> | </pre> | ||
− | == Sample Output == | + | === Sample Output === |
<pre> | <pre> | ||
Line 40: | Line 21: | ||
<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>