SurveyQuestions
Update SurveyQuestion
Update an existing SurveyQuestion record.
PUT
Update SurveyQuestion
Updates an existing SurveyQuestion record. You must include the
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the SurveyQuestion-Edit role.Enums
eQuestionType — QuestionType values
eQuestionType — QuestionType values
| Value | Name |
|---|---|
| 1 | Text |
| 2 | Boolean |
| 3 | LongText |
| 4 | Date |
| 5 | Dropdown |
| 6 | Binary |
Request Body
Required Fields
The Id of the SurveyQuestion record to update.
ID of the survey linked to this record.
The text value for this survey question.
Free-text description of this survey question.
The display order value for this survey question.
The question type value for this survey question.
Optional Fields
The available options value for this survey question.
Whether this survey question is currently active.
Whether allow multiple options is enabled.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the update.
Contains the
Id of the updated record.true if the surveyquestion was updated successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Update SurveyQuestion