Update Submission

View as Markdown
Validation rules: - notes: sometimes|nullable|string - answers: sometimes|array - answers.*.field_id: required_with:answers (UUID or numeric) - answers.*.value: nullable - answers.*.file_references: nullable|array - amendment_reason: nullable|string|max:1000 (required by service when amending submitted forms)

Headers

{{tenant_key_name}}stringOptional

Request

This endpoint expects a multipart form.
amendment_reasonstringRequired

Optional normally; required when amending submitted/amended submissions. string, max:1000

answers[0][value]stringRequired

Optional: mixed|null - Field value

answers[0][field_id]stringRequired
UUID of the form field

Response

Successful response