Mutual Fund Nav Info and Historic Data

FREEMIUM
By Deepak Varshney | Updated 2 months ago | Financial
Popularity

0 / 10

Latency

127,200ms

Service Level

0%

Health Check

N/A

Back to All Discussions

Api responses with no data field

Rapid account: Powerof N
PowerofN
6 years ago

I use python.
When I call the this API,
requests.post(“https://mutual-fund-info.p.mashape.com/ri/v1/investment/scheme/nav”,
headers={
“X-Mashape-Key”: “mSAmrz3x2JmsheYs28zfttpimXKup1EZH2QjsnqQOM1k16BFXO”,
“Content-Type”: “application/json”,
“Accept”: “application/json”
},
params=("[{“schemeCode”:“126394”,“date”:“10-Jul-2018”}]")
)
I get this response

{
“meta”: {
“statusMessage”: “Failure”,
“statusCode”: 400,
“createdAt”: “2018-10-29T12:15:43.890”,
“uuid”: “10fc96ab-d84d-403d-95b1-4b37f0b01b43”,
“responseTimeInMillis”: 0
},
“error”: {
“message”: “”
}
}

Why am I not receiving any data?

Rapid account: Powerof N
PowerofN Commented 6 years ago

Thank you. The issue is solved.

Rapid account: Deep Var 35
deep_var35 Commented 6 years ago

Hi PowerOfN,
Please use GET in request, instead of POST.
If you want multiple schemeCodes and dates in request body, please refer sample request for POST.

Join in the discussion - add comment below:

Login / Signup to post new comments