Skip to main content
POST
/
api
/
insight
/
report
/
profitability
Returns profitability data for the specified reporting period.
curl --request POST \
  --url https://{tenant}.ekso.app/api/insight/report/profitability \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "filterBy": "<string>",
  "startDate": "2023-11-07T05:31:56Z",
  "endDate": "2023-11-07T05:31:56Z"
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "totalHours": 123,
    "billableHours": 123,
    "nonBillableHours": 123,
    "billablePercentage": 123,
    "estimatedCost": 123,
    "estimatedRevenue": 123,
    "grossMarginPercentage": 123
  }
]

Authorizations

Authorization
string
header
required

JWT Bearer token. Obtain via the OAuth 2.0 token endpoint.

Body

The date range and filter criteria for the profitability report.

filterBy
string
startDate
string<date-time>
endDate
string<date-time>

Response

Profitability records.

id
string
name
string
totalHours
billableHours
nonBillableHours
billablePercentage
estimatedCost
estimatedRevenue
grossMarginPercentage