Funexpert API


Lumpsum Invest

Description

This API will tell about the lumpsum Ranking when a corresponding AmfiiCode nv passed to it. This API will be Used When User wants to invest a Lump sum Amount. This API will suggest to invest Amount to the funds which are having Good Ranking.

Type

Post

Resource URL

https://api.fundexpert.in/rest/user/lumpsum/invest

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
amount
Required
double
amount to be invested in fund

Output :


Field
Description
Funds
Funds to invest in and how much to invest

Example Response

For Login:


{

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

}

On Success:


{

"success": true,
"mutualfunds":
[
{
"amfiiCode": "12323",
"amount": "50000",
"date": "2017-05-05"
},
{
"amfiiCode": "12323",
"amount": "30000",
"date": "2017-06-05"
},
{
"amfiiCode": "14363",
"amount": "20000",
"date": "2017-06-25"
}
]

}

On Failure:


{

"success": false,
"error":
{
"message": "Session expired.",
"code": 703
}

}