Request an absence
POST/api/v1/absence-requests
Asks for the caller to be absent from one or more of their shifts, for one reason. The request is checked against the tenant's absence rules as it is made, and the response carries the outcome: rejected with a reason code, approved, or pending approval. A caller with no linked person is refused with failed_precondition. Requesting for oneself needs no grant.
Access: requires Request absences for others (absence_creator) over the records the request names. A grant that includes it also qualifies.
Entitlement: requires the Absences entitlement.
Request
Responses
- 200
- default
Success
An unexpected error response.