Surveys
Create Survey
Create a new Survey record.
POST
Create Survey
A Survey defines a questionnaire that can be delivered to customers on a schedule or triggered by specific events. Surveys support configurable delivery frequency and can target specific customer segments.
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 Survey-Create role.Enums
eSurveyDeliveryFrequency — DeliveryFrequency values
eSurveyDeliveryFrequency — DeliveryFrequency values
| Value | Name |
|---|---|
| 1 | Weeks |
| 2 | Months |
| 3 | Years |
Request Body
Required Fields
ID of the business linked to this record.
The name value for this survey.
Free-text description of this survey.
Date/time value for next delivery date.
The delivery rate value for this survey.
The delivery frequency value for this survey.
The delivery rate maximum value for this survey.
The delivery frequency maximum value for this survey.
Optional Fields
Whether this survey is currently active.
Date/time value for start date.
Whether only for contacts is enabled.
Whether only for members is enabled.
List of tariffs linked to this record.
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 survey 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 Survey