Skip to main content

Attachment Creation and Deletion API

How to create and delete attachments through APIs in KiSSFLOW

Written by Joy

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:

  1. No updation and read API for attachment

Did this answer your question?