API

QW_Delete_Attachment

OVERVIEW

This REST API helps to delete the attachment from the work item.

Method: POST

Input: 

Authorization: Basic Auth token in the Request Headers

Post Body

Parameter Value Is Mandatory? Description
ID Integer Yes Enter the attachment id of the item which you want to delete like, 36113
Version Integer Yes Enter Version id of the project like 1296

Output:

Orcanos Output class:

{
  "IsSuccess": true,
  "Data":  {
       "Id": "6505",
       "Xmlns": null,
       "Text": null
   }
   "Message": "Delete attachment successfully.",
   "HttpCode": 200

IsSuccess: if successful then true else false

Data: JSON object. Status Ok if the relation is deleted successfully.

Message: Error message in case IsSuccess is false

HttpCode: Response HttpCode

RELATED LINK:

Orcanos Rest API

Related Articles