dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #09453
Regarding Data sort through an APi
Hi all,
Can we sort data getting through an Api, I am trying using sortOrder but it
did not helped.
Following is the complete url:
https://play.dhis2.org/demo/api/dataElementGroups?fields=dataElements[id,name]&sortOrder=ASC
OR
https://play.dhis2.org/demo/api/dataElementGroups?fields=dataElements[id,name]&sortOrder=DESC
Want to sort all the dataelements alphabetically or in some random required
order which we can define in Api only(say sort by dataelement or sort by
name etc.)
Thanks & Reagrds,
Sourabh Bhardwaj.
Follow ups