Add "reference url" to an asset as attachment

QMetry 7QMetry 8
  • URL : /rest/attachments/reference
  • Method : POST
  • URL : /rest/attachments/reference
  • Method : POST
Request Body
{
	"url": "http://www.example.com",
	"description": "Example URL attchment"
}
Request Body
{
	"url": "http://www.example.com",
	"description": "Example URL attchment"
}
Response Body
{
	"success": true,
	"code": "CO.ADD_ATTACHMENT_SUCCESS",
	"data": [{
		"id": 401266
	}]
}
Response Body
{
	"id": 401266,
	"errorReason": "",
	"name": "http://www.example.com",
	"success": true,
	"code": "CO.ADD_ATTACHMENT_SUCCESS",
	"message": "Attachment(s) added successfully.",
	"data": [{
		"id": 401266,
		"errorReason": "",
		"name": "http://www.example.com"
	}]
}