Web API - Search by id

Hello Mobilars and Saptarshi=2C

Agreed with SOAP is now old fashioned=2C but we should remember one thing t=
hat DHIS2 development programme and its deployment is primarily focused on =
developing and under developed country to improve their Health=2C Nutrition=
and Population Sector Program and its primary diameter of development(but =
not radious of development) should be focused on Mother and Child Health (M=
CH) as well as Rehabilitation and Child Health (RCH) Programme only. I am s=
ure in most of the developing and under developed countries from kids to th=
eir parents even house surgeon and clinical doctors still they are using e=
very day SOAP products to make their hands clean and jerms protected.=20

But i am little bit surprised=0A=
suspicious with Mobilars and Saptarshi=2C whether you both are using it or=
not in your day to day life=2C perhaps quite sure 100 % that Weivao and Al=
ex both have started using it every day to make their hands clean and jirms=
protected.=20

Agreed with Mobilars that SOAP is old fashioned now a days and there are so=
much new developments has been happened in this area=2C but still these da=
ys there are so many old fashioned concepts are being used in developing an=
d under developed countries like long back Fat Man (FM) doped in Nagasaki d=
etonation causes nuclear explosion and destroying so many lives=2C but now =
a days in so many metropolitan cities this FM concept are being used as dop=
ing melodious musics=2C news=2C game commentary various live saving adverti=
sements and so many audio programmes to make ppl feel good and enjoy their =
every day life. =20

So in short=2C i can say=2C adhering to the old fashioned ideas like SOAP/K=
nut and HTTP/Bob interfaces are=0A=
not as bad as just quickly sticking with alpha release of REST type of sev=
eral applied science products and api's like examination controllers which=
are not even properly tested and pass user acceptance test for expected re=
quirements. For mapping and searching single resource=2C i think no need to=
use url as co-ordinate geomatory type of concept with multiple url for fi=
nding and searching one resource kept in DHIS 2 deployed application=2C rat=
her it should be more clear in requirement analysis that target object or r=
esource is static=2C not moving projectile. I think in DHIS 2 application d=
evelopment program=2C resources are in web-apps deployed on web server and =
its more likely static some where at a particular instance of time frame no=
t inside flying machine. =20

Agreed with Saptarshi=2C requirement is little tough to use SOAP in DHIS 2 =
development programe=2C perhaps I think more qualified ppls thinks simple p=
roblems in more complex=0A=
ways=2C because they put so many bundles of unwanted ideas in their head a=
nd that comes and reflect in their new development programme areas leads an=
d produce new development products and approach of simple thing in more com=
plex paralytic ways. And Saptarshi=2C you can't be-leave=2C i know some of =
the Phd aspirants rangers engaged in DHIS 2 development programme=2C they e=
ven don't take proper shower every day not because they are not aware about=
its use and implications but rather because their head are full with other=
process and they don't have that much of time to go for shower=2C pardon b=
ut their uid's are quite confidential in India. Therefor I am expecting SOA=
P web api module development programme should have ppl who are only bachelo=
rs and enrolled in DHIS 2 development programme and should be engaged in an=
y family welfare health programme.
If such team is available than its fine if not than it must be introduced i=
n DHIS 2 development programe so that=0A=
they can think about the prospective in more likely neutral way not likely=
ionized way. =20

Regards=2C
Brajesh Murari
=20

    And of course if one does not belong to any of those categories listed =
by Brajesh. To me it looks like no one gets qualified for this job=2C insid=
e and outside DHIS2 team. Very tough requirements Brajesh. Agree with Mobil=
arsh on open source concept though.=0A=
=0A=
Best of luck Brajesh!On Mon=2C Nov 4=2C 2013 at 9:35 PM=2C Lars Kristian Ro=
land <lars@roland.bz> wrote:=0A=
=0A=
Not sure if this was ironic=2C but in case it wasn't: I respectfully disagr=
ee. SOAP is old fashioned and should not be woken from the dead. =0A=
=0A=
=0A=
But it is open source software=2C so one may of course implement SOAP if on=
e feels this is better.=0A=
Best regards=0A=
Mobilars=0A=
4. nov. 2013 17:28 skrev "Brajesh Murari" <brajesh.murari@yahoo.com> f=F8lg=
ende:=0A=
=0A=
I think its time to introduce and develop new module which should be based =
on Simple Object Architecture Protocol (SOAP)=2C as from the trail mail it =
shows REST APIs are not in a position to provide secure layers for finding =
resources=2C in other words we can say REST APIs are one of the biggest fai=
lure in DHIS2 application development. I would request to the list and the =
DHIS2 global application development team to introduce some developer to wo=
rk and try to develop DHIS2 web api using SOAP but make sure the team engag=
ed in development of this new SOAP based api should not contain any married=
developer nor they should be Post Graduate or Phd holder at all in any dec=
iplene nor they should be any consultant or solution architect. This team s=
hould belong to simple developer with fresh mind and make sure that team sh=
ould not=0A=
contain any developer who has all ready celebrated their silver jubilee in=
application development.Regards=2CBrajesh Murari =0A=
=0A=
=0A=
    On Monday=2C 4 November 2013 9:34 PM=2C Saptarshi Purkayastha <sunbiz@g=
mail.com> wrote:=0A=
=0A=
=0A=
    =0A=
=0A=
=0A=
It is generally considered to be bad practice in the design of Web API or R=
EST APIs that two URLs point to the same resources.Also I would think that =
people who want to juggle between existing web functionality and Web API=2C=
would like to use internal IDs to get the UID and then use the UID for web=
API calls. This makes it more flexible to use and switch between the two I=
Ds depending what functionality you want to use=2C either from core web int=
erface (uses IDs) or Web API (uses UIDs)=0A=
=0A=
=0A=
---Regards=2CSaptarshi PURKAYASTHAFrom: janhenrik.overland@gmail.comDate: M=
on=2C 4 Nov 2013 16:57:26 +0100Subject: Re: [Dhis2-devs] Web API - Search b=
y id=0A=
=0A=
=0A=
ence. If you make an app that looks up organisation units by id=2C code or =
name you won't have to change the base url based on the=0A=
parameter.=0A=
=0A=
On Mon=2C Nov 4=2C 2013 at 4:47 PM=2C Saptarshi Purkayastha <sunbiz@gmail.c=

wrote:=0A=

=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
Why would one use the search at all in this case of using the UID?You can d=
irectly get the resource with the UID=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
http://apps.dhis2.org/demo/api/organisationUnits/ImspTQPwCqd gives Sierra L=
eone=0A=
=0A=
http://apps.dhis2.org/demo/api/organisationUnits/search/Sierra%20Leone is t=
he search---=0A=
=0A=
Regards=2CSaptarshi PURKAYASTHAFrom: janhenrik.overland@gmail.comDate: Mon=
=2C 4 Nov 2013 16:36:25 +0100Subject: Re: [Dhis2-devs] Web API - Search by =
id=0A=
=0A=
=0A=
Hi=2C try the uid. For a web API user there is only one id (which is the ui=
d). We don't want to confuse him by saying "uid" in the docs as it implies =
that there is an "id" as well.=0A=
=0A=
On Mon=2C Nov 4=2C 2013 at 4:11 PM=2C Saptarshi Purkayastha <sunbiz@gmail.c=

wrote:=0A=

=0A=
=0A=
=0A=
=0A=
The Web API documentation here: http://www.dhis2.org/doc/snapshot/en/user/h=
tml/ch25s04.htmlsuggests that you can search a resource by its id=2C code a=
nd name. =0A=
=0A=
=0A=
=0A=
I tried the following: http://apps.dhis2.org/demo/api/organisationUnits/sea=
rch/559But it says Object not found for query: 559=0A=
=0A=
=0A=
=0A=
So=2C does it only work for code and name and not for id?---Regards=2CSapta=
rshi PURKAYASTHA =0A=
_______________________________________________=0A=
Mailing list: https://launchpad.net/~dhis2-devs=0A=
Post to : dhis2-devs@lists.launchpad.net=0A=
Unsubscribe : https://launchpad.net/~dhis2-devs=0A=
More help : https://help.launchpad.net/ListHelp=0A=
=0A=
                 =0A=
                 =0A=
