EaserixDocs
DevelopersAPI referenceCronCrunchTime off

Time off waiting for review

Team workspaces only, owner or admin. Pending requests in this workspace, oldest first, at most 50. Each row adds remainingAfter, the tightest days left on that policy if this request is approved. This queue shows the requester and the days, not their time entries.

View as Markdown
GET
/v1/time-off/requests/pending
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/time-off/requests/pending"
{  "requests": [    {      "id": "string",      "ownerId": "string",      "policyId": "string",      "policyName": "string",      "startDate": "2019-08-24",      "endDate": "2019-08-24",      "dayCount": 0,      "status": "pending",      "note": "string",      "reviewNote": "string",      "reviewedBy": "string",      "reviewedAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z",      "remainingAfter": 0    }  ]}