Skip to main content
POST
/
api
/
time
/
{userId}
Lists non-billable time entries for a user within a date range.
curl --request POST \
  --url https://{tenant}.ekso.app/api/time/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "<string>",
  "fromDate": "2023-11-07T05:31:56Z",
  "toDate": "2023-11-07T05:31:56Z"
}
'
[
  {
    "entity": "<string>",
    "dated": "2023-11-07T05:31:56Z",
    "userId": "<string>",
    "nonBillableId": "<string>",
    "timeLogged": "<string>",
    "comment": "<string>",
    "tenantId": "<string>",
    "id": "<string>",
    "created": "2023-11-07T05:31:56Z",
    "createdBy": "<string>",
    "updated": "2023-11-07T05:31:56Z",
    "updatedBy": "<string>",
    "deleted": true
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

userId
string
required

The unique identifier of the user.

Body

The date range filter (defaults to the last 7 days).

userId
string
fromDate
string<date-time>
toDate
string<date-time>

Response

List of time entries.

entity
null | string
dated
string<date-time>
userId
string
nonBillableId
string
timeLogged
string
comment
string
tenantId
string
id
string
created
string<date-time>
createdBy
string
updated
string<date-time>
updatedBy
string
deleted
boolean