GET api/Investments?sessionKey={sessionKey}&personID={personID}
Get a list of all schemes/funds that the user have
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sessionKey |
Login session key |
string |
Required |
| personID |
The person unique identifier/user id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
InvestmentDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| Funds | Collection of FundDetails |
None. |
|
| Success | boolean |
None. |
|
| SessionExpired | boolean |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Funds": [
{
"$type": "EBSphere.Service.Models.FundDetails, EBSphere.Service",
"FundName": "sample string 1",
"InvestmentValue": "sample string 2",
"InvestmentValueMenu": "sample string 3",
"MemberId": 4
},
{
"$type": "EBSphere.Service.Models.FundDetails, EBSphere.Service",
"FundName": "sample string 1",
"InvestmentValue": "sample string 2",
"InvestmentValueMenu": "sample string 3",
"MemberId": 4
}
],
"Success": true,
"SessionExpired": true,
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<InvestmentDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBSphere.Service.Models">
<Message>sample string 3</Message>
<SessionExpired>true</SessionExpired>
<Success>true</Success>
<Funds>
<FundDetails>
<FundName>sample string 1</FundName>
<InvestmentValue>sample string 2</InvestmentValue>
<InvestmentValueMenu>sample string 3</InvestmentValueMenu>
<MemberId>4</MemberId>
</FundDetails>
<FundDetails>
<FundName>sample string 1</FundName>
<InvestmentValue>sample string 2</InvestmentValue>
<InvestmentValueMenu>sample string 3</InvestmentValueMenu>
<MemberId>4</MemberId>
</FundDetails>
</Funds>
</InvestmentDetails>