Use the get-events operation to retrieve the whole Action log.
A request XML packet retrieving actions log includes the get node:
<packet>
<event_log>
<get>
</get>
</event_log>
</packet>
The get node has the following graphical representation:
Note: To retrieve all actions performed on the server, do not specify this node.
The get node of the output XML packet is structured as follows:
common.xsd
).The following nodes are required only if the event node is present in the response packet:
This packet retrieves the Action log.
<packet>
<event_log>
<get/>
</event_log>
</packet>
Response:
<?xml version="1.0" encoding="UTF-8"?>
<packet>
<event_log>
<get>
<result>
<status>ok</status>
<event>
<type>status_changed</type>
<time>1300138583</time>
<class>domain</class>
<id>tgb.yu</id>
</event>
<event>
<type>status_changed</type>
<time>1300138583</time>
<class>domain</class>
<id>tgb.ru</id>
</event>
<event>
<type>status_changed</type>
<time>1300138583</time>
<class>domain</class>
<id>ab.cd</id>
</event>
<event>
<type>guid_changed</type>
<time>1300138583</time>
<class>domain</class>
<id>ab.cd</id>
</event>
...
</result>
</get>
</event_log>
</packet>
This packet retrieves the Action log and removes the actions.
<packet>
<event_log>
<get>
<options>
<flush_selected_range>true</flush_selected_range>
</options>
</get>
</packet>