← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 737: Minor

 

------------------------------------------------------------
revno: 737
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Mon 2013-05-20 17:47:19 +0200
message:
  Minor
modified:
  src/docbkx/en/dhis2_user_man_web_api.xml


--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs

Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription
=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml	2013-05-20 14:49:21 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml	2013-05-20 15:47:19 +0000
@@ -543,6 +543,11 @@
     <para><code>curl
         "http://apps.dhis2.org/demo/api/dataValueSets?dataSet=pBOMPrpg1QX&amp;dataSet=BfMAe6Itzgt&amp;startDate=2013-01-01&amp;endDate=2013-01-31&amp;orgUnit=YuQRtpLP10I&amp;orgUnit=vWbkYPRmKyS&amp;children=true";
         -H "Accept:application/xml" -u admin:district -v</code></para>
+    <para>You can get the response in <emphasis role="italic">xml</emphasis> and <emphasis
+        role="italic">csv</emphasis> format. You can indicate which response format you prefer
+      through the <emphasis role="italic">Accept</emphasis> HTTP header like in the example above.
+      For xml you use <emphasis role="italic">application/xml</emphasis>; for csv you use <emphasis
+        role="italic">application/csv</emphasis>.</para>
   </section>
   <section>
     <title>Writing and reading messages</title>