Retrieves a list of Real-time Conversational AI authentication codes and their status for a specified batch.
Operation description
Usage notes
This API retrieves a list of authorization codes for a specific batch ID. You can filter the results by status and type.
Pagination is supported via the
PageNoandPageSizeparameters.By default, the
NeedTotalCountparameter is set totrue, indicating that the response includes the total count of matching records.LicenseItemIdis a required parameter that specifies the batch to query.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetAiRtcAuthCodeList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| LicenseItemId |
string |
Yes |
The ID of the batch. |
17712*** |
| Status |
integer |
No |
The status of the authorization code. Valid values:
|
1 |
| Type |
integer |
No |
The type of license. Valid values:
|
1 |
| PageNo |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
10 |
| NeedTotalCount |
boolean |
No |
Specifies whether to include the total count of records in the response. Defaults to |
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
ApiResponse<CollectionResult> |
||
| RequestId |
string |
The request ID. |
7B117AF5-2A16-412C-B127-FA6175ED1*** |
| Success |
boolean |
Indicates whether the call was successful. |
true |
| Code |
string |
The error code. |
Success |
| Message |
string |
The error message. |
OK |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| AuthCodeList |
array |
An array of AiRtcAuthCodeDTO objects, each representing an authorization code. |
|
| AiRtcAuthCodeDTO |
An authorization code. |
||
| TotalCount |
integer |
The total number of entries returned. |
10 |
Examples
Success response
JSON format
{
"RequestId": "7B117AF5-2A16-412C-B127-FA6175ED1***",
"Success": true,
"Code": "Success",
"Message": "OK",
"HttpStatusCode": 200,
"AuthCodeList": [
{
"Status": 1,
"Type": 1,
"AuthCode": "iU1IeJech7***",
"ActivatedTime": "2024-01-01 06:57:43",
"DeviceId": "device-***",
"CreationTime": "2023-12-23T13:33:49Z",
"License": "a659a06659a***",
"ModificationTime": "2023-12-23T13:33:49Z",
"LicenseItemId": "11096067***"
}
],
"TotalCount": 10
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.