dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #31176
Re: Adding new OU via Web API
Hi Farai,
what you can do it to first retrieve the org unit from the api as JSON,
then modify the JSON object and finally post it back to the web api.
regards,
Lars
On Mon, Jun 23, 2014 at 4:01 PM, Farai Mutero <fmutero@xxxxxxxxx> wrote:
> Hi Guys
>
> I'm working on an (web-api driven) Javascript app which should perform the
> following tasks:
>
> 1) Clone an existing OrgUnit
> 2) Create a new OU based on the cloned one, so as to automatically inherit
> important shared attributes like OU parent, organisationUnitGroups and
> dataSets.
>
> How do I go about it or can someone please point me to the right
> documention.
>
> N.B: I have the option of setting up a Curl driven server-based web
> service to facilitate the development of this functionality.
>
> Regards
>
> --
> Farai Mutero
>
>
> _______________________________________________
> 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
>
>
References