v2

latestOpenAPI 3.0.12026-07-31690160432.4 KB
Task Timer

Get project timesheet

Fetches all time entries for a specific project, grouped by user. Each entry includes the user details, total occupied time, and individual time tracker records. Supports sorting and filtering via searchCriteria.

get/v1/time-track/projects/{projectId}/timesheet

Path parameters

projectIdinteger required
Example:5

ID of the project

Query parameters

searchCriteriastring

JSON filter criteria. Supported fields: billable, owners, creators, date, when, task. Example: {"filters":[{"field":"billable","condition":"IS","value":true}],"operator":"AND"}

sortProperty'createdTime' | 'billable' | 'title'

Property to sort by

sortDirection'asc' | 'desc'

Sort direction

Headers

X-Org-Idinteger required
Example:1

Organization ID (in header)

Response

Project timesheet fetched successfully

successboolean

Indicates if the operation was successful

messagestring

Message describing the result of the operation

codeinteger

HTTP status code of the response

timestampstring date-time

Timestamp of the response

Example response

{
  "success": true,
  "message": "Operation completed successfully",
  "code": 200,
  "data": [
    {
      "occupiedTime": 7200000
    }
  ],
  "timestamp": "2023-01-01T12:00:00Z"
}