OVERVIEW
This REST API allows the user to delete the step(s) of a work item (Test case) and defect.
Method: Post
Input:
Authorization: Basic Auth token in the Request Headers
Post body:
Purpose of the Fields given in this API:
Parameter | Value | Mandatory | Description |
ItemID | Yes | Enter the test case or Defect item ID | |
ObjectType | String | Yes | Enter the ObjectType – OBJECT/DEFECT. OBJECT for Work item (Testcase) and DEFECT for Defect. |
StepNumber | String | Yes | Enter the step number of the test step to be deleted |
Output:
Orcanos Output class:
{
“IsSuccess”: true,
“Data”: “”,
“Message”: “Step deleted successfully.”,
“HttpCode”: 200
}
IsSuccess: if successful then true else false
Message: ‘Step added successfully’ message in case Is Success is true, error message in case Is Success is false
HttpCode: Response HttpCode