This resource allows you to retrieve, update, and generate documents associated with a Leave case.
The particular documents available within a Leave case is based on the Leave Types used in that case. Documents combine templates with the details entered into a Leave case and can be generated as many times as necessary from within a Leave case. A Doctor's Note is a typical example of a Leave Case document. Regenerated documents do not replace older versions; they create a new, dated copy that contains a fresh set of the case's attributes.
Operations
Generate Documents
POST /v1/leave/leave_cases/documents/generate
Retrieve Documents
GET /v1/leave/leave_cases/documents
Update Documents
POST /v1/leave/leave_cases/documents/multi_update