Planfix API user.actionsAdded

From Planfix
Jump to: navigation, search

Allows you to get the number of actions added by the user over a specified period. Request format:

<?xml version="1.0" encoding="UTF-8"?>
<request method="user.actionsAdded">
Name Type Value Note int user identifier
period.begin DateTime start date of the period
period.end DateTime end date of the period
actionType enum action type, optional parameter see the list of possible values in the action types section
signature string(32) signature

The response will contain the number of actions of the specified type (or any type), added by the user during a specified period.

<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
Namе Type Value Note
count int number of actions

Otherwise, a response with an error will be returned:

<?xml version="1.0" encoding="UTF-8"?>
<response status="error">

Go To