Planfix API action.getListByPeriod

From Planfix
Jump to: navigation, search

Getting a list of all actions for a given date range:

<?xml version="1.0" encoding="UTF-8"?>
<request method="action.getListByPeriod">
Name Type Value Notes
fromDate DateTime beginning of date range
toDate DateTime end of date range
pageCurrent int current page
pageSize int size of the requested page cannot exceed 100
sort enum: {asc,desc} list sorting not required; default is desc int task identifier not required; by default actions are selected from all tasks
signature string(32) signature


<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
  <actions count="count" totalCount="totalCount">
    <action><!-- ... --></action>
    <action><!-- ... --></action>
    <!-- ... -->
Name Type Value Notes
actions root node containing a list of actions
actions count int number of actions in the response
actions totalCount int number of actions satisfying the request
action action. see the action.get / Get actionsection for a description of this parameter

Otherwise, an error response will be returned:

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

Go To