------------------------------------------------------------ revno: 997 committer: Morten Olav Hansen <morte...@gmail.com> branch nick: dhis2-docbook-docs timestamp: Mon 2014-03-31 13:40:15 +0700 message: document orgUnitIdScheme for event import 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-03-30 20:23:37 +0000 +++ src/docbkx/en/dhis2_user_man_web_api.xml 2014-03-31 06:40:15 +0000 @@ -783,6 +783,10 @@ <para>(From 2.13) As part of the import summary you will also get the identifier <emphasis role="italic">reference</emphasis> to the event you just sent, together with a <emphasis role="italic">href</emphasis> element which points to the server location of this event. </para> + <para><emphasis role="bold">OrgUnit matching</emphasis>: By default the orgUnit parameter will match on the ID of the orgUnit, but + from 2.15 you can also select the orgUnit id matching scheme by using the parameter orgUnitIdScheme=SCHEME, where the options are: + <emphasis role="italic">UID</emphasis>, <emphasis role="italic">UUID</emphasis>, <emphasis role="italic">CODE</emphasis>, and + <emphasis role="italic">NAME</emphasis>.</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 identifier to the end of the URL string and the request must be PUT.
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp