Funexpert API


Update Risk Profile

Description

User Risk Profile API will be called when user will update its Risk profile.

Type

Post

Resource URL

https://api.fundexpert.in/rest/user/riskprofile/update

Parameters

Input :


Field
Required/Optional
Type
Description
appId
Required
string
The unique id given to consumer for login
sessionId
Required
string
session Id created for each user's session
userId
Required
string
unique Id of each user required to login
riskAppetite
Required
string
Possible values of risk Appetite are
  • Aggresive
  • Modeately Aggressive
  • Moderately Conservative
  • Moderate
  • Conservative
Note:Risk Appetite is case sensitive

Output :


Field
Description
True or False
gives output True if risk profile updated successfully otherwise false

Example Response

For Login:


{

"appId": your app id,
"sessionId": your session id,
"userId": your user id,
"riskAppetite": "aggressive"

}

On Success:


{

"success": true,

}

On Failure:


{

"success": false,
"error":
{
"message": "User ID does not exist.",
"code": 704
}

}