Sir I used that API :
*:/api/organisationUnits/OYfCChzZ1wx.json?fields=ancestors,children,name*
*Response :*
{"name":"Bannu","children":[{"id":"yvVnd97UiJN"},{"id":"cdlEAe4BMS2"}],"ancestors":[{"id":"osCztkmFYud"},{"id":"KH8VFLnpwWL"}]}
*--
Sir,
Will there a API to get information about facilities attaced to orgunit
group.
Like BHU is a orgunit group.
will i access the names of facilities that under BHU.
Thanks.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@l
Hi Omer,
You can try something like this:
?fields=children[name,id],ancestors[name,id]
On Thu, Aug 24, 2017 at 12:29 PM, Omer Butt wrote:
> Sir I used that API :
> *:/api/organisationUnits/OYfCChzZ1wx.json?fields=ancestors,children,name*
>
> *Response :*
> {"name":"Bannu","children":[{"id":"yv
3 matches
Mail list logo