Funexpert API


Portfolio Health Score

Description

Portfolio health score API will called when session wants health portfolio for a particular Mutual Score. For that appId, sessionId, sessionId, and A. userid will p[assed in parameters.

Type

Post

Resource URL

https://api.fundexpert.in/rest/user/portfolio/healthscore

Parameters

Input :


Field
Required/Optional
Type
Description
appId
Required
string
unique id given by consumer to user
sessionId
Required
string
session Id for each user's session
userId
Required
string
unique Id of user

Output :


Field
Description
Score
portfolio health score along with ranking of funds in the portfolio

Example Response

For Login:


{

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

}

On Success:


{

"success": true,
"portfolio": 3.9,
"mutualfund":
{
"34234": 3.9,
"34334": 3.7,
"34434": 4.2
}

}

On Failure:


{

"success": false,
"error":
{
"message": "User portfolio not uploaded.",
"code": 707
}

}