Re: [Dhis2-users] Assign dataSets by using the Web API

2014-11-04 Thread Octavio GLORIO
Hi Morten, Here you have:Nov 04, 2014 11:03:53 AM org.apache.catalina.core.StandardWrapperValve invokeSEVERE: Servlet.service() for servlet [webapi] in context with path [/dhis216] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root causejava.la

Re: [Dhis2-users] Assign dataSets by using the Web API

2014-11-04 Thread Morten Olav Hansen
Hi, Can you provide the full stack trace? -- Morten On Tue, Nov 4, 2014 at 5:16 PM, Octavio GLORIO < octavio.glo...@barcelona.msf.org> wrote: > Hi all there, > I am facing a problem while trying to create an orgUnit and assign a > dataSet. > Specifically, I have tried two options: > >- Assi

[Dhis2-users] Assign dataSets by using the Web API

2014-11-04 Thread Octavio GLORIO
Hi all there,I am facing a problem while trying to create an orgUnit and assign a dataSet. Specifically, I have tried two options:Assign the dataSet while creating the orgUnit, here some sample json:  {"organisationUnits":[{"name":"Hospitalization Ward112","shortName":"Hospitalization Ward112","lev