=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml 2013-12-27 12:35:31 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2013-12-27 12:50:56 +0000
@@ -268,6 +268,14 @@
Indicates whether to get all resources or no resources by default.
+ dryRun
+ boolean
+ false
+ false | true
+ If you set this to true, the actual import will not happen. Instead the system will generate a
+ summary of what would have been done.
+
+
{resources}
boolean
false
@@ -286,16 +294,64 @@
preheatCache
boolean
- true
+ false
true | false
Turn cache-map preheating on/off. This is on by default, turning this off will make initial load time for importer much
shorter (but will make the import itself slower). This is mostly used for cases where you have a small XML file you want to
import, and don't want to wait for cache-map preheating.
+
+ strategy
+ enum
+ false
+ CREATE_AND_UPDATE | CREATE | UPDATE | DELETE
+ Import strategy to use, see below for more information.
+
+
+
+ Available strategies for import
+
+
+ Available Strategies
+
+
+
+
+ Type
+
+
+ Description
+
+
+
+
+
+ CREATE_AND_UPDATE
+ Allows creation and updating of objects.
+
+
+ CREATE
+ Allows creation of objects.
+
+
+ UPDATE
+ Allows update of objects.
+
+
+ DELETE
+ Allows deletes of objects.
+
+
+
+
+
+
+
+ Examples
Example: Get a filtered set of meta-data that was updated since August 1
2012
@@ -323,6 +379,7 @@
return as soon as the process is started. The response status code to be expected is 204 No
Content.
+
Sending data values
A common use-case for system integration is the need to send a set of data values from a