dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #23842
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 777: Event get
------------------------------------------------------------
revno: 777
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Thu 2013-08-08 12:46:46 +0200
message:
Event get
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-07-16 10:01:19 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2013-08-08 10:46:46 +0000
@@ -459,7 +459,7 @@
] }
]
}</screen>
- <para>(from 2.13) as part of the import summary you will also get the UID reference to the event
+ <para>(From 2.13) As part of the import summary you will also get the UID reference to the event
you just sent, together with a href element which points to the server location of this event. </para>
<para><emphasis role="bold">Update</emphasis>: To update an existing event, the format of the
payload is the same, but the URL you are posting to must add the UID reference to the end of
@@ -468,6 +468,9 @@
<para><emphasis role="bold">Delete</emphasis>: To delete an existing event, all you need is to
send a DELETE request with a UID reference to the server you are
using.<screen>curl -X DELETE "localhost:8080/api/events/Abcas12322" -u admin:district -v</screen></para>
+ <para><emphasis role="bold">Get</emphasis>: To get an existing event you can issue a GET request
+ including the UID reference like
+ this:<screen>curl "localhost:8080/api/events/Abcas12322" -H "Content-Type:application/xml" -u admin:district -v</screen></para>
<para>The table below describes the meaning of each element. Most elements should be fairly
self-explanatory.</para>
<para>