Funexpert API


Subscribe to Portfolio Management

Description

Subscribe to portfolio management API will be called when user wants to subscribe for Portfolio.

Type

Post

Resource URL

https://api.fundexpert.in/rest/user/portfolio/subscription/create

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
noOfMonths
required
integer
number of months the fund is to be invested
noOfMonths>=12

Output :


Field
Description
True or False
gives output True if portfolio management subscription done successfully otherwise false

Example Response

For Login:


{

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

}

On Success:


{

"success": true,

}

On Failure:


{

"success": false,
"error":
{
"message": "User already subscribed.",
"code": 791
"message": "Number of months should be greater than 12.",
"code": 741
}

}