Use the get-last-id operation to retrieve the ID of the last action performed on the server.
A request XML packet retrieving the last action ID includes the get-last-id node:
<packet>
<event_log>
<get-last-id>
...
</get-last-id>
</event_log>
</packet>
The get-last-id node has the following graphical representation:
Data type: none.
The get-last-id node of the output XML packet is structured as follows:
common.xsd
).This request packet retrieves the last action ID.
<packet>
<event_log>
<get-last-id/>
</event_log>
</packet>
Response:
<packet>
<event_log>
<result>
<status>ok</status>
<id>178</id>
</result>
</event_log>
</packet>