Re: [Dhis2-devs] Creating Data Elements using the API

2014-08-25 Thread Bob Jolliffe
Hi Greg It is. At least when posting through the metadata endpoint I can verify that uids are preserved. Bob On 25 August 2014 13:38, Greg Rowles wrote: > Hi Everyone > > On a similar note, is it possible to purposely set the UID value for a > particular element/indicator/orgunit using the w

Re: [Dhis2-devs] Creating Data Elements using the API

2014-08-25 Thread Greg Rowles
Hi Everyone On a similar note, is it possible to purposely set the UID value for a particular element/indicator/orgunit using the web API? Regards, Greg On Mon, Aug 25, 2014 at 1:57 PM, James Muranga wrote: > Thanks Morten , the schemas endpoint is what we were looking for . > We can view the

Re: [Dhis2-devs] Creating Data Elements using the API

2014-08-25 Thread James Muranga
Thanks Morten , the schemas endpoint is what we were looking for . We can view the options for enum from the dhis2 web interface for now . Thanks On Mon, Aug 25, 2014 at 2:48 PM, Morten Olav Hansen wrote: > Hi James > > We have a schema-generator at /api/schemas/type > (/api/schemas/dataElement

Re: [Dhis2-devs] Creating Data Elements using the API

2014-08-25 Thread Morten Olav Hansen
Hi James We have a schema-generator at /api/schemas/type (/api/schemas/dataElement), sadly this is not done yet, as possible options for enums etc are not listed. The only real solution to this today, is to create a few data-elements that has the options you want to import, then go to /api/dataEl