Skip to main content

getCompanyReport

GET 

/reports

Get one finished report of the Company related to your access token, by its reportId. A report is a computed Bedrijfsrooster rapportage (for example companyReliefHours, the year balance of relief hours) that the app generated earlier; this returns its stored result exactly as the app receives it, under Data. The shape of Data depends on the report's typeConstant.

A report that is not finished yet is an error, not a partial result: HTTP 409 with the progress inside the message as percentage_complete [<n>] (integer 0-100), so poll again later. A report that belongs to another company answers 403; an unknown or deleted reportId answers 404. Requires the company:reports:read integration permission in addition to the OAuth ti_api_usr scope.

Request​

Responses​

The finished report with its decoded result under Data.