← Back to team overview

dhis2-devs team mailing list archive

Re: Dataset allocation via API



Yes, this is possible.. are you assigning to just one, or to multiple org

If you are just assigning a data set to an org unit, maybe just using the
collection API is the simplest choice? [1]

If not, you should get the full data set payload, update the org unit
list.. and then PUT it back to the server.


Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo

On Fri, Sep 9, 2016 at 12:50 PM, Gichangi John <gichangijohn3@xxxxxxxxx>

> HI Team
> Is it possible to allocate datasets to organization units using the API.
> Regards
> _______________________________________________
> 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

Follow ups