Difference between revisions of "Offerit API Ping"
From Offerit
OfferitJames (talk | contribs) (Created page with "{{Offerit Manual | show_api_admin_section = true }} Ping is a test function to make sure that you can successfully connect to the API. <pre> <?xml version="1.0" encoding="ISO-88...") |
OfferitMegan (talk | contribs) |
||
(9 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> | ||
− | |||
− | |||
$result = $client->call('ping', Array(), 'offeritapiadmin_wsdl'); | $result = $client->call('ping', Array(), 'offeritapiadmin_wsdl'); | ||
</pre> | </pre> | ||
− | == Sample Output == | + | === Sample Output === |
<pre> | <pre> | ||
Line 42: | 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>