=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml 2014-06-27 07:58:24 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-06-27 11:09:36 +0000
@@ -4624,18 +4624,21 @@
attribute
Attributes to be included in the response. Can also be used a filter for the
- query. Param can be repeated any number of times. Filters can be applied to a
- dimension on the format <attribute-id>:<operator>:<filter>. Filter values are
- case-insensitive. Operators can be EQ | GT | GE | LT | LE | NE | LIKE | IN. Filters
- can be omitted in order to simply include the attribute in the response without any
- constraints.
+ query. Param can be repeated any number of times. Filters can be applied to a
+ dimension on the format
+ <attribute-id>:<operator>:<filter>[:<operator>:<filter>]. Filter
+ values are case-insensitive and can be repeated together with operator any number of
+ times. Operators can be EQ | GT | GE | LT | LE | NE | LIKE | IN. Filters can be
+ omitted in order to simply include the attribute in the response without any
+ constraints.
filter
Attributes to use as a filter for the query. Param can be repeated any number of
- times. Filters can be applied to a dimension on the format
- <attribute-id>:<operator>:<filter>. Filter values are case-insensitive.
- Operators can be EQ | GT | GE | LT | LE | NE | LIKE | IN.
+ times. Filters can be applied to a dimension on the format
+ <attribute-id>:<operator>:<filter>[:<operator>:<filter>]. Filter
+ values are case-insensitive and can be repeated together with operator any number of
+ times. Operators can be EQ | GT | GE | LT | LE | NE | LIKE | IN.
ou
@@ -4786,6 +4789,8 @@
A query for instances where one attribute is included in the response and one attribute us
used as a filter:
api/trackedEntityInstances.json?attribute=zHXD5Ve1Efw:EQ:A&filter=AMpUYgxuCaE:LIKE:Road&ou=DiszpKrYNg8
+ A query where multiple operand and filters are specified for a filter item:
+ api/trackedEntityInstances.json?ou=DiszpKrYNg8&program=ur1Edk5Oe2n&filter=lw1SqmMlnfh:GT:150:LT:190
To query on an attribute using multiple values in an IN filter:
api/trackedEntityInstances.json?ou=DiszpKrYNg8&attribute=dv3nChNSIxy:IN:Scott;Jimmy;Santiago
To constrain the response to instances which are part of a specific program you can