addRequirementDocument
Adds a requirement document to the project. If valid information is sent, a record ID for the document is returned. A SOAP error envelope is returned if the operation fails.
Parameters
| Parameter | Type | Description |
|---|---|---|
| cookie | long | Session cookie returned by projectLogon. |
| pRequirementDocument | CRequirementDocument | Document fields and properties. |
Return value
| Value | Type |
|---|---|
| recordID | long |
Example
CRequirementDocument reqDoc = new CRequirementDocument();
reqDoc.name = "Requirement document name";
long reqdocID = ttsdk.addRequirementDocument(cookie, reqDoc);