=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml 2014-06-29 21:26:34 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-06-29 21:30:25 +0000
@@ -455,10 +455,10 @@
Different operators will be applied as logical and query,
and equal operators will be applied as logical or query. The
filtering mechanism allows for recursion. See below for an example:
- Example 1: Get data elements with id property ID1 or
+ Example: Get data elements with id property ID1 or
ID2:/api/dataElements?filter=id:eq:ID1&filter=id:eq:ID2
- Example 2: Get all data elements which has the dataSet
- with id ID1:/api/dataElements?filter=dataSets.id:eq:ID1
+ Example: Get all data elements which has the dataSet with
+ id ID1:/api/dataElements?filter=dataSets.id:eq:ID1
Example 3: Get all data elements with aggregation operator "sum" and value type
"int":/api/dataElements.json?filter=aggregationOperator:eq:sum&type:eq:int
@@ -478,10 +478,10 @@
and the id and name of
every dataSet on that object. Negation can be done with the exclamation operator, and we have
a set of presets of field select (see below).
- Example 1: Get id and
+ Example: Get id and
name on the indicators
resource:/api/indicators?fields=id,name
- Example 2: Get id and
+ Example: Get id and
name from dataElements, and id and name from the dataSets on
dataElements:/api/dataElements?fields=id,name,dataSets[id,name]
@@ -560,13 +560,13 @@
- Examples:
- Include all fields on on dataSets except
+ Example: Include all fields from dataSets except
organisationUnits:/api/dataSets?fields=:all,!organisationUnits
- Include only id, name and the collection of organisation units from a data set, but
- exclude the id from organisation
+ Example: Include only id, name and the collection of
+ organisation units from a data set, but exclude the id from organisation
units:/api/dataSets/BfMAe6Itzgt?fields=id,name,organisationUnits[:all,!id]
- Include only
+ Example: Include nameable properties from all
+ indicators:/api/indicators.json?fields=:nameable
Meta-data create, read, update, delete