Previous Next

Retrieve a Task Attachment by Name

get

/tasks/{id}/attachments/{attachmentName}

Retrieves an attachment by name.

Request

There are no request parameters for this operation.

Response

Supported Media Types
  • application/json
  • application/xml
200 Response
Success
Body
Root Schema : /paths/~1tasks~1{id}~1attachments~1{attachmentName}/get/responses/200/schema
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"
    }
}