Link attachments

QMetry 7QMetry 8
  • URL : /rest/attachments/link
  • Method : POST
  • URL : /rest/attachments/link
  • Method : POST
Request Body
{
	"entityId": 28650,
	"attachmentIds": "401262",
	"entityType": "RQ"
}
Request Body
{
	"entityId": 28650,
	"attachmentIds": "401262",
	"entityType": "RQ" (Use TS for Testsuite, TC for testcase, IS for Issue)
}
Response Body
{
	"success": true,
	"code": "CO.LINK_ATTACHMENT_SUCCESS"
}
Response Body
{
	"success": true,
	"code": "CO.LINK_ATTACHMENT_SUCCESS",
	"message": "Attachment(s) linked successfully."
}