ListHotlineRecord
Invoke ListHotlineRecord to query the hotline recording list by hotline session ID.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Unique customer request ID. Used for idempotency validation. You can generate it using UUID. |
46c1341e-2648-447a-9b11-70b6a298d94d |
| InstanceId |
string |
Yes |
AICCS instance ID. You can obtain it from the Artificial Intelligence Cloud Call Service console. |
ccc_xp_pre-cn-*** |
| CallId |
string |
Yes |
Session ID. This corresponds to the acid in WebSocket after an inbound call. |
100365558 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
result |
||
| Message |
string |
Description of the status code. |
xxxx |
| RequestId |
string |
Request ID. |
EE338D98-9BD3-4413-B165 |
| Data |
array<object> |
Hotline session information. |
|
|
object |
Hotline session recording information. |
||
| ConnectionId |
string |
Connection ID. |
100365548 |
| EndTime |
integer |
Recording end UNIX timestamp. Unit: milliseconds. |
16128694810 |
| CallId |
string |
Session ID. This corresponds to the acid in WebSocket after an inbound call. |
100365558 |
| StartTime |
integer |
Recording start UNIX timestamp. Unit: milliseconds. |
16128694110 |
| Url |
string |
Recording file URL. |
http://aliccrec-shvpc.oss-cn-shanghai.aliyuncs.com |
| Code |
string |
Status code. A return value of Success indicates that the request succeeded. |
Success |
| Success |
boolean |
Whether the API call succeeded. |
true |
Examples
Success response
JSON format
{
"Message": "xxxx",
"RequestId": "EE338D98-9BD3-4413-B165",
"Data": [
{
"ConnectionId": "100365548",
"EndTime": 16128694810,
"CallId": "100365558",
"StartTime": 16128694110,
"Url": "http://aliccrec-shvpc.oss-cn-shanghai.aliyuncs.com"
}
],
"Code": "Success",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | NoTenantFound | The specified tenant does not exist. | |
| 500 | SystemError | A system error occurred. Please contact the administrator. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.