feedbackFormDefinition.updateForm

Adds, updates, moves, and removes the sections and fields of a feedback form. To rename the form, use feedbackFormDefinition.update.

Shared forms require permission to manage shared feedback forms. A form specific to an interview requires permission to edit that interview. A form specific to an activity requires permission to edit the activity's job.

Edits are applied in the order given and saved together. If any edit fails, none are saved.

Identifying sections and fields

Sections are identified by their zero-based index in the form. Because edits apply in order, an index refers to the layout left by the earlier edits in the request. For example, after inserting a section at position 0, the section that was first has index 1.

Fields are identified by their field.path, as returned by feedbackFormDefinition.info. A field added by this request cannot be changed by a later edit in the same request.

What can be changed

Each field in the form reports which changes it supports through editableProperties, removable, and replaceable. An edit that would break another field's visibility condition is rejected.

Submitted feedback keeps its answers when a field is updated or moved. Replacing a field creates a new field, which starts without answers.

Concurrent changes

If someone else changes the form while your request is being processed, the request fails with the error code feedback_form_definition_conflict and nothing is saved. Fetch the form again and rebuild your edits before retrying, because section indexes and positions may have changed.

Requires the feedbackFormDefinitionsWrite permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
uuid
required
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

The ID of the feedback form to change.

edits
array
required
length between 1 and 100

The edits to make, applied in order.

edits*
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json