dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27413
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 944: Line breaks
------------------------------------------------------------
revno: 944
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Wed 2014-01-08 12:30:31 +0100
message:
Line breaks
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 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 @@
</table>
<para>The dataSet and orgUnit parameters can be repeated in order to include multiple data sets
and organisation units. An example request looks like this:</para>
- <screen>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</screen>
+ <screen>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</screen>
<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>
@@ -1084,7 +1084,7 @@
<para>The dataSet and orgUnit parameters can be repeated in order to include multiple data sets
and organisation units. An example request looks like
this:<screen>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</screen></para>
+&orgUnit=YuQRtpLP10I&orgUnit=vWbkYPRmKyS&children=true" -H "Accept:application/xml" -u admin:district -v</screen></para>
<para>You can get the response in <emphasis role="italic">xml</emphasis> and <emphasis
role="italic">json</emphasis> format. You can indicate which response format you prefer
through the <emphasis role="italic">Accept</emphasis> HTTP header like in the example above.