← Back to team overview

dhis2-devs team mailing list archive

Re: Web API Module

 

Thank you @Morten. I now fully understand the spirit of the Web module API.
But I suggest that if possible to integrate  to superior versions the
web service that lists the users logged into the system. this is very good
for the administrator does not need to go on the computer to know the
people who use the system.
Regards,


2013/12/2 Morten Olav Hansen <mortenoh@xxxxxxxxx>

> What exactly are you trying to do Riddy? Its true that we don't support
> writing for all our endpoints, not yet at least. We do support writes for
> dataValues etc, so that creating a data entry client for Android should be
> very doable (and it has been done for event based data already).
>
> If you are trying to creating a client for all of dhis2 functionality,
> that is not currently supported
>
> --
> Morten
>
>
> On Mon, Dec 2, 2013 at 2:56 PM, riddy ndoma <riddyndoma@xxxxxxxxx> wrote:
>
>> Thank you very much, but a small problem. DHIS2 only offers web services
>> for reading and not writing.
>>
>>
>> 2013/12/2 Lars Helge Øverland <larshelge@xxxxxxxxx>
>>
>>> All web api docs here:
>>>
>>> http://www.dhis2.org/doc/snapshot/en/user/html/ch25.html
>>>
>>>
>>> On Mon, Dec 2, 2013 at 2:35 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>wrote:
>>>
>>>> Hi Riddy,
>>>>
>>>> For creating an android client, I would look at the information here
>>>> [1].
>>>>
>>>> [1] http://www.dhis2.org/doc/snapshot/en/user/html/ch25s24.html
>>>>
>>>> --
>>>> Morten
>>>>
>>>>
>>>> On Mon, Dec 2, 2013 at 2:28 PM, riddy ndoma <riddyndoma@xxxxxxxxx>wrote:
>>>>
>>>>> Lars thank you for your involvement. I wanted to know if there are
>>>>> other web services but which are not directly visible in the Web module API
>>>>> (Help Menu> Web API). if so what are the urls?
>>>>>
>>>>>
>>>>> 2013/12/2 Lars Helge Øverland <larshelge@xxxxxxxxx>
>>>>>
>>>>>> Okay - at the moment we do not have a service for that, sorry.
>>>>>>
>>>>>> Lars
>>>>>>
>>>>>>
>>>>>> On Mon, Dec 2, 2013 at 1:31 PM, riddy ndoma <riddyndoma@xxxxxxxxx>wrote:
>>>>>>
>>>>>>> Hi @Lars,
>>>>>>> I have already an interface that displays a list of users now I'll
>>>>>>> make an interface that display users Currently logged, but I do not see in
>>>>>>> the API Web module, the url that exposes this service.
>>>>>>>
>>>>>>>
>>>>>>> 2013/12/2 Lars Helge Øverland <larshelge@xxxxxxxxx>
>>>>>>>
>>>>>>>> Hi Riddy,
>>>>>>>>
>>>>>>>> could you elaborate on what you mean with "connected users", ie. is
>>>>>>>> it users currently logged in or user accounts registered?
>>>>>>>>
>>>>>>>> JSON is typically the preferred representation format for Android
>>>>>>>> development. You can get all user accounts from the Web API in json like
>>>>>>>> this:
>>>>>>>>
>>>>>>>> http://apps.dhis2.org/demo/api/users.json?paging=false
>>>>>>>>
>>>>>>>>
>>>>>>>> Lars
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sat, Nov 30, 2013 at 1:51 PM, Jason Pickering <
>>>>>>>> jason.p.pickering@xxxxxxxxx> wrote:
>>>>>>>>
>>>>>>>>> Have you had a look at the existing Android client available in
>>>>>>>>> the Play Store? It is using the Web API which as detailed in the
>>>>>>>>> documentation.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Jason
>>>>>>>>>
>>>>>>>>> --Sent from my mobile
>>>>>>>>> On Nov 30, 2013 12:05 PM, "riddy ndoma" <riddyndoma@xxxxxxxxx>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hello dear developers,
>>>>>>>>>> I am trying to develop an Android mobile client for our DHIS2, I
>>>>>>>>>> wanted to know if DHIS2 offers a web service to find connected users to the
>>>>>>>>>> system. if so what is URL.
>>>>>>>>>>
>>>>>>>>>> Also whether DHIS2 to other web services which are not directly
>>>>>>>>>> visible by clicking on "Help >> Web API". What are their URLs?
>>>>>>>>>>
>>>>>>>>>> My android mobile client uses the web services like Rest / Json
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Riddy NDOMA
>>>>>>>>>> Software Developer
>>>>>>>>>> *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
>>>>>>>>>> *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
>>>>>>>>>> *Blog:* http://riddyndoma.blogspot.com/
>>>>>>>>>>
>>>>>>>>>> Vous servir est mon désire (Serving you is my desire)
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Riddy NDOMA
>>>>>>> Software Developer
>>>>>>> *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
>>>>>>> *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
>>>>>>> *Blog:* http://riddyndoma.blogspot.com/
>>>>>>>
>>>>>>> Vous servir est mon désire (Serving you is my desire)
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Riddy NDOMA
>>>>> Software Developer
>>>>> *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
>>>>> *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
>>>>> *Blog:* http://riddyndoma.blogspot.com/
>>>>>
>>>>> Vous servir est mon désire (Serving you is my desire)
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~dhis2-devs
>>>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> Riddy NDOMA
>> Software Developer
>> *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
>> *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
>> *Blog:* http://riddyndoma.blogspot.com/
>>
>> Vous servir est mon désire (Serving you is my desire)
>>
>
>


-- 
Riddy NDOMA
Software Developer
*Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
*Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
*Blog:* http://riddyndoma.blogspot.com/

Vous servir est mon désire (Serving you is my desire)

Follow ups

References