=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml' --- src/docbkx/en/dhis2_user_man_web_api.xml 2013-08-22 16:12:42 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2013-08-22 16:18:43 +0000 @@ -1941,9 +1941,9 @@ between January and October 2012, where the "Gender" and "Age" data elements are included and the "Age" item is filtered on "18", you can use the following query: api/analytics/events/query/eBAyeGv0exc?startDate=2012-01-01&endDate=2012-10-31&item=oZg33kd9taw&item=qrur9Dvnyt5;EQ;18 - To retrieve events for the "Birh" program stage of the "Child programme" program between - March and December 2012, where the "Weight" data element, filtered for values larger than - 2000, and the "Address" person attribute are included: + To retrieve events for the "Birth" program stage of the "Child programme" program between + March and December 2012, where the "Weight" data element, filtered for values larger than + 2000, and the "Address" person attribute are included: api/analytics/events/query/IpHINAT79UW?stage=A03MvHHogjR&startDate=2012-03-01&endDate=2012-12-31&item=UXz7xuGCEhU;GT;2000&item=AMpUYgxuCaE Sorting can be applied to the query for the "executiondate" of the event and any items. To sort descending on the executiondate and ascending on the "Age" data element item you can @@ -1977,47 +1977,47 @@ api/analytics/events/query/eBAyeGv0exc.xls?startDate=2012-01-01&endDate=2012-10-31&item=oZg33kd9taw&item=qrur9Dvnyt5 The default response JSON format will look similar to this: { - headers: [ - { - name: "Event", - column: "psi", - type: "java.lang.String", - meta: false - }, - { - name: "Program stage", - column: "ps", - type: "java.lang.String", - meta: false - }, - { - name: "Execution date", - column: "executiondate", - type: "java.lang.String", - meta: false - }, - { - name: "Organisation unit", - column: "ou", - type: "java.lang.String", - meta: false - }, - { - name: "Weight", - column: "UXz7xuGCEhU", - type: "java.lang.String", - meta: false - }, - { - name: "Address", - column: "AMpUYgxuCaE", - type: "java.lang.String", - meta: false + "headers": [ + { + "name": "Event", + "column": "psi", + "type": "java.lang.String", + "meta": false + }, + { + "name": "Program stage", + "column": "ps", + "type": "java.lang.String", + "meta": false + }, + { + "name": "Execution date", + "column": "executiondate", + "type": "java.lang.String", + "meta": false + }, + { + "name": "Organisation unit", + "column": "ou", + "type": "java.lang.String", + "meta": false + }, + { + "name": "Weight", + "column": "UXz7xuGCEhU", + "type": "java.lang.String", + "meta": false + }, + { + "name": "Address", + "column": "AMpUYgxuCaE", + "type": "java.lang.String", + "meta": false } ], - width: 6, - height: 3, - rows: [ + "width": 6, + "height": 3, + "rows": [ [ "sJEabEml8sj", "A03MvHHogjR", @@ -2040,7 +2040,7 @@ "2012-11-19", "DiszpKrYNg8", "2965", - "Selassie road 5" + "Haile Selassie road 5" ] ] }