deleteRequirement
Deletes a requirement from the project based on number or summary. A SOAP error envelope is returned if the operation fails.
Parameters
| Parameter | Type | Description |
|---|---|---|
| cookie | long | Session cookie returned by projectLogon. |
| requirementNumber | long | Number of the requirement to delete. Set as 0 to search by summary. |
| summary | string | Summary of the requirement to delete. If the summary matches more than one requirement, the operation fails. This field is ignored unless requirementNumber is 0. |
Return value
| Value | Type | Notes |
|---|---|---|
| result | int | 0 indicates success. Check the return value in case of an error. |
Example
ttsdk.deleteRequirement(cookie, 0, "Requirement summary");