evidence_get_attachment_thumbnail
Download a thumbnail of an image attachment from AbraFlexi ERP to your local filesystem. Provide the evidence name, attachment ID, and output path, optionally setting width and height.
Instructions
Download the thumbnail of an image attachment to a local file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Record ID | |
| kod | No | Record code (alternative to id) | |
| width | No | Requested thumbnail width in pixels | |
| height | No | Requested thumbnail height in pixels | |
| evidence | Yes | Evidence name | |
| output_path | Yes | Local filesystem path to write the thumbnail to | |
| attachment_id | Yes | Attachment record identifier |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |