Retrieves a list of Real-time Conversational AI authentication codes and their status for a specified batch.
Operation description
Usage notes
-
Retrieves authorization codes for a specific batch ID, with optional filtering by status and type.
-
Pagination is supported via the
PageNoandPageSizeparameters. -
By default,
NeedTotalCountis set totrue, so the response includes the total count of matching records. -
LicenseItemIdis required and 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 |
Whether to include the total count of records in the response. Default value: |
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 |
The list of authorization codes. |
|
| 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.