dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #24956
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 812: document search for person by orgUnit/nameLike
------------------------------------------------------------
revno: 812
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Fri 2013-09-27 16:59:53 +0200
message:
document search for person by orgUnit/nameLike
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-09-27 12:28:47 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2013-09-27 14:59:53 +0000
@@ -2632,6 +2632,8 @@
<para><emphasis role="bold">Query for
orgUnit:</emphasis><screen>GET /api/persons?orgUnit=OU_UID</screen></para>
<para><emphasis role="bold">Query for
+ orgUnit/nameLike:</emphasis><screen>GET /api/persons?orgUnit=OU_UID&nameLike=sen</screen></para>
+ <para><emphasis role="bold">Query for
orgUnit/program:</emphasis><screen>GET /api/persons?orgUnit=OU_UID&program=PROGRAM_UID</screen></para>
<para><emphasis role="bold">Query for
orgUnit/program/gender:</emphasis><screen>GET /api/persons?orgUnit=OU_UID&program=PROGRAM_UID&gender=MALE/FEMALE/TRANSGENDER</screen></para>