Skip to main content
POST
/
api
/
time
/
{id}
Lists non-billable time entries for a user within a date range.
curl --request POST \
  --url https://{install}/api/time/{id} \
  --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

id
string
required

The unique identifier of the user (path is {id} to match the time-entry CRUD shape so Kiota generates a single Time[id] indexer; the value represents a user id for this verb).

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