Previous Next

Retrieve Task Attachments

get
/tasks/{id}/attachments
Retrieves task attachments.

There are no request parameters for this operation.

The following tables summarize the server response.

Supported Media Types
  • application/json
  • application/xml

200 Response

Lists the attachments in the task.
Body
Example application/json

{
    "levels":0,
    "links":[
        {
            "href":"http://example.com/bpm/api/3.0/tasks/200003",
            "length":0,
            "rel":"back"
        },
        {
            "href":"http://example.com/bpm/api/3.0/tasks/200003/attachments",
            "length":0,
            "rel":"self"
        }
    ],
    "attachment":[
        {
            "updatedDate":"2015-03-10 12:29:20",
            "updatedBy":"John Steinbeck",
            "attachmentScope":"BPM",
            "uri":{
                "href":"http://example.com/bpm/api/3.0/tasks/200003/attachments/Payment+Receipt.pdf/stream",
                "length":0,
                "rel":"stream"
            },
            "userId":"jstein",
            "levels":0,
            "title":"Payment Receipt.pdf",
            "attachmentSize":69,
            "mimeType":"application/pdf"
        }
    ]
}