Record an HR decision on a submitted request
Requires a current corporate owner or HR-admin membership, denies self-review, and permits only a pending request. Decisions are immutable. Reuse the decision UUID with identical content after a lost response. The decision records the employer's workflow; it is not a legal or medical eligibility determination.
Authorization
bearer In: header
Path Parameters
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuid^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/partner/tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08/leave/497f6eca-6276-4993-bfeb-53cbbbba6f08/decision" \ -H "Content-Type: application/json" \ -d '{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "decision": "approved" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0", "tenantName": "string", "startDate": "2019-08-24", "endDate": "2019-08-24", "note": "", "certificateReference": "", "calendarDays": 1, "status": "draft", "createdAt": "2019-08-24T14:15:22Z", "submittedAt": "2019-08-24T14:15:22Z", "consent": { "version": "2026-09-09", "grantedAt": "2019-08-24T14:15:22Z" }, "history": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "action": "submitted", "actor": "employee", "note": "string", "at": "2019-08-24T14:15:22Z" } ], "certificate": { "mimeType": "image/jpeg", "expiresAt": "2019-08-24T14:15:22Z" }}HR views an employee-shared certificate photo GET
Current corporate owner/HR role and fresh passkey required. Explicit per-photo submission consent, active employee, unexpired photo and non-withdrawn request required. Every successful read is audited without photo content. No public URL or email attachment.
Workspace roster (managers only; no health data) GET
Next Page