=== modified file 'src/docbkx/en/dhis2_user_man_persons_and_programs.xml' --- src/docbkx/en/dhis2_user_man_persons_and_programs.xml 2013-10-21 08:53:52 +0000 +++ src/docbkx/en/dhis2_user_man_persons_and_programs.xml 2013-12-14 15:00:18 +0000 @@ -1,5 +1,4 @@ - Tracker
=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml' --- src/docbkx/en/dhis2_user_man_web_api.xml 2013-12-09 17:15:21 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2013-12-14 15:00:18 +0000 @@ -689,6 +689,70 @@ using the dataElementIScheme and orgUnitIdScheme paramaters.
+ Sending individual data values + This example will show how to send individual data values to be saved in a request. This + can be achieved by interacting with the dataValues + resource: + http://apps.dhis2.org/demo/api/dataValues + The following query parameters are supported for this resource: + + Data values query parameters + + + + + + + Query parameter + Required + Description + + + + + de + Yes + Data element identifier + + + co + No + Category option combo identifier, default will be used if omitted + + + pe + Yes + Period identifier + + + ou + Yes + Organisation unit identifier + + + value + No + Data value + + + comment + No + Data comment + + + followUp + No + Follow up on data value, will toggle the current boolean value + + + +
+ If any of the identifiers given are invalid, if the data value or comment are invalid or + if the data is locked, the response will contain the 409 + Conflict status code and descriptive text message. If the operation lead to a + saved or updated value, 200 OK will be returned. +
+
Reading data values This section explains how to retrieve data values from the Web API by interacting with the dataValueSets resource. Data values can currently be retrieved in XML format. Since we want to read data we will use the GET HTTP verb. We will also specify that we are interested in the XML resource representation by including an Accept HTTP header with our request. The following query parameters are required: