POST api/Rebalance/GetGoalBasedAllocation

Request Information

URI Parameters

None.

Body Parameters

GetGoalBasedAllocationInputInfo
NameDescriptionTypeAdditional information
RiskProfile

string

None.

GoalId

integer

None.

RateOfReturn

decimal number

None.

InvestorClass

string

None.

RiskScore

integer

None.

TimeHorizon

integer

None.

tenantId

string

None.

access_token

string

None.

IFAID

string

None.

statusCode

string

None.

statusMessage

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RiskProfile": "sample string 1",
  "GoalId": 2,
  "RateOfReturn": 3.1,
  "InvestorClass": "sample string 4",
  "RiskScore": 5,
  "TimeHorizon": 6,
  "tenantId": "sample string 7",
  "access_token": "sample string 8",
  "IFAID": "sample string 9",
  "statusCode": "sample string 10",
  "statusMessage": "sample string 11"
}

application/xml, text/xml

Sample:
<GetGoalBasedAllocationInputInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMFinauraApiWrapper.Class">
  <IFAID xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 9</IFAID>
  <access_token xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 8</access_token>
  <statusCode xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 10</statusCode>
  <statusMessage xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 11</statusMessage>
  <tenantId xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 7</tenantId>
  <GoalId>2</GoalId>
  <InvestorClass>sample string 4</InvestorClass>
  <RateOfReturn>3.1</RateOfReturn>
  <RiskProfile>sample string 1</RiskProfile>
  <RiskScore>5</RiskScore>
  <TimeHorizon>6</TimeHorizon>
</GetGoalBasedAllocationInputInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetGoalBasedAllocationInputInfo'.

Response Information

Resource Description

GetGoalBasedAllocationOutputInfo
NameDescriptionTypeAdditional information
Status

string

None.

Message

string

None.

AssetAllocation

GetGoalBasedAssetAllocation

None.

access_token

string

None.

statusMessage

string

None.

statusCode

string

None.

error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "AssetAllocation": {
    "Equity": 1.1,
    "FixedIncome": 2.1,
    "MoneyMarket": 3.1
  },
  "access_token": "sample string 3",
  "statusMessage": "sample string 4",
  "statusCode": "sample string 5",
  "error": "sample string 6"
}

application/xml, text/xml

Sample:
<GetGoalBasedAllocationOutputInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WMFinauraApiWrapper.Class">
  <access_token xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 3</access_token>
  <error xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 6</error>
  <statusCode xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 5</statusCode>
  <statusMessage xmlns="http://schemas.datacontract.org/2004/07/WMFinauraAPIwrapper.Models">sample string 4</statusMessage>
  <AssetAllocation>
    <Equity>1.1</Equity>
    <FixedIncome>2.1</FixedIncome>
    <MoneyMarket>3.1</MoneyMarket>
  </AssetAllocation>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</GetGoalBasedAllocationOutputInfo>