------------------------------------------------------------
revno: 1173
committer: Lars Helge Overland <[email protected]>
branch nick: dhis2-docbook-docs
timestamp: Fri 2014-08-15 00:54:45 +0200
message:
Form upload
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-07-25 09:02:14 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-08-14 22:54:45 +0000
@@ -1463,6 +1463,10 @@
<para>To retrieve the form filled with data values for a specific period and organisation unit
in XML:</para>
<screen>api/dataSets/BfMAe6Itzgt/form.xml?ou=DiszpKrYNg8&pe=201401</screen>
+ <para>When it comes to custom data entry forms, this resource also allows for creating such
+ forms directly for a data set. This can be done through a POST or PUT request with content
+ type text/html where the payload is the custom form markup such as:</para>
+ <screen>curl -d @form.html "localhost/api/dataSets/BfMAe6Itzgt/form" -H "Content-Type:text/html" -u admin:district -X PUT -v</screen>
</section>
<section>
<title>Reading complete data set registrations</title>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp