=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml' --- src/docbkx/en/dhis2_user_man_web_api.xml 2013-03-04 10:14:16 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2013-03-04 18:21:35 +0000 @@ -1170,15 +1170,15 @@ api/analytics?dimension=dx:fbfJHSPpUQD;cYeuwXTCPkU&dimension=pe:2012Q1;2012Q2&dimension=ou:O6uvpzGd5pu;lc3eMKXaEfw To query for data broken down by categories instead of data element totals you can include the category dimension in the query string, for instance like this: - api/analytics?dimension=dx:fbfJHSPpUQD;cYeuwXTCPkU&dimension=coc&dimension=pe:201201&dimension=ou:O6uvpzGd5pu;lc3eMKXaEfw + api/analytics?dimension=dx:fbfJHSPpUQD;cYeuwXTCPkU&dimension=co&dimension=pe:201201&dimension=ou:O6uvpzGd5pu;lc3eMKXaEfw To query for organisation unit group sets and data elements you can use the following URL - notice how the group set identifier is used as dimension identifier and the groups as dimension items: - api/analytics?Bpx0589u8y0:oRVt7g429ZO;MAs88nJc9nL&dimension=pe:2012&dimension=ou:ImspTQPwCqd + api/analytics?dimension=Bpx0589u8y0:oRVt7g429ZO;MAs88nJc9nL&dimension=pe:2012&dimension=ou:ImspTQPwCqd A few things to be aware of when using the analytics resource are listed below. - Data elements, indicator and data sets are part of a common data dimension, identifier + Data elements, indicator and data sets are part of a common data dimension, identified as "dx". This means that you can use any of data elements, indicators and data set identifiers together with the "dx" dimension identifier in a query.