← Back to team overview

dhis2-users team mailing list archive

Re: Accessing Program Instances in the Web API

 

Hi Simen,

I think we call Program Instances for "Enrollments" in the api.

https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s34.html#d5e3563

Ola
--------

----------------------------------
Ola Hodne Titlestad (Mr)
HISP
Department of Informatics
University of Oslo

Mobile: +47 48069736
Home address: Eftasåsen 68, 0687 Oslo, Norway. Googlemaps link
<https://maps.google.com/maps?q=Eftas%C3%A5sen+68,+0687+Oslo,+Norge&hl=en&ie=UTF8&sll=59.893855,10.785116&sspn=0.222842,0.585709&oq=eftas%C3%A5sen+68,+0687+Oslo,+&t=h&hnear=Eftas%C3%A5sen+68,+%C3%98stensj%C3%B8,+0687+Oslo,+Norway&z=16>

On 6 November 2014 18:24, Simen Skogly Russnes <simen_russnes@xxxxxxxxxxx>
wrote:

> Hi all,
>
> I'm trying to access Program Instances for Tracked Entity Instances using
> the WebAPI because I'm enrolling to stages in a mobile client, and I need
> to set duedate for which I need the registration date of the Program
> Instance. I couldn't find it browsing the api, and I couldn't find it in
> api/events, although I can easily find the Program Stage Instances. Is it
> possible to access it somehow? Perhaps I'm just not seeing it. A list of
> all Program Instances would be good for bulk loading, and for a single
> Tracked Entity Instance on demand but I don't know what's possible.
>
> Regards,
> Simen
>
> _______________________________________________
> 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
>
>

References