List report runs
Changed onReturns a list of report runs for the authenticated partner, newest first. Expired report runs are omitted.
get/report_runs
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
companystring
Return report runs for this company ID.
report_type'payroll_journal' | 'payroll_summary'
Return report runs of this report type. One of payroll_journal or payroll_summary.
status'generating' | 'completed' | 'failed'
Return report runs in this status. One of generating, completed, or failed.
limitinteger
Number of report runs returned per page. The maximum value is 100.
Response
200
Example response
{
"results": [
{
"id": "run_w4wDuqfuSqpMrSXbERrL",
"report": "payroll_journal",
"status": "generating",
"company": "com_MkBYRtUviD6kYO0b85H8"
}
]
}Changes
- info
endpoint added
- info