REST API

QW_Delete_Object

OVERVIEW

This REST API helps to delete the required work Item.

Method: Post

Input: 

Authorization: Basic Auth token in the Request Headers 

Post body:

Key Value Is Mandatory? Description
ID Integer Yes Enter the item id which you want to delete like 14232
Version Integer Yes Enter the version number of the project like 1075
Delete_All_Versions_Ind Integer Yes If you want to delete the item from all versions then enter 1 otherwise 0
Get_Summary_Ind Integer Yes If you want to get summary indicator then enter 1 otherwise 0

Output:

Orcanos Output class:

{
    "IsSuccess": true,
    "Data":   {
           "Item": "14232",
           "Xmlns": null,
           "Text": "OK"
      },
      "Message": "Delete object successfully.",
      "HttpCode": 200
}

IsSuccess: if successful then true else false

Data: JSON object 

Message: Error message in case IsSuccess is false

HttpCode: Response HttpCode

Related Articles