get_case_attachments
Retrieve metadata and details of all attachments linked to a specific Pega case, including file information, actions, and optional thumbnails for images. Supports filtering by categories defined in the Attachment Category rule.
Instructions
Get a comprehensive list of all attachments associated with a specific Pega case. Retrieves attachment metadata including file details, URLs, creation information, and available actions (download, edit, delete) for each attachment. Only attachments from categories selected in the Attachment Category rule are returned. Supports optional thumbnail retrieval for image attachments (gif, jpg, jpeg, png, and others) as base64 encoded strings.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
caseID | Yes | Full case handle (case ID) to retrieve attachments from. Example: "ON6E5R-DIYRecipe-Work-RecipeCollection R-1008". Must be a complete case identifier including spaces and special characters. The case must exist and be accessible to the current user. | |
includeThumbnails | No | When set to true, thumbnails are added as part of the response as base64 encoded strings. Thumbnails are available for images of the following types: gif, jpg, jpeg, png, and others. Default: false. Note: Enabling thumbnails significantly increases response size. |