← Back to team overview

dhis2-users team mailing list archive

Extract a complete set of orgUnits (with all children and sub children) of a specific orgUnit

 

Hi!

I want to extract a complete set ( all children and sub children) of a
specific organisation units like this.

*/api/25/metadata.json?assumeTRUE=TRUE&organisationUnits=TRUE&filter=name:eq:Tanzania&fields=id,name,children[id,name,children[id,name,children[id,name,children[id,name,children[id,name,children[id,name,children[id,name,children[id,name]]]]]]]*

is there a shorter way of doing that?

Thanks
-- 
Isaiah Nyabuto
email: isaiahnyabuto@xxxxxxxxx
Tel: +254 729 572 616

Follow ups