← Back to team overview

dhis2-users team mailing list archive

Re: Is there an Easier way of Navigating the Api ?

 

No need to read through the entire manual - just search ;-)

Google this:

https://www.google.no/search?q=dhis2+webapi+search&oq=dhis2+webapi+search


On Tue, Jul 23, 2013 at 11:43 AM, David Muturi <dnmuturi@xxxxxxxxx> wrote:

> Thanks Knut,
> I used the pivot table to run a report on the facility then obtained the
> UID which I then added to the url i.e.
> http://test.hiskenya.org/api/organisationUnits/[UID], I have not read
> through the entire manual but I am very grateful for the quick feedback. I
> will certainly use the search feature on the URL. I was wondering why it
> was not part of the UI.
> rgds
> David Muturi
>
>
> 2013/7/23 Knut Staring <knutst@xxxxxxxxx>
>
>> Yes inded, and fortunately this is already part of the API, as mentioned
>> in the manual (section 25.4).
>>
>> You can for example do things like this:
>> api/organisationUnits/search/bc%20Bas-Congo%20Province
>>
>>
>> On Tue, Jul 23, 2013 at 11:26 AM, David Muturi <dnmuturi@xxxxxxxxx>wrote:
>>
>>> Hi All,
>>>
>>> Is there an easier way of navigating the API? I wanted to pull out some
>>> org unit only to realize I had 228 pages for the org units and the only
>>> navigation was the previous and next buttons. A search feature would be a
>>> useful addition.
>>>
>>> rgd
>>> David
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> Knut Staring
>> Dept. of Informatics, University of Oslo
>> +4791880522
>> http://dhis2.org
>>
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org

References