dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #30725
Re: Metadata filtering in API no longer working?
On Wed, Jun 11, 2014 at 8:50 AM, Knut Staring <knutst@xxxxxxxxx> wrote:
> $.getJSON( url, function( json ) {
> console.dir(json);
> });
>
$.ajax({
url: URL,
dataType: 'json'
}).done(function(data) {
$.each(data.organisationUnits, function(idx) {
console.log("root" + idx + ": " + this.id);
})
});
Something like that could work, it returns an array of orgUnits
--
Morten
Follow ups
References