Funexpert API


Get Alert On Funds Or Portfolio

Description

When user want to know about the entry and exit Alerts of Mutual Funds than this API wil be called.

Type

Post

Resource URL

https://api.fundexpert.in/rest/user/alert

Parameters

Input :


Field
Required/Optional
Type
Description
appId
Required
string
unique Id given by consumer to user
sessionId
Required
string
session Id generated for user
userId
Required
string
Id of user to login
amfiiCode
Required
string
unique number of mutualfund

Output :


Field
Description
Last Alerts
Last alerts of mutualfunds/portfolio subscribed for

Example Response

For Login:


For MutualFund:


{

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

}

For Portfolio:


{

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

}

On Success:


For MutualFund:


{

"success": true,
"alert":
{
"amfiiCode": "43526",
"type": "EXIT",
"amount": 50000,
"folioNumber": "4353454/50",
"comments": "Reinvest the exited amount in equal 6 installments for the next 6 months."
}

}

For Portfolio:


{

"success": true,
"alerts":
[
{
"amfiiCode": "43526",
"type": "EXIT",
"amount": 50000,
"folioNumber": "4353454/50",
"comments": "Reinvest the exited amount in equal 6 installments for the next 6 months."
},
{
"amfiiCode": "43126",
"type": "ENTRY",
"comments": "Invest any exited amount of large cap equity funds in this mutualfund."
}
]

}

On Failure:


For MutualFund:


{

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

}

For Portfolio:


{

"success": false,
"error":
{
"message": "User not subscribed to any service",
"code": 751
}

}