Retrieve Task Attachments

get

/tasks/{id}/attachments

Retrieves task attachments.

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Lists the attachments in the task.
Body ()
Root Schema : schema
Example Response (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"
        }
    ]
}
Back to Top