timeOffPolicies
Crew module · 5 operations
List time off policy rows
GET/time-off-policies
A time off policy. Returns a cursor page of time off policy rows the caller may see. The default order is `created_at` ascending. Supports sparse fieldsets and the filter grammar.
Create a time off policy
POST/time-off-policies
A time off policy. Creates a time off policy. Requires `Idempotency-Key`; a replay returns the original response. The organization is derived from the credential or the parent row, never from the body.
Get a time off policy
GET/time-off-policies/{id}
A time off policy. Returns one time off policy with its `ETag`. A time off policy the caller may not see returns 404.
Update a time off policy
PATCH/time-off-policies/{id}
A time off policy. Updates the fields sent; omitted fields are unchanged. Requires `If-Match` with the current `ETag`: a stale tag returns 412 and a missing tag returns 428.
Delete a time off policy
DELETE/time-off-policies/{id}
A time off policy. Soft-deletes the time off policy: it moves to Trash and can be restored for its table's retention period.