Skip to main content
POST
/
api
/
time
/
resource
/
{userId}
Lists items with billable time logged by a user within a date range.
curl --request POST \
  --url https://{tenant}.ekso.app/api/time/resource/{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>",
    "containerId": "<string>",
    "processId": "<string>",
    "sequence": 123,
    "boardId": "<string>",
    "cycleId": "<string>",
    "resourceType": 123,
    "resourceId": "<string>",
    "dateOpened": "2023-11-07T05:31:56Z",
    "dateWorking": "2023-11-07T05:31:56Z",
    "dateClosed": "2023-11-07T05:31:56Z",
    "time": [
      {
        "id": "<string>",
        "dated": "2023-11-07T05:31:56Z",
        "userId": "<string>",
        "timeTypeId": "<string>",
        "timeLogged": "<string>",
        "comment": "<string>",
        "status": 123
      }
    ],
    "field": [
      {
        "fieldId": "<string>",
        "data": "<string>"
      }
    ],
    "meta": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "clockStart": "2023-11-07T05:31:56Z",
    "clockFinish": "2023-11-07T05:31:56Z",
    "clockDelta": 123,
    "clockHours": 123,
    "clockStatus": 123,
    "dependencyKey": "<string>",
    "dependencyIndent": 123,
    "dependencyChild": 123,
    "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 items with time entries.

entity
null | string
containerId
string
processId
string
sequence
boardId
string
cycleId
string
resourceType
integer
resourceId
string
dateOpened
null | string<date-time>
dateWorking
null | string<date-time>
dateClosed
null | string<date-time>
time
object[]
field
object[]
meta
object[]
clockStart
string<date-time>
clockFinish
string<date-time>
clockDelta
clockHours
clockStatus
integer
dependencyKey
string
dependencyIndent
dependencyChild
tenantId
string
id
string
created
string<date-time>
createdBy
string
updated
string<date-time>
updatedBy
string
deleted
boolean