Funexpert API


Unsubscribe To Fund

Description

Unsubscribe to fund API will be called when user doesn't wants to get Alerts of a particular Mutual Fund. For that appId, sessionId, userId, and Amfiicode will be passed in parameters

Type

Post

Resource URL

https://api.fundexpert.in/rest/user/mutualfund/subscription/destroy

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
amfiiCode
required
string
unique number of mutualfund

Output :


Field
Description
True or False
gives output True if mutual fund alert unsubscription done successfully otherwise false

Example Response

For Login:


{

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

}

On Success:


{

"success": true,
"tokensLeft": 4

}

On Failure:


{

"success": false,
"error":
{
"message": "User not subscribed for this mutualfund.",
"code": 731
}

}