Update an Annotation
Update an existing annotation. Use the search captured conversations request to find a list of annotations
associated with a specific conversation (you'll need to use groupFilter
to specify the conversation ID).
Endpoint
Method: PUT
URL: /annotation/{conversationId}
Path Parameter
Parameter Name | Data Type | Description | Required/Optional |
---|---|---|---|
| String | The ID of the conversation with the annotation to update. | Required |
Request Parameter
Parameter Name | Data Type | Description | Required/Optional |
---|---|---|---|
| String | The ID of the annotation to update. Use use the search captured conversations request to find a list of | Required |
| String | The annotation header to use for the annotation, this can be updated as part of this request, use the Get Annotation Headers request for a list of valid headers in your system. | Required |
| String | The new annotation text for the specified annotation, this will replace the existing annotation text so make sure to include everything you need. | Required |
| Number | How far along in the conversation to move the annotation to (in seconds). For Example, | Required |
| Number | When (date and time) the annotation was created, you can enter a new value to update this parameter if needed. This parameter will not automatically be updated with the time of the request but will be updated to the specified value in the request. | Required |
| String | The ID of the user that created the annotation, you can enter a new value to update this parameter if needed. This parameter will not be updated to the ID that updated the annotation but will be updated to the specified value in the request. | Required |
| String | Set to | Required |
For an example, see Sample Request.
Response and Error Code
Response Code | Condition |
---|---|
200 | OK |
Response Parameter
Parameter Name | Data Type | Description |
---|---|---|
| String | The ID of the updated annotation. |
| String | The annotation header used by the annotation. |
| String | The annotation text for the specified annotation, this has replaced the previous annotation text. |
| Number | How far along in the conversation the annotation is placed (in seconds). For example, |
| Number | The date and time specified in the request. Originally the |
| String | This ID specified in the request. Originally the |
| String | This is the product that the annotation feature belongs to (U-Capture) |
For an example, see Sample Response.
Sample Request
} "annotationId": "dca23ffc-af12-4074-8c27-8c85a66585ad", "header": "Example Header 2", "text": "New annotation Text", "timestamp": "2024-07-01T09:17:25.790125456Z", "participantId": "auth0|932gd3e6dfr32e7cfc2076359", "productType": "PRODUCT_TYPE_U_CAPTURE" }
Sample Response
{ "annotation": { "annotationId": "dca23ffc-af12-4074-8c27-8c85a66585ad", "header": "Example Header 2", "text": "New annotation Text", "timestamp": "2024-07-01T09:17:25.790125456Z", "participantId": "auth0|932gd3e6dfr32e7cfc2076359", "productType": "PRODUCT_TYPE_U_CAPTURE" } }