Updates existing Predefined Content items for a specific account.

Request

Method URL
PUT https://{domain}/api/account/{accountId}/configuration/engagement-window/canned-responses/

Path Parameters

Parameter Description Type Notes
accountId LP site ID string Validation fail error code: 400

Query Parameters

Name Description Type Required Notes
v API version Double Required Default value: 2.0 Validation fail error code: 400
select Dynamic selection of the response fields. YOGA 'gdata' dialect. Optional Validation error: 400 Non-existing field: no error, blank in response Supported fields: any in response body
fields List of required fields Comma delimited list of strings Optional Validation fail error code: 400 Non existing field error code: 400 Supported fields:
• enabled
• data
• categoriesIds
• hot-key
• type
field_set Predefined set of fields Comma delimited list of strings Optional Default: summary Validation fail error code: 400 Non existing field error code: 400 Supported field_set values:
• all(id, deleted, enabled, data, categoriesIds, type, hot-key)
• summary(id, deleted, enabled, categoriesIds, type, hot-key)
lang List of requested content languages Comma delimited list of language IDs (en-US, …) Optional Default: all languages

Request Headers

Header Description Notes
Authorization Contains token string to allow request authentication and authorization.  
X-HTTP-Method-Override=PUT Overrides unsupported HTTP methods. To be used with the PUT value.
If-Match This parameter allows you to specify a version of the data object to retrieve. If this parameter is not specified, the latest version of the data object is retrieved.. Allows optimization of backend, networking and client resource utilization.

Request Body

JSON array of valid Predefined Content objects.

Response

Response Codes

Code Description
200 OK
401 Not Authenticated
403 Not Authorized
404 Data Not Found
500 Internal Server Error

Response Headers

Header Description
ac-revision This parameter specifies the version of the data object retrieved. You can use the If-Match parameter in the request to retrieve a specifc version using this parameter's value..

Response Body

Updated Predefined Content JSON.