Wednesday, 15 September 2010

Yodlee API Account/Summary/all returning body with empty errors array -



Yodlee API Account/Summary/all returning body with empty errors array -

thanks looking @ question,

hitting https://rest.developer.yodlee.com/services/srest/restserver/v1.0/account/summary/all​

with cobsessiontoken , usersessiontoken returns body response empty error array. ie

$response = array("body"=>array("error"=>array(0=>"")));

the business relationship still in testing mode, wondering if api resource worked while in sandbox mode?

i trying obtain list of business relationship user has added.

thanks in advance.

edit

when trying forcefulness json response, need quite fussy headers...

in php: curl_setopt($ch, curlopt_httpheader, array( "content-type: application/json", "accept: application/json" ));

works, whereas:

curl_setopt($ch, curlopt_httpheader, array( "content-type : application/json", "accept : application/json" ));

does not.

this api work in sandbox mode, testing purpose can append cobsessiontoken & usersessiontoken in url itself. i.e. like

https://rest.developer.yodlee.com/services/srest/restserver/v1.0/account/summary/all​?cobsessiontoken ="value"&usersessiontoken="value".

note api using method while rest of apis using post method of http. while, if using site based aggregation should utilize getallsiteaccounts api.

yodlee

No comments:

Post a Comment