Funexpert API


Clean Portfolio

Description

Clean Portfolio API will be called when consumer will require for Portfolio cleaning of a particular user. For that Consumer is suppose to pass Appid, sessionId, userId. And few optional parameters like folioNumber or amfiiCode or date.

Type

Post

Resource URL

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

Parameters

Input :


Field
Required/Optional
Type
Description
appId
Required
string
unique Id given by consumer to user
sessionId
Required
string
session Id for user's session
userId
Required
string
unique Id of user
folioNumber
optional
string
unique number of holding
amfiiCode
optional
string
unique number of mutualfund
date
optional
date
added after this date

Output :


Field
Description
True or False
it returns true if porfolio cleaned successfully othewise returns false

Example Response

For Login:


{

"appId": your app id,
"sessionId": your session id,
"userId": your user id,
"folioNumber": "3289462/43",
"amfiiCode": "32423",
"date": "2017-03-30"

}

On Success:


{

"success": true

}

On Failure:


{

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

}