Hi,
I'm trying to create automatically data element groups and group sets by using the API and Pentaho data integration. I had created data element groups (empty groups) successfully. Then, I had tried to created a group set and associate the corresponding groups by using the "items" property of data elements group sets. The group sets had also been created, however, the corresponding groups are not associated. Following, I have pasted a small json that I'm using to reproduce the problem:

{"dataElementGroupSets":[{"name":"Laboratory 3","items":[{"name":"MALARIA TESTING","id":"BIVjmofP0E4"}]}]}

"MALARIA TESTING" is a data element group created before and "Laboratory 3" is the group set.  As I said, everything is created, however   "MALARIA TESTING" is not linked to "Laboratory 3" 

Is this correct way to procedure? Is it possible to create this relations with the API?

Thanks in advance,
Octavio.

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to