Hi WHA, The API does not actually use the word "favorites", rather you have to look at the lists separately.
So for Charts: https://apps.dhis2.org/api/charts.json <http://localhost:8082/api/charts.json> For Map layers: https://apps.dhis2.org/api/mapViews.json <http://localhost:8082/api/mapViews.json> For Pivot Tables (PT) https://apps.dhis2.org/demo/api/reportTables.json *Would appreciate if others could help out with the next stage, which I take to be that o*nce you have gotten the required parameters from the API,the actual data must be gotten from Analytics (i.e. a proper GET URL must be formed) You can see the format in the PT module by going to Download and copying the JSON link, e.g. like this: *https://apps.dhis2.org/demo/api/analytics.json?dimension=dx:fbfJHSPpUQD&dimension=pe:LAST_12_MONTHS&dimension=ou:ImspTQPwCqd <https://apps.dhis2.org/demo/api/analytics.json?dimension=dx:fbfJHSPpUQD&dimension=pe:LAST_12_MONTHS&dimension=ou:ImspTQPwCqd>* On Wed, Aug 6, 2014 at 9:33 AM, winhtaik aung <winhtaikaun...@hotmail.com> wrote: > Hello dhis-devs > > Could you please tell me how to get user favourite data from WEB API? > > Regards > Win Htaik Aung(WHA) > Contact on Skype winhtaikaung28 > > -- Knut Staring Dept. of Informatics, University of Oslo +4791880522 http://dhis2.org
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp