Add a Task Attachment
post
                    /tasks/{id}/attachments
 Adds an attachment to a task.
                Request
Supported Media Types
                                - multipart/mixed
 
Body Parameter
                                File body with Content-Type header
                                    
                                    Root Schema : /paths/~1tasks~1{id}~1attachments/post/parameters/0/schema
Response
Supported Media Types
                                - application/json
 - application/xml
 
200 Response 
                                
                                    Success
                                
                                
                                
                                
                                Body
                                    Root Schema : /paths/~1tasks~1{id}~1attachments/post/responses/200/schema
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"
        }
    ]
}