Is it on the roadmap to allow updating submission data via the API. Currently all the available solutions seem to be writing custom code into the site and we don't want to do that. An example of this would be a Status on a submission that is updated programmatically. Just curious if/where this sits in the roadmap.

Comments

gbrewer created an issue. See original summary.

imclean’s picture

Priority: Major » Normal

I can see how this would be useful, along with the ability to delete submissions.

This could be achieved by adding PATCH and DELETE to the current GET endpoint: /webform_rest/{webform_id}/submission/{sid}?_format=json

imclean’s picture

Version: 8.x-2.0-beta1 » 8.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new2.81 KB

Here's a very quick implementation.

  • imclean committed 1ec521c on 8.x-2.x
    Issue #3004350 by imclean: Ability to Update Submission Data via API
    
imclean’s picture

Status: Needs review » Fixed

Committed to dev.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.