Update a Platform CDR Leg Summary
Updates the AI-generated summary of a call leg of a platform CDR.
Request URL
POST {base_url}/uc-creport/api/v1/platform/cdr/calltranscription/leg/updatesummary
Request parameters
- Headers
-
Parameter Required Type Description Authorization Yes String The access token used for authentication. Format: Bearer
{access_token}.x-tenant-code Yes String The tenant name. Note: You can obtain tenant name using the Query Tenants interface.
- Body parameters
-
Parameter Required Type Description legId Yes String The ID of the CDR leg record whose summary is updated. You can obtain the leg ID using the Get a Platform CDR interface. content No String The updated summary content. version No String The optimistic-lock version of the summary. You can obtain the version using the Get a Platform CDR Summary interface.
Response parameters
| Parameter | Type | Description |
|---|---|---|
| requestId | String | The unique ID of the request, which can be used to quickly locate the request. |
| code | String | The HTTP status code of the request.
|
| message | String | The status message of the request. |
| detailMessage | String | The detailed error information. When the request is successful, this parameter returns empty. |
| result | Object<Update_Result> | The result of the request. |
- Update_Result
-
Parameter Type Description summary Object<Platform_CDR_Summary_Info> The updated summary of the call leg.
- Platform_CDR_Summary_Info
-
Parameter Type Description id Integer The ID of the summary. summary String The summary content. createdAt String The time when the summary was created, in Unix timestamp format. updatedAt String The time when the summary was last updated, in Unix timestamp format. templateId String The ID of the summary template used to generate the summary. status String The generation status of the summary:
NOT_GENERATED: The summary is not generated.PENDING: The summary waits to be generated (leg level).PENDING_SEGMENTS: The call segments wait to be ready (call level).GENERATING: The summary is being generated.COMPLETED: The summary is generated.PARTIAL_COMPLETED: The summary is partially generated after a timeout (call level).FAILED: The generation failed.
version String The optimistic-lock version of the summary. You must pass this value when you update the summary. manuallyEdited Boolean Whether the summary has been manually edited.
true: The summary has been manually edited.false: The summary has not been manually edited.