Re: [Dhis2-devs] Adding new OU via Web API

2014-06-26 Thread Lars Helge Ă˜verland
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 wrote: > Hi Guys > > I'm working on an (web-api driven) Javascript app which sho

[Dhis2-devs] Adding new OU via Web API

2014-06-23 Thread Farai Mutero
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