EaserixDocs
DevelopersAPI referenceCronCrunchTimesheets

Weeks waiting for review

Team workspaces only, and only an owner or admin (org.data.read_all). Submitted weeks in this workspace, oldest first, at most 50. Each row includes that member's finished entries for the week. This is the one place a teammate's hours are visible. The entry list stays private.

View as Markdown
GET
/v1/timesheets/pending
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/timesheets/pending"
{  "timesheets": [    {      "id": "string",      "ownerId": "string",      "weekStart": "2019-08-24",      "status": "submitted",      "submittedAt": "2019-08-24T14:15:22Z",      "reviewedBy": "string",      "reviewedAt": "2019-08-24T14:15:22Z",      "note": "string",      "totalSeconds": 0,      "entries": [        {          "id": "string",          "projectId": "string",          "projectName": "string",          "description": "string",          "startedAt": "2019-08-24T14:15:22Z",          "durationSeconds": 0,          "isBillable": true        }      ]    }  ]}