Hi Terrence,

As part of existing API, you can get share accounts along with other
accounts for selected client.

https://localhost:8443/fineract-provider/api/v1/clients/1/accounts

The response :

{
    "loanAccounts": [],
    "savingsAccounts": [],
    "shareAccounts": []
}

Thanks,
Nazeer

On Fri, May 13, 2016 at 4:08 PM, Terence Monteiro <
tere...@sanjosesolutions.in> wrote:

> Hi Devs,
>
> Is there a way to get all the share accounts similar to the savings and
> loan accounts if I don't have the share account id and I want to full list?
> I'm able to get a single share account with:
>
> GET /accounts/share/<accountId>
>
> However, if I skip the accountId, I get:
>
> {
>     "timestamp": 1463135795016,
>     "status": 500,
>     "error": "Internal Server Error",
>     "exception": "java.lang.NullPointerException",
>     "message": null
> }
>
> Can you confirm whether this is issue is known or whether it needs to be
> tracked.
>
> --
> Best Regards,
> Terence Monteiro,
> Mob: +91 96633 13728
> www.sanjosesol.com
>
> <http://goog_1610728024>
> "Providence", No. 36,
> Ahmed Sait Road,
> Frazer Town, Bangalore - 5.
>

Reply via email to