_______________________________________________Mailing list: https://launch=
pad.net/~dhis2-devsPost to : dhis2-devs@lists.launchpad.netUnsubscribe =
: https://launchpad.net/~dhis2-devs=0A=
=0A=
=0A=
More help : https://help.launchpad.net/ListHelp ____________________=
___________________________=0A=
Mailing list: https://launchpad.net/~dhis2-devs=0A=
Post to : dhis2-devs@lists.launchpad.net=0A=
Unsubscribe : https://launchpad.net/~dhis2-devs=0A=
More help : https://help.launchpad.net/ListHelp=0A=
=0A=
_______________________________________________=0A=
Mailing list: https://launchpad.net/~dhis2-devs=0A=
Post to : dhis2-devs@lists.launchpad.net=0A=
Unsubscribe : https://launchpad.net/~dhis2-devs=0A=
More help : https://help.launchpad.net/ListHelp=0A=

     =20
_______________________________________________=0A=
Mailing list: https://launchpad.net/~dhis2-devs=0A=
Post to : dhis2-devs@lists.launchpad.net=0A=
Unsubscribe : https://launchpad.net/~dhis2-devs=0A=
More help : https://help.launchpad.net/ListHelp =

--_3ea1422f-d75f-40aa-a54e-fb92c17fb3cf_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 12pt=3B
font-family:Calibri
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>Brajesh=2C<br>There are too many=
people on this mailing list and I =0A=
think its inappropriate to spam everyone with out-of-topic and in my =0A=
opinion nonsensical sentences.<br>I consider this trolling and I request yo=
u not to send such emails.<br><br>Core team=2C<br>1. Do you agree this is a=
valid requirement? or will this never be implemented?<br>2. Should we just=
remove search by uid?<br><br>---<br>Regards=2C<br>Saptarshi PURKAYASTHA<br=

<br><div><hr id=3D"stopSpelling">Date: Tue=2C 5 Nov 2013 03:54:04 +0800<br=
From: brajesh.murari@yahoo.com<br>To: mlatifov@gmail.com=3B lars@roland.bz=

<br>CC: dhis2-devs@lists.launchpad.net<br>Subject: Re: [Dhis2-devs] Web API=
- Search by id<br><br><div style=3D"color:#000=3Bbackground-color:#fff=3Bf=
ont-family:Courier New=2C courier=2C monaco=2C monospace=2C sans-serif=3Bfo=
nt-size:10pt=3B"><div><span><br></span></div><div style=3D"display:block=3B=
" class=3D"ecxyahoo_quoted"> Hello Mobilars and Saptarshi=2C<br><br>Agreed =
with SOAP is now old fashioned=2C but we should remember one thing that DHI=
S2 development programme and its deployment is primarily focused on develop=
ing and under developed country to improve their Health=2C Nutrition and Po=
pulation Sector Program and its primary diameter of development(but not rad=
ious of development) should be focused on Mother and Child Health (MCH) as =
well as Rehabilitation and Child Health (RCH) Programme only. I am sure in =
most of the developing and under developed countries from kids to their par=
ents even house surgeon and clinical doctors still they are using every da=
y SOAP products to make their hands clean and jerms protected. <br><br>But =
i am little bit surprised=0A=
suspicious with Mobilars and Saptarshi=2C whether you both are using it or=
not in your day to day life=2C perhaps quite sure 100 % that Weivao and Al=
ex both have started using it every day to make their hands clean and jirms=
protected. <br><br>Agreed with Mobilars that SOAP is old fashioned now a d=
ays and there are so much new developments has been happened in this area=
=2C but still these days there are so many old fashioned concepts are being=
used in developing and under developed countries like long back Fat Man (F=
M) doped in Nagasaki detonation causes nuclear explosion and destroying so =
many lives=2C but now a days in so many metropolitan cities this FM concept=
are being used as doping melodious musics=2C news=2C game commentary vario=
us live saving advertisements and so many audio programmes to make ppl feel=
good and enjoy their every day life.&nbsp=3B <br><br>So in short=2C i can =
say=2C adhering to the old fashioned ideas like SOAP/Knut and HTTP/Bob inte=
rfaces are=0A=
not as bad as just quickly sticking with alpha release of REST type of sev=
eral applied science products and&nbsp=3B api's like examination controller=
s which are not even properly tested and pass user acceptance test for expe=
cted requirements. For mapping and searching single resource=2C i think no =
need to use url as&nbsp=3B co-ordinate geomatory type of concept with multi=
ple url for finding and searching one resource kept in DHIS 2 deployed appl=
ication=2C rather it should be more clear in requirement analysis that targ=
et object or resource is static=2C not moving projectile. I think in DHIS 2=
application development program=2C resources are in web-apps deployed on w=
eb server and its more likely static some where at a particular instance of=
time frame not inside flying machine.&nbsp=3B &nbsp=3B <br><br>Agreed with=
Saptarshi=2C requirement is little tough to use SOAP in DHIS 2 development=
programe=2C perhaps I think more qualified ppls thinks simple problems in =
more complex=0A=
ways=2C because they put so many bundles of unwanted ideas in their head a=
nd that comes and reflect in their new development programme areas leads an=
d produce new development products and approach of simple thing in more com=
plex paralytic ways. And Saptarshi=2C you can't be-leave=2C i know some of =
the Phd aspirants rangers engaged in DHIS 2 development programme=2C they e=
ven don't take proper shower every day not because they are not aware about=
its use and implications but rather because their head are full with other=
process and they don't have that much of time to go for shower=2C pardon b=
ut their uid's are quite confidential in India. Therefor I am expecting SOA=
P web api module development programme should have ppl who are only bachelo=
rs and enrolled in DHIS 2 development programme and should be engaged in an=
y family welfare health programme.<br>If such team is available than its fi=
ne if not than it must be introduced in DHIS 2 development programe so that=
=0A=
they can think about the prospective in more likely neutral way not likely=
ionized way. &nbsp=3B <br><br>Regards=2C<br>Brajesh Murari<br> <br><br><br=

<div style=3D"font-family:Courier New=2C courier=2C monaco=2C monospace=

=2C sans-serif=3Bfont-size:10pt=3B"> <div style=3D"font-family:times new ro=
man=2C new york=2C times=2C serif=3Bfont-size:12pt=3B"> <div dir=3D"ltr"> <=
font face=3D"Arial" size=3D"2"> On Monday=2C 4 November 2013 10:21 PM=2C Mu=
rod Latifov &lt=3Bmlatifov@gmail.com&gt=3B wrote:<br> </font> </div> <div =
class=3D"ecxy_msg_container"><div id=3D"ecxyiv1274135594"><div><div dir=3D"=
ltr">And of course if one does not belong to any of those categories&nbsp=
=3Blisted&nbsp=3Bby Brajesh.&nbsp=3B<div class=3D"ecxyiv1274135594gmail_ext=
ra">To me it looks like no one gets qualified for this job=2C inside and ou=
tside DHIS2 team. Very tough requirements Brajesh. Agree with Mobilarsh on =
open source concept though.</div>=0A=
=0A=
<div class=3D"ecxyiv1274135594gmail_extra"><br clear=3D"none"></div><div cl=
ass=3D"ecxyiv1274135594gmail_extra">Best of luck Brajesh!</div><div class=
=3D"ecxyiv1274135594gmail_extra"><br clear=3D"none"><div class=3D"ecxyiv127=
4135594gmail_quote">On Mon=2C Nov 4=2C 2013 at 9:35 PM=2C Lars Kristian Rol=
and <span dir=3D"ltr">&lt=3B<a rel=3D"nofollow" shape=3D"rect" target=3D"_b=
lank" href=3D"mailto:lars@roland.bz">lars@roland.bz</a>&gt=3B</span> wrote:=
<br clear=3D"none">=0A=
=0A=
<blockquote class=3D"ecxyiv1274135594gmail_quote" style=3D"border-left-widt=
h:1px=3Bborder-left-color:rgb(204=2C204=2C204)=3Bborder-left-style:solid=3B=
padding-left:1ex=3B"><div dir=3D"ltr">Not sure if this was ironic=2C but in=
case it wasn't: I respectfully disagree. SOAP is old fashioned and should =
not be woken from the dead. </div>=0A=
=0A=
=0A=
<div dir=3D"ltr">But it is open source software=2C so one may of course imp=
lement SOAP if one feels this is better.</div>=0A=
<div dir=3D"ltr">Best regards<br clear=3D"none">=0A=
Mobilars</div>=0A=
<div class=3D"ecxyiv1274135594gmail_quote">4. nov. 2013 17:28 skrev "Brajes=
h Murari" &lt=3B<a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" href=
=3D"mailto:brajesh.murari@yahoo.com">brajesh.murari@yahoo.com</a>&gt=3B f=
=F8lgende:<div><div><br clear=3D"none">=0A=
<blockquote class=3D"ecxyiv1274135594gmail_quote" style=3D"border-left-widt=
h:1px=3Bborder-left-color:rgb(204=2C204=2C204)=3Bborder-left-style:solid=3B=
padding-left:1ex=3B">=0A=
<div><div style=3D"font-size:10pt=3Bfont-family:'Courier New'=2C courier=2C=
monaco=2C monospace=2C sans-serif=3B">I think its time to introduce and de=
velop new module which should be based on Simple Object Architecture Protoc=
ol (SOAP)=2C as from the trail mail it shows REST APIs are not in a positio=
n to provide secure layers for finding resources=2C in other words we can s=
ay REST APIs are one of the biggest failure in DHIS2 application developmen=
t. I would request to the list and the DHIS2 global application development=
team to introduce some developer to work and try to develop DHIS2 web api =
using SOAP but make sure the team engaged in development of this new SOAP b=
ased api should not contain any married developer nor they should be Post G=
raduate or Phd holder at all in any deciplene nor they should be any consul=
tant or solution architect. This team should belong to simple developer wit=
h fresh mind and make sure that team should not=0A=
contain any developer who has all ready celebrated their silver jubilee in=
application development.<br clear=3D"none"><br clear=3D"none">Regards=2C<b=
r clear=3D"none">Brajesh Murari &nbsp=3B <br clear=3D"none"><div><span><br =
clear=3D"none"></span></div><div style=3D"display:block=3B"> <br clear=3D"n=
one"> <br clear=3D"none"> <div style=3D"font-family:'Courier New'=2C courie=
r=2C monaco=2C monospace=2C sans-serif=3Bfont-size:10pt=3B">=0A=
=0A=
=0A=
<div style=3D"font-family:'times new roman'=2C 'new york'=2C times=2C seri=
f=3Bfont-size:12pt=3B"> <div dir=3D"ltr"> <font face=3D"Arial"> On Monday=
=2C 4 November 2013 9:34 PM=2C Saptarshi Purkayastha &lt=3B<a rel=3D"nofoll=
ow" shape=3D"rect" target=3D"_blank" href=3D"mailto:sunbiz@gmail.com">sunbi=
z@gmail.com</a>&gt=3B wrote:<br clear=3D"none">=0A=
=0A=
=0A=
</font> </div> <div><div>=0A=
=0A=
=0A=
<div><div dir=3D"ltr">It is generally considered to be bad practice in the =
design of Web API or REST APIs that two URLs point to the same resources.<b=
r clear=3D"none">Also I would think that people who want to juggle between =
existing web functionality and Web API=2C would like to use internal IDs to=
get the UID and then use the UID for web API calls. This makes it more fle=
xible to use and switch between the two IDs depending what functionality yo=
u want to use=2C either from core web interface (uses IDs) or Web API (uses=
UIDs)<br clear=3D"none">=0A=
=0A=
=0A=
<br clear=3D"none">---<br clear=3D"none">Regards=2C<br clear=3D"none">Sapta=
rshi PURKAYASTHA<br clear=3D"none"><div><hr>From: <a rel=3D"nofollow" shape=
=3D"rect" target=3D"_blank" href=3D"mailto:janhenrik.overland@gmail.com">ja=
nhenrik.overland@gmail.com</a><br clear=3D"none">Date: Mon=2C 4 Nov 2013 16=
:57:26 +0100<br clear=3D"none">Subject: Re: [Dhis2-devs] Web API - Search b=
y id<br clear=3D"none">=0A=
=0A=
=0A=
biz@gmail.com">sunbiz@gmail.com</a><br clear=3D"none">CC: <a rel=3D"nofollo=
w" shape=3D"rect" target=3D"_blank" href=3D"mailto:dhis2-devs@lists.launchp=
ad.net">dhis2-devs@lists.launchpad.net</a><br clear=3D"none"><br clear=3D"n=
one"><div dir=3D"ltr">It's just for convenience. If you make an app that lo=
oks up organisation units by id=2C code or name you won't have to change th=
e base url based on the=0A=
parameter.</div><div><br clear=3D"none"><br clear=3D"none">=0A=
=0A=
<div>On Mon=2C Nov 4=2C 2013 at 4:47 PM=2C Saptarshi Purkayastha <span dir=
=3D"ltr">&lt=3B<a href=3D"http://" rel=3D"nofollow" shape=3D"rect" target=
=3D"_blank">sunbiz@gmail.com</a>&gt=3B</span> wrote:<br clear=3D"none"><blo=
ckquote style=3D"border-left-width:1px=3Bborder-left-color:rgb(204=2C204=2C=
204)=3Bborder-left-style:solid=3Bpadding-left:1ex=3B">=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
<div><div dir=3D"ltr">=0A=
=0A=
=0A=
<div dir=3D"ltr">Why would one use the search at all in this case of using =
the UID?<br clear=3D"none"><font style=3D"font-size:12pt=3B" face=3D"Calibr=
i" size=3D"3"><span style=3D"font-size:12pt=3B"><span dir=3D"ltr">You can d=
irectly get the resource with the UID<br clear=3D"none">=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
<a href=3D"http://" rel=3D"nofollow" shape=3D"rect" target=3D"_blank">http:=
//apps.dhis2.org/demo/api/organisationUnits/ImspTQPwCqd</a> gives Sierra Le=
one<br clear=3D"none">=0A=
=0A=
<a href=3D"http://" rel=3D"nofollow" shape=3D"rect" target=3D"_blank">http:=
//apps.dhis2.org/demo/api/organisationUnits/search/Sierra%20Leone</a> is th=
e search</span></span></font><br clear=3D"none"><br clear=3D"none">---<br c=
lear=3D"none">=0A=
=0A=
Regards=2C<br clear=3D"none">Saptarshi PURKAYASTHA<br clear=3D"none"><div><=

