Skip to main content

Run report

POST 

/reports/run_report

Run a report and get the output.

Required abilities

In order to run a report, you must either be the owner of the report, or have the the Authority - Administrator ability, or have certain other conditions apply such as Timekeeping or Approver authority over the user.

In addition, the actual data you see in the report can vary depending on the report settings and your current access permissions such as group memberships.

Not a RESTful endpoint

This endpoint does not necessarily follow the standard REST conventions. In particular, it uses the POST method for operations that would typically use GET, PUT or DELETE in a RESTful API endpoint.

Request

Responses

The response object for a report run.

Note that not all of these keys will be present in all responses, depending on the report type.

The core data of the report is usually under the following key:

results > data > report_desc > items

This will be an array of objects, either subtotal objects or individual data objects (rows), depending on the report type and options. The base row objects usually have keys that correspond to the fields listed in:

results > data > report_desc > fields