← Back to team overview

dhis2-devs team mailing list archive

Single Event Without Registration Update

 

Hi,

For updating data for Single Event Without Registration (doc section 25.7),
I am getting errors.  By any chance, has this been fixed in newer version?

I am using
Version: 2.13-SNAPSHOT
Build revision: 10926

When I tried updating the values with below info:  (refer
Update_Post_Request.jgp)url -->  http://localhost:8081/api/events/XuzCJ0dzq6
 content:{ "program": "m24Z0694qQH", "orgUnit": "qkn1mKNR8XP", "eventDate":
"2013-08-01", "completed": false, "storedBy": "admin", "dataValues": [{
"dataElement": "N5jJ5SxRuR4", "value": "46" }] }

I get an error output with: (refer Error.jpg)Request method 'POST' not
supportedThe specified HTTP method is not allowed for the requested
resource.

When I try the initial add with same content, it works fine.  But updating
the event data seems to not work.

Attachment: Error.jpg
Description: JPEG image

Attachment: Update_Post_Request.jpg
Description: JPEG image


Follow ups