Discussions

Ask a Question
Back to All

Possible values of status from /company/time-offs

The endpoint GET /company/time-offs includes a field "status" in the response:

{
...
  "data": [
    {
     ...
      "attributes": {
        ...
        "status": "approved",

What are the possible values of this field (I've seen approved and requested so far)?

How do the values correspond to the time off request?

Does requested correspond to the initial state (employee creates the request) and approved corresonds to the final approval?

What about in a multi-approval workflow, are there status changes between each approval?