=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml' --- src/docbkx/en/dhis2_user_man_web_api.xml 2014-01-07 15:59:33 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-01-08 11:30:31 +0000 @@ -936,8 +936,8 @@ The dataSet and orgUnit parameters can be repeated in order to include multiple data sets and organisation units. An example request looks like this: - curl "http://apps.dhis2.org/demo/api/dataValueSets?dataSet=pBOMPrpg1QX&dataSet=BfMAe6Itzgt&startDate=2013-01-01&endDate=2013-01-31&orgUnit=YuQRtpLP10I&orgUnit=vWbkYPRmKyS&children=true" - -H "Accept:application/xml" -u admin:district -v + curl "http://apps.dhis2.org/demo/api/dataValueSets?dataSet=pBOMPrpg1QX&dataSet=BfMAe6Itzgt&startDate=2013-01-01&endDate=2013-01-31& +orgUnit=YuQRtpLP10I&orgUnit=vWbkYPRmKyS&children=true" -H "Accept:application/xml" -u admin:district -v You can get the response in xml and csv format. You can indicate which response format you prefer through the Accept HTTP header like in the example above. For xml you use application/xml; for csv you use application/csv. @@ -1084,7 +1084,7 @@ The dataSet and orgUnit parameters can be repeated in order to include multiple data sets and organisation units. An example request looks like this:curl "http://apps.dhis2.org/dev/api/completeDataSetRegistrations?dataSet=pBOMPrpg1QX&dataSet=BfMAe6Itzgt&startDate=2013-01-01&endDate=2013-01-31 - &orgUnit=YuQRtpLP10I&orgUnit=vWbkYPRmKyS&children=true" -H "Accept:application/xml" -u admin:district -v +&orgUnit=YuQRtpLP10I&orgUnit=vWbkYPRmKyS&children=true" -H "Accept:application/xml" -u admin:district -v You can get the response in xml and json format. You can indicate which response format you prefer through the Accept HTTP header like in the example above.