WAPI – command ping-async

You could try the system notifications in WAPI, we have prepared command ping-async for this. As first command returns 1001 (queued) and then will be created notification during the command execution.

Example of use:

XML request:

	<request>
 <user>tester</user>
 <auth>ee01105556e1e12f4e0430d5e5ae07276c38ad29</auth>
 <command>ping-async</command>
 <clTRID>0240</clTRID>
</request>

XML response:

	<response>
 <code>1001</code>
 <result>Request pending</result>
 <timestamp>1287598777</timestamp>
 <clTRID>0240</clTRID>
 <svTRID>1287598777.6704.32338.1</svTRID>
 <command>ping-async</command>
</response>

XML notification:

<notify>
 <code>1000</code>
 <result>OK</result>
 <timestamp>1287598792</timestamp>
 <clTRID>0240</clTRID>
 <svTRID>1287598777.6704.32338.1</svTRID>
 <command>ping-async</command>
 <id>1088</id>
 <data>
  <round>2</round>
  <time>14.7174</time>
  <done>1</done>
 </data>
</notify>
Děkujeme za zpětnou vazbu!