dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #49758
WebAPI Bugs when filtering by level and ancestor
Hi Devs,
I'm currently using dhis2 API to develop an App, but I have some troubles
when I filter by *level* and *ancestor* in the same time.
To clarify:
*Everything is ok with this one :*
URL/api/25/organisationUnits.json?filter=level:eq:'+level+'&fields=[id,displayName]
*But by adding ancestor parameter the level is just ignored:*
URL/api/25/organisationUnits.json?filter=level:eq:'+level+'&filter=ancestors.id:
eq:'+ancestorId+'&fields=[id,displayName]
I will really appreciate your help and any link for an advanced dhis2 API
topic.
Best,
Diao
--
*DIALLO Mamadou Diao Conseiller IT, Specialiste de DHIS 2 **( District
Health Information Software )*
*Projet de Renforcement du Système d'Information Sanitaire en Guinée*
*Phone : 623909413 | 662256106*
*Skype : diawwdiallo*
www.jsi.com
Follow ups