Get a report template
GET {{baseUrl}}/v1/companies/:company_uuid/report_templates/:report_type
Get a company's report template. The only supported report type is payroll_journal
. The resulting columns and groupings from this endpoint can be used as a guidance to create the report using the POST create report endpoint.
scope: company_reports:write
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
Accept | string |
RESPONSES
status: OK
{"columns":["regular_rate","regular_hours","regular_earnings"],"groupings":["payroll","employee"],"company_uuid":"p83d0ca8-7d41-42a9-834y-7d218ef6cb20","report_type":"payroll_journal"}