Re: [Dhis2-users] API for Patch dataSet and dataelement

2018-04-28 Thread stepho...@gmail.com
Hi, try chanding the payload anf use dataSetElements instead of dataElements. Also ensure you are using POST if you are adding dataElements to datasets. Regards. Sent from my HTC - Reply message - From: "Jean Habib" To: "Stephen Ocaya" Cc: "DHIS 2 Users list" , "DHIS 2 Developers lis

Re: [Dhis2-users] API for Patch dataSet and dataelement

2018-04-28 Thread stepho...@gmail.com
Hi, try chanding the payload anf use dataSetElements instead of dataElements. Also ensure you are using POST if you are adding dataElements to datasets. Regards. Sent from my HTC - Reply message - From: "Jean Habib" To: "Stephen Ocaya" Cc: "DHIS 2 Users list" , "DHIS 2 Developers lis

Re: [Dhis2-users] API for Patch dataSet and dataelement

2018-04-27 Thread Jean Habib
HI Ocaya for your reply. But I got this error { "httpStatus": "Conflict", "httpStatusCode": 409, "status": "ERROR", "message": "Only identifiable object collections can be removed from." } What can be issue ? 2018-04-27 20:23 GMT+00:00 Stephen Ocaya : > Hi, You might want to look