=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml 2014-06-30 18:09:20 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-06-30 18:29:14 +0000
@@ -4692,10 +4692,8 @@
ouMode
The mode of selecting organisation units, can be SELECTED | CHILDREN |
- DESCENDANTS. Default is SELECTED, which refers to the selected organisation units
- only. CHILDREN refers to immediate children in the hierarchy of the specified org
- units. DESCENDANTS refers to all units in the sub-hierarchy of the specified org
- units.
+ DESCENDANTS | ACCESSIBLE | ALL. Default is SELECTED, which refers to the selected
+ organisation units only. See table below for explanations.
program
@@ -4760,6 +4758,47 @@
+ The available organisation unit selection modes are explained in the following
+ table.
+
+ Organisation unit selection modes
+
+
+
+
+
+ Mode
+ Description
+
+
+
+
+ SELECTED
+ Organisation units defined in the request.
+
+
+ CHILDREN
+ Immediate children, i.e. only the first level below, of the organisation units
+ defined in the request.
+
+
+ DESCENDANTS
+ All children, i.e. at only levels below, e.g. including children of children,
+ of the organisation units defined in the request.
+
+
+ ACCESSIBLE
+ All descendants of the data view organisation units associated with the current
+ user. Will fall back to data capture organisation units associated with the current
+ user if the former is not defined.
+
+
+ ALL
+ All organisation units in the system. Requires authority.
+
+
+
+
Note that you can specify attributes with filters for constraining the instances to
return, or attributes without filters in order to include the attribute in the response
without any constraints. Attributes will be included in the response, while filters will only