Planfix API user.actionsAdded

From Planfix
Revision as of 12:32, 5 March 2024 by Dmitri (talk | contribs) (Created page with "Allows you to get the number of actions added by the user over a specified period. Request format: <source lang="xml"> <?xml version="1.0" encoding="UTF-8"?> <request method="user.actionsAdded"> <account></account> <sid></sid> <user> <id></id> </user> <period> <begin></begin> <end></end> </period> <actionType></actionType> <signature></signature> </request> </source> {| class="wikitable" style="margin-top: 1em; width:100% " !width="150"|Name !...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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">
  <account></account>
  <sid></sid>
  <user>
    <id></id>
  </user>
  <period>
    <begin></begin>
    <end></end>
  </period>
  <actionType></actionType>
  <signature></signature>
</request>
Name Type Value Note
user.id 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">
  <count></count>
</response>
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">
  <code></code>
</response>


Go To