API Docs / Operations / Reports / Export Cost & Profit Report

Export Cost & Profit Report

GET /tenants/{tenant}/reports/cost-profit/csv

The breakdown table as a CSV download - same filters and grouping as the report endpoint, hours to one decimal place and money to two.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

dateRange query string

Preset date range for the time entry window (default Last30Days). If CustomDateRange, startDate and endDate are required.

Preset date range for the time entry window (default Last30Days). If CustomDateRange, startDate and endDate are required.

startDate query string

Entry window start (inclusive). Only valid when dateRange=CustomDateRange

Entry window start (inclusive). Only valid when dateRange=CustomDateRange

endDate query string

Entry window end (inclusive). Only valid when dateRange=CustomDateRange

Entry window end (inclusive). Only valid when dateRange=CustomDateRange

groupBy query string

Breakdown dimension: User (default) or Client

Breakdown dimension: User (default) or Client

teamCode query string

Limit the entries to those logged by the members of one team

Limit the entries to those logged by the members of one team

Responses

200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden

Try it