This REST API helps to add the steps in the test case.

Method:  Post


Authorization: Basic Auth token in the Request Headers 


Input the Body section and add values there like,

Key Value Is Mandatory? Description
ItemId Integer Yes Enter Item id where you want to add steps like 30811
ItemType String Yes Enter item type like T_CASE
ProjectId Integer Yes Enter project id where your item is available like 18427
ReferStepId Integer No Enter Step id if you want to refer any
ReferPosition String No Enter Position if you want to refer any
Description String Yes Enter the description for step
ExpectedValue String Yes Enter Expected value for step
LowerLimit Integer No Enter lower limit for steps like 1
UpperLimit Integer No Enter Upper limit for steps like 10



The response is the following JSON Object 

    "IsSuccess": true,
    "Data": "23725", ---> Step id which is added
    "Message": "Step added.", ---> success message
    "HttpCode": 200

IsSuccess: if successful then true else false

Data: JSON object (Step ID)

Message: Error message in case IsSuccess is false otherwise success message will display

HttpCode: Response HttpCode

Response Example:

Related Articles