From: <a href=3D"http://" rel=3D"nofollow" shape=3D"rect" target=3D"_bla=

nk">janhenrik.overland@gmail.com</a><br clear=3D"none">Date: Mon=2C 4 Nov 2=
013 16:36:25 +0100<br clear=3D"none">Subject: Re: [Dhis2-devs] Web API - Se=
arch by id<br clear=3D"none">=0A=
=0A=
unbiz@gmail.com</a><br clear=3D"none">CC: <a href=3D"http://" rel=3D"nofoll=
ow" shape=3D"rect" target=3D"_blank">dhis2-devs@lists.launchpad.net</a><div=

<div><br clear=3D"none"><br clear=3D"none"><div dir=3D"ltr">=0A=

=0A=
Hi=2C try the uid. For a web API user there is only one id (which is the ui=
d). We don't want to confuse him by saying "uid" in the docs as it implies =
that there is an "id" as well.</div>=0A=
=0A=
<div><br clear=3D"none"><br clear=3D"none"><div>On Mon=2C Nov 4=2C 2013 at =
4:11 PM=2C Saptarshi Purkayastha <span dir=3D"ltr">&lt=3B<a href=3D"http://=
" rel=3D"nofollow" shape=3D"rect" target=3D"_blank">sunbiz@gmail.com</a>&gt=
=3B</span> wrote:<br clear=3D"none">=0A=
=0A=
<blockquote style=3D"border-left-width:1px=3Bborder-left-color:rgb(204=2C20=
4=2C204)=3Bborder-left-style:solid=3Bpadding-left:1ex=3B">=0A=
=0A=
=0A=
<div><div dir=3D"ltr">The Web API documentation here: <a href=3D"http://" r=
el=3D"nofollow" shape=3D"rect" target=3D"_blank">http://www.dhis2.org/doc/s=
napshot/en/user/html/ch25s04.html</a><br clear=3D"none">suggests that you c=
an search a resource by its id=2C code and name. <br clear=3D"none">=0A=
=0A=
=0A=
=0A=
I tried the following: <a href=3D"http://" rel=3D"nofollow" shape=3D"rect" =
target=3D"_blank">http://apps.dhis2.org/demo/api/organisationUnits/search/5=
59</a><br clear=3D"none">But it says <br clear=3D"none"><pre>Object not fou=
nd for query: 559</pre>=0A=
=0A=
=0A=
=0A=
So=2C does it only work for code and name and not for id?<br clear=3D"none"=

