Show TOC

Attachments CollectionLocate this document in the navigation structure

This collection retrieves the task's attachment data.

You can navigate to this collection from the Task collection using: TaskCollection(SAP__Origin='ERP',InstanceID='<instance_id>')/Attachments

Each entry contains a media link to retrieve the attachment content.

This collection supports create and delete using media links. For more information, see the Adding and Deleting Attachments using the Task Gateway Service.

Table 1: Properties Table

Property Name

Description

SAP__Origin

Key field.

Contains the task's source system alias.

InstanceID

Key field.

Contains the task instance ID. (For example, work item ID from BWF.)

ID

Key field.

Attachment's GUID ID.

FileName

The attachment's file name.

CreatedAt

The date and time of the attachment creation.

CreatedBy

The user who created the attachment (source system user).

mime_type

The attached document's mime type.

FileSize

The attachment's file size.

FileDisplayName

The attachment's file name description

AttachmentSupports:

  • Delete

Complex type indicating attachments support