PortfolioLinkApi

<back to all web services

GetRiskTolerance

Requires Authentication
The following routes are available for this service:
All Verbs/riskprofiles/calculate/risktolerance
GetRiskTolerance Parameters:
NameParameterData TypeRequiredDescription
CurrencyquerystringNo
WillingnessToTakeRiskqueryintNo
PreferencesWhenHoldingRiskAssetsqueryintNo
KnowledgeablequeryintNo
ExperiencequeryintNo
PerceptionOfStockMarketqueryintNo
PastInvestmentLossesqueryintNo
OverridequeryboolNo
OverrideMessagequerystringNo
OverrideRiskProfileIdqueryintNo
GetRiskToleranceResponse Parameters:
NameParameterData TypeRequiredDescription
TotalScoreformintNo
RiskProfileformstringNo
RiskProfileIdformintNo
GeneralMessageformstringNo
OverrideformboolNo
OverrideMessageformstringNo
OverrideRiskProfileIdformintNo
WillingnessToTakeRiskformintNo
PreferencesWhenHoldingRiskAssetsformintNo
KnowledgeableformintNo
ExperienceformintNo
PerceptionOfStockMarketformintNo
PastInvestmentLossesformintNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /riskprofiles/calculate/risktolerance HTTP/1.1 
Host: api.portfoliolink.co.za 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"currency":"String","willingnessToTakeRisk":0,"preferencesWhenHoldingRiskAssets":0,"knowledgeable":0,"experience":0,"perceptionOfStockMarket":0,"pastInvestmentLosses":0,"override":false,"overrideMessage":"String","overrideRiskProfileId":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"totalScore":0,"riskProfile":"String","riskProfileId":0,"generalMessage":"String","override":false,"overrideMessage":"String","overrideRiskProfileId":0,"willingnessToTakeRisk":0,"preferencesWhenHoldingRiskAssets":0,"knowledgeable":0,"experience":0,"perceptionOfStockMarket":0,"pastInvestmentLosses":0}