GET api/SelectInvestment?sessionKey={sessionKey}&memberID={memberID}&userID={userID}

Get a member's investment value

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionKey

Login session key

string

Required

memberID

The member's unique identifier

integer

Required

userID

The user id

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

SelectInvestmentResult
NameDescriptionTypeAdditional information
CurrentTotalValue

string

None.

Investments

Collection of SelectInvestment

None.

Success

boolean

None.

SessionExpired

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CurrentTotalValue": "sample string 1",
  "Investments": [
    {
      "$type": "EBSphere.Service.Models.SelectInvestment, EBSphere.Service",
      "Product": "sample string 1",
      "Units": 2.0,
      "ShowUnits": true,
      "Price": 4.0,
      "ShowPrice": true,
      "Value": "sample string 6",
      "InvestmentDate": "sample string 7"
    },
    {
      "$type": "EBSphere.Service.Models.SelectInvestment, EBSphere.Service",
      "Product": "sample string 1",
      "Units": 2.0,
      "ShowUnits": true,
      "Price": 4.0,
      "ShowPrice": true,
      "Value": "sample string 6",
      "InvestmentDate": "sample string 7"
    }
  ],
  "Success": true,
  "SessionExpired": true,
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<SelectInvestmentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBSphere.Service.Models">
  <Message>sample string 4</Message>
  <SessionExpired>true</SessionExpired>
  <Success>true</Success>
  <CurrentTotalValue>sample string 1</CurrentTotalValue>
  <Investments>
    <SelectInvestment>
      <InvestmentDate>sample string 7</InvestmentDate>
      <Price>4</Price>
      <Product>sample string 1</Product>
      <ShowPrice>true</ShowPrice>
      <ShowUnits>true</ShowUnits>
      <Units>2</Units>
      <Value>sample string 6</Value>
    </SelectInvestment>
    <SelectInvestment>
      <InvestmentDate>sample string 7</InvestmentDate>
      <Price>4</Price>
      <Product>sample string 1</Product>
      <ShowPrice>true</ShowPrice>
      <ShowUnits>true</ShowUnits>
      <Units>2</Units>
      <Value>sample string 6</Value>
    </SelectInvestment>
  </Investments>
</SelectInvestmentResult>