Update Predefined Response

This API partially or completely updates the predefined response. It can update any specific predefined response as per the given input parameter.

Note
  • Any field updated in the request replaces the existing values stored in the database.

  • The changeStamp provided by the server should not be altered by the clients, and must be sent in the UPDATE request with other fields to be updated.

URL:

https://<ServerIP>:<Port>/ccp-webapp/ccp/predefinedResponse/<id>

HTTPS method:

PUT

Example XML request payload:
<response>
  <title>A summary of the response</title>
  <changeStamp>3</changeStamp>
  <text>The text of the response.</text>
  <contentType>text/plain</contentType>
  <groups>
    <group>group 1</group>
    <group>group 2</group>
    <group>group 3</group>
  </groups>
</response>
<response>
  <title>A summary of the response</title>
  <changeStamp>3</changeStamp>
  <text>The text of the response.</text>
</response>

HTTPS response headers:

200 OK

400 Bad request

For more information, see HTTPS responses.