Surveys
Update Survey
Update an existing Survey record.
PUT
Update Survey
Updates an existing Survey 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 Survey-Edit role.Enums
eSurveyDeliveryFrequency — DeliveryFrequency values
eSurveyDeliveryFrequency — DeliveryFrequency values
| Value | Name |
|---|---|
| 1 | Weeks |
| 2 | Months |
| 3 | Years |
Request Body
Required Fields
The Id of the Survey record to update.
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.
The added tariffs value for this survey.
The removed tariffs value for this survey.
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 survey 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 Survey