<br clear=3D"none">---<br clear=3D"none">Regards=2C<br clear=3D"none">Sapt=

arshi PURKAYASTHA<br clear=3D"none"> </div></div>=0A=
<br clear=3D"none">_______________________________________________<br clear=
=3D"none">=0A=
Mailing list: <a href=3D"http://" rel=3D"nofollow" shape=3D"rect" target=3D=
"_blank">https://launchpad.net/~dhis2-devs</a><br clear=3D"none">=0A=
Post to &nbsp=3B &nbsp=3B : <a href=3D"http://" rel=3D"nofollow" shape=3D"r=
ect" target=3D"_blank">dhis2-devs@lists.launchpad.net</a><br clear=3D"none"=

=0A=

Unsubscribe : <a href=3D"http://" rel=3D"nofollow" shape=3D"rect" target=3D=
"_blank">https://launchpad.net/~dhis2-devs</a><br clear=3D"none">=0A=
More help &nbsp=3B : <a href=3D"http://" rel=3D"nofollow" shape=3D"rect" ta=
rget=3D"_blank">https://help.launchpad.net/ListHelp</a><div class=3D"ecxyiv=
1274135594yqt0700155052" id=3D"ecxyiv1274135594yqtfd04701"><br clear=3D"non=
e">=0A=
<br clear=3D"none"></div></blockquote></div><div class=3D"ecxyiv1274135594y=
qt0700155052" id=3D"ecxyiv1274135594yqtfd34600"><br clear=3D"none"></div></=

