Previous Next

Retrieve a Task Attachment by Name

get
/tasks/{id}/attachments/{attachmentName}
Retrieves an attachment by name.

There are no request parameters for this operation.

The following tables summarize the server response.

Supported Media Types
  • application/json
  • application/xml

200 Response

Success
Body
Example application/json

{
    "levels":0,
    "links":[
        {
            "href":"http://example.com/bpm/api/3.0/tasks/200000/attachmen ts/",
            "length":0,
            "rel":"back"
        },
        {
            "href":"http://example.com/bpm/api/3.0/tasks/200000/attachments/oct.pdf",
            "length":0,
            "rel":"self"
        }
    ],
    "attachmentName":"oct.pdf",
    "mimeType":"application/pdf",
    "attachmentScope":"BPM",
    "attachmentSize":5,
    "uri":{
        "href":"http://example.com/bpm/api/3.0/tasks/200000/attachments/oct.pdf/stream",
        "length":0,
        "rel":"stream"
    }
}