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
Request Body
Required Fields
ID of the location that owns this survey; the Admin Tool normally supplies it from the current location context.
UTC date and time when the next scheduled delivery is due; the system advances it by the delivery rate after a delivery.
Positive number of delivery-frequency units between scheduled deliveries; a value of zero prevents scheduled delivery.
Unit used by DeliveryRate and the delivery cap: Weeks, Months, or Years; defaults to Weeks.
Maximum number of DeliveryFrequency units after StartDate for scheduled deliveries; zero means no end date.
Legacy delivery-cap frequency setting; the delivery-cap calculation uses DeliveryFrequency, so manage the cap with DeliveryRateMaximum and DeliveryFrequency instead.
Optional Fields
Optional UTC date and time from which the delivery cap is measured; without it, the delivery cap does not apply.
Whether delivery is restricted to contacts without an active contract; when enabled with OnlyForMembers, both restrictions apply and no customer can qualify.
Whether delivery is restricted to members with an active contract; when Tariffs is non-empty, the contract must be on one of those plans.
List of plans eligible for member-only delivery; when OnlyForMembers is enabled, an empty list allows every member, otherwise the customer needs an active contract on one of these plans.
Code Examples
Response
200
Example Response
400
Example Response