Actions105
- Messages Actions
- Homework Actions
- Absence Actions
- Calendar Actions
- Info Actions
Absence → Get Attachment
AI-generatedSummary
Retrieve an attachment file related to an absence from Librus by specifying the attachment's path.
Inputs
- Custom method name — Optionally override the underlying Librus API method to call (e.g. getMarks) by specifying a custom method name as a string.
- attachmentPath (required) — The file path of the attachment to retrieve from the absence resource.
Output shape
A single binary file with the attachment's contents encoded in base64, including metadata such as mime type and file name, returned as a binary property.
The binary file data is returned under a configurable binary property (default 'data'). The file's name and MIME type are derived from the attachment path and set accordingly.
Examples
Example 1: Retrieve a PDF attachment file from an absence record
Provide the 'attachmentPath' parameter with the path to the file to fetch; optionally use 'Custom method name' to override the method used to fetch the file.