Reference → Demand Management Web Service → GetInvestment
This method retrieves the specified data from the item identified by investmentId. It returns a structure of type item, which contains the following fields:
| Field | Datatype | Description |
|---|---|---|
| id | integer | The item ID. |
| parent | integer | The item ID of the parent item. |
| title | string | The title of the item. |
| investmentType | string | The XML name of the item type. |
| attributes | attribute[] | The key/value pairs of the attributes requested in the attributeKeys parameter of the method call. |
The parameters for the GetInvestment method are:
| Parameter | Datatype | Description |
|---|---|---|
| token | string | The token returned by the Connect method. |
| investmentId | integer | The ID of the desired item. |
| sourceName | string | Deprecated. |
| attributeKeys | string[] | A list of XML names for the desired attributes to be returned. |
Copyright © 2003–2011 Serena Software, Inc. All rights reserved.