</div></div></div></div><div class=3D"ecxyiv1274135594yqt0700155052" id=

=3D"ecxyiv1274135594yqtfd54911">=0A=
                 </div></div></div><div class=3D"ecxyiv1274135594yqt0700155052" =
id=3D"ecxyiv1274135594yqtfd63271">=0A=
</div></blockquote></div><div class=3D"ecxyiv1274135594yqt0700155052" id=3D=
"ecxyiv1274135594yqtfd29673"><br clear=3D"none"></div></div></div><div clas=
s=3D"ecxyiv1274135594yqt0700155052" id=3D"ecxyiv1274135594yqtfd80336"> =
         </div></div></div><div class=3D"ecxyiv1274135594yqt0700155052" id=3D=
"ecxyiv1274135594yqtfd88036">=0A=
</div></div><div class=3D"ecxyiv1274135594yqt0700155052" id=3D"ecxyiv127413=
5594yqtfd79527"><br clear=3D"none">________________________________________=
_______<br clear=3D"none">Mailing list: <a href=3D"http://" rel=3D"nofollow=
" shape=3D"rect" target=3D"_blank">https://launchpad.net/~dhis2-devs</a><br=
clear=3D"none">Post to&nbsp=3B &nbsp=3B : <a href=3D"http://" rel=3D"nofo=
llow" shape=3D"rect" target=3D"_blank">dhis2-devs@lists.launchpad.net</a><b=
r clear=3D"none">Unsubscribe : <a href=3D"http://" rel=3D"nofollow" shape=
=3D"rect" target=3D"_blank">https://launchpad.net/~dhis2-devs</a><br clear=
=3D"none">=0A=
=0A=
=0A=
More help&nbsp=3B : <a href=3D"http://" rel=3D"nofollow" shape=3D"rect" ta=
rget=3D"_blank">https://help.launchpad.net/ListHelp</a><br clear=3D"none"><=
br clear=3D"none"><br clear=3D"none"></div></div><div class=3D"ecxyiv127413=
5594yqt0700155052" id=3D"ecxyiv1274135594yqtfd97798"> </div></div><div cla=
ss=3D"ecxyiv1274135594yqt0700155052" id=3D"ecxyiv1274135594yqtfd48997"> </d=

</div><div class=3D"ecxyiv1274135594yqt0700155052" id=3D"ecxyiv127413559=

4yqtfd53462"> </div></div><div class=3D"ecxyiv1274135594yqt0700155052" id=
=3D"ecxyiv1274135594yqtfd20770"> </div></div></div><div class=3D"ecxyiv1274=
135594yqt0700155052" id=3D"ecxyiv1274135594yqtfd14347"><br clear=3D"none">_=
______________________________________________<br clear=3D"none">=0A=
Mailing list: <a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" href=3D"=
https://launchpad.net/~dhis2-devs">https://launchpad.net/~dhis2-devs</a><br=
clear=3D"none">=0A=
Post to &nbsp=3B &nbsp=3B : <a rel=3D"nofollow" shape=3D"rect" target=3D"_b=
lank" href=3D"mailto:dhis2-devs@lists.launchpad.net">dhis2-devs@lists.launc=
hpad.net</a><br clear=3D"none">=0A=
Unsubscribe : <a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" href=3D"=
https://launchpad.net/~dhis2-devs">https://launchpad.net/~dhis2-devs</a><br=
clear=3D"none">=0A=
More help &nbsp=3B : <a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" h=
ref=3D"https://help.launchpad.net/ListHelp">https://help.launchpad.net/List=
Help</a><br clear=3D"none">=0A=
<br clear=3D"none"></div></blockquote></div></div></div><div class=3D"ecxyi=
v1274135594yqt0700155052" id=3D"ecxyiv1274135594yqtfd70795">=0A=
<br clear=3D"none">_______________________________________________<br clear=
=3D"none">=0A=
Mailing list: <a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" href=3D"=
https://launchpad.net/~dhis2-devs">https://launchpad.net/~dhis2-devs</a><br=
clear=3D"none">=0A=
Post to &nbsp=3B &nbsp=3B : <a rel=3D"nofollow" shape=3D"rect" target=3D"_b=
lank" href=3D"mailto:dhis2-devs@lists.launchpad.net">dhis2-devs@lists.launc=
hpad.net</a><br clear=3D"none">=0A=
Unsubscribe : <a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" href=3D"=
https://launchpad.net/~dhis2-devs">https://launchpad.net/~dhis2-devs</a><br=
clear=3D"none">=0A=
More help &nbsp=3B : <a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" h=
ref=3D"https://help.launchpad.net/ListHelp">https://help.launchpad.net/List=
Help</a><br clear=3D"none">=0A=
<br clear=3D"none"></div></blockquote></div><div class=3D"ecxyiv1274135594y=
qt0700155052" id=3D"ecxyiv1274135594yqtfd57840"><br clear=3D"none"></div></=

</div></div></div><br><br></div> </div> </div> </div> </div><br>_____=

__________________________________________=0A=
Mailing list: https://launchpad.net/~dhis2-devs=0A=
Post to : dhis2-devs@lists.launchpad.net=0A=
Unsubscribe : https://launchpad.net/~dhis2-devs=0A=
More help : https://help.launchpad.net/ListHelp</div> </div></=

</html>=

--_3ea1422f-d75f-40aa-a54e-fb92c17fb3cf_--

···

On Monday=2C 4 November 2013 10:21 PM=2C Murod Latifov <mlatifov@gmail= .com> wrote:
To: sunbiz@gmail.comCC: dhis2-devs@lists.launchpad.netIt's just for conveni=
To: sunbiz@gmail.comCC: dhis2-devs@lists.launchpad.net=0A=
To: <a rel=3D"nofollow" shape=3D"rect" target=3D"_blank" href=3D"mailto:sun=
To: <a href=3D"http://" rel=3D"nofollow" shape=3D"rect" target=3D"_blank">s=