getRequirementByRecordID
Retrieves a requirement record based on record ID. A SOAP error envelope is returned if the operation fails.
To retrieve a requirement based on summary or number, use getRequirement.
To edit a requirement, use editRequirement or editRequirementByRecordID.
Parameters
Parameter | Type | Description |
---|---|---|
cookie | long | Session cookie returned by projectLogon. |
recordID | long | Unique requirement record ID. |
bDownloadAttachments | boolean | Indicates if attachments should be retrieved. Using False may improve performance when the file contents are not needed. |
Return value
Value | Type |
---|---|
pRequirement | CRequirement |
Example
CRequirement req = ttsdk.getRequirementByRecordID(cookie, 1, false);