FormPageQuestions
Create FormPageQuestion
Create a new FormPageQuestion record.
POST
Create FormPageQuestion
A FormPageQuestion defines a single question within a form page, including its type (text, boolean, dropdown, etc.), label, validation rules, and display order.
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 FormPageQuestion-Create 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
ID of the form page linked to this record.
The text value for this form page question.
Free-text description of this form page question.
The display order value for this form page question.
The question type value for this form page question.
Optional Fields
The available options value for this form page question.
Whether this form page question is currently active.
Whether allow multiple options is enabled.
Whether is required is enabled.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the creation.
Contains the
Id of the newly created record.true if the formpagequestion was created 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
Create FormPageQuestion