You can use the following API to create and delete attachments in KiSSFLOW.
Β
Request type β POST:
/api/1/<process name>/<request id/subject>/attachment/create
Request type β DELETE:
/api/1/<process name>/<request id/subject>/attachment/<attachment id>/delete
Request json,
/api/1/<process name>/<request id/subject>/attachment/create
{
Name: "Issues.xls"
Url: "http:/s3.test.com/Issues.xls"
}
Response Json,
{
Build No:12345,
Build Date: 2014-05-09,
Attachment: [
{
Id: "Do7204c5c0_27a5_11e4_9b5b_8f17e8bf3303"
Name: "Issues.xls"
Url: "http:/s3.test.com/Issues.xls"
},
{
Id: "Do7204c5c0_27a5_11e4_9b5b_8f17e8bf3302"
Name: "Bugs.xls",
Url: "http:/s3.test.com/Bugs.xls"
}
]
}
Note:
No updation and read API for attachment