Trigger a CDR Leg Summary
Regenerates the AI summary of a call leg with the specified summary template.
Request URL
POST {base_url}/uc-creport/api/v1/cdr/calltranscription/leg/trigger-summary
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 regenerated. You can obtain the leg ID using the Get a CDR interface. templateId No String The ID of the summary template used to regenerate the summary.
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<Trigger_Result> | The result of the request. |
- Trigger_Result
-
Parameter Type Description status String The acceptance status of the request:
ACCEPTED: The summary generation task is accepted and runs asynchronously.REJECTED: The request is rejected.
rejectReason String The reason why the request is rejected. This parameter is returned only when status is REJECTED.taskId String The ID of the asynchronous summary generation task. This parameter is returned only when status is ACCEPTED.