Funexpert API


GetMFPortfolioFromPDF

Description (Work In Process)

GetMFPortfolioFromPDF API will parse the PDF and return set of transactions.

Type

Post

Resource URL

https://api.fundexpert.in/rest/consumer/login

Parameters

Input :


Field
Required/Optional
Type
Description
appId
Required
string
The unique id given to consumer
sessionId
Required
string
mutualfundPDF
Required
string
Path of Mutualfund pdf
pdfPassword
Required
string
password of PDF

Output :


Field
Required/Optional
Type
Description
folioNumber
Required
string
465789765/7
camsSchemeCode
Required
string
4387789430
action
Required
string
Possible values of action are
  • Purchase
  • Redeem
units
Required
string
1500.09
nav
Required
string
55.09
date
Required
string
01/01/1990

Example Response

For GetMFPortfolioFromPDF:


{

"appId": your app id,
"sessionId": session Id,
"pdfPath": /pdf/mutualfund/mutualfundPDF.pdf,
"pdfPassword": PDF Password

}

On Success:


{

"success":true,
"transactions":
[
{
"folioNumber": "536749376",
"camsSchemeCode": "53749",
"action": "purchase",
"units": "1500.43",
"nav": "55.45",
"date": "2016-05-03"
},
{
"folioNumber": "54344773",
"camsSchemeCode": "53259",
"action": "redeem",
"units": "1500.43",
"nav": "55.45",
"date": "2016-08-27"
},
{
"folioNumber": "53545723",
"camsSchemeCode": "53259",
"action": "purchase",
"units": "1500.43",
"nav": "55.45",
"date": "2016-08-27"
},
]

}

On Failure:


{

"success": false,
"error":
{
"message": "PDF parsing failed, try again after some time.",
"code": 771
}

}