=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml' --- src/docbkx/en/dhis2_user_man_web_api.xml 2013-12-18 09:40:58 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2013-12-19 23:16:12 +0000 @@ -699,8 +699,8 @@ Data values query parameters - - + + Query parameter @@ -715,19 +715,29 @@ Data element identifier + pe + Yes + Period identifier + + + ou + Yes + Organisation unit identifier + + co No Category option combo identifier, default will be used if omitted - pe - Yes - Period identifier + cc + No (must combine with cp) + Attribute combo identifier - ou - Yes - Organisation unit identifier + cp + No (must combine with cc) + Attribute option identifiers, can be repeated multiple times value @@ -752,7 +762,12 @@ Conflict status code and descriptive text message. If the operation lead to a saved or updated value, 200 OK will be returned. An example of a request looks like this: - curl "http://apps.dhis2.org/demo/api/dataValues?de=s46m5MS0hxu&co=Prlt0C1RF0s&pe=201301&ou=DiszpKrYNg8&value=12" -X POST -u admin:district -v + curl "http://apps.dhis2.org/demo/api/dataValues?de=s46m5MS0hxu&pe=201301&ou=DiszpKrYNg8&co=Prlt0C1RF0s&value=12" -X POST -u admin:district -v + This resource also allows a special syntax for associating the value to an attribute + option combination. This can be done by sending the identifier of the attribute combination, + together with the identifier(s) of the attribute option(s) which the value represents within + the combination. An example looks like this: + curl "http://apps.dhis2.org/demo/api/dataValues?de=s46m5MS0hxu&ou=DiszpKrYNg8&pe=201308&cc=dzjKKQq0cSO&cp=wbrDrL2aYEc&cp=btOyqprQ9e8&value=26" -X POST -u admin:district -v
Reading data values === modified file 'src/docbkx/en/dhis2_user_manual_en.xml' --- src/docbkx/en/dhis2_user_manual_en.xml 2013-10-02 14:52:27 +0000 +++ src/docbkx/en/dhis2_user_manual_en.xml 2013-12-19 23:16:12 +0000 @@ -1,5 +1,5 @@ - ]> @@ -33,9 +33,7 @@ - + DHIS 2 Documentation Guide