=== modified file 'src/docbkx/en/dhis2_user_man_import_export.xml' --- src/docbkx/en/dhis2_user_man_import_export.xml 2014-02-24 12:42:40 +0000 +++ src/docbkx/en/dhis2_user_man_import_export.xml 2014-04-08 09:24:10 +0000 @@ -103,14 +103,34 @@
Importing CSV meta-data - DHIS 2 supports import of meta-data in the CSV format. Currently data elements are - supported. You can import data elements from CSV Meta-data Import in the import-export module. Columns which are not required can be omitted - in the CSV file, but the order will be affected. If you would like to specify columns which - appear late in the order but not specify columns which appear early in the order you can - include empty columns ("") for them. - To import CV meta-data go to import-export module and select CSV Meta-Data Import form the - left side menu. You must select the object type which your CSV file contains. You can only - upload one type of objects at the time. Upload your file and click update. + DHIS 2 supports import of meta-data in the CSV format. Columns which are not required + can be omitted in the CSV file, but the order will be affected. If you would like to specify + columns which appear late in the order but not specify columns which appear early in the + order you can include empty columns ("") for them. + To import CV meta-data go to import-export module and select CSV Meta-Data Import form + the left side menu. You must select the object type which your CSV file contains. You can + only upload one type of objects at the time. Upload your file and click update. The + following object types are supported: + + + Data elements + + + Data element groups + + + Category options + + + Category option groups + + + Organisation units + + + Organisation unit groups + + The formats for the currently supported object types for CSV import are listed below. @@ -326,7 +346,8 @@
- Category Option and Category Option Group CSV Format + Data Element Group, Category Option, Category Option Group, Organisation Unit Group + CSV Format === modified file 'src/docbkx/en/dhis2_user_man_web_api.xml' --- src/docbkx/en/dhis2_user_man_web_api.xml 2014-04-04 22:26:21 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-04-08 09:24:10 +0000 @@ -4230,8 +4230,10 @@ without any constraints. Attributes will be included in the response, while filters will only be used as criteria. If specifying a query with no attributes or program, the attributes defined to be - displayed in lists with no program will be included in the response. The following rules apply - to the query parameters. + displayed in lists with no program will be included in the response. You can specify queries + with words separated by space - in that situation the system will query for each word + independently and return records where each word is contained in any attribute. The query is + case insensitive. The following rules apply to the query parameters. At least one organisation unit must be specified using the If programStatus is specified then program must also be specified. + + Attributes and filters can only be specified once. + + + An item cannot be specified as attribute and filter. + A query for all instances associated with a specific organisation unit can look like this: api/trackedEntityInstances.json?ou=DiszpKrYNg8 A query on all attributes for a specific value and organisation unit: - api/trackedEntityInstances.json?query=wakiki&ou=DiszpKrYNg8 + api/trackedEntityInstances.json?query=scott&ou=DiszpKrYNg8 + You can query on multiple words separated by the the URL character for space which is + %20: + api/trackedEntityInstances.json?query=isabel%20may&ou=ImspTQPwCqd A query where the attributes to include in th response are specified looks like this: api/trackedEntityInstances.json?query=wakiki&attribute=dv3nChNSIxy&attribute=AMpUYgxuCaE&ou=DiszpKrYNg8