Mengkueri detail batch lisensi interaksi real-time AI berdasarkan kondisi yang ditentukan.
Deskripsi operasi
Deskripsi permintaan
Operasi ini memungkinkan Anda untuk mendapatkan daftar batch lisensi untuk layanan interaksi real-time AI berdasarkan kondisi filter yang berbeda seperti ID batch, status, dan tipe.
Parameter
NeedTotalCountdiatur ketruesecara default, yang menunjukkan bahwa respons berisi jumlah total catatan yang memenuhi kondisi. Jika jumlah total tidak diperlukan, atur parameter ini kefalse.Jika tidak ada kondisi filter yang ditentukan, informasi tentang semua batch lisensi dikembalikan secara default.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| LicenseItemId |
string |
No |
ID batch. |
17712*** |
| Status |
integer |
No |
Status:
|
1 |
| Type |
integer |
No |
Tipe:
|
1 |
| PageNo |
integer |
No |
Nomor halaman. |
1 |
| PageSize |
integer |
No |
Ukuran halaman. |
10 |
| NeedTotalCount |
boolean |
No |
Menentukan apakah jumlah total diperlukan. Nilai default: |
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
7B117AF5-2A16-412C-B127-FA6175ED1*** |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. |
true |
| Code |
string |
Kode error. |
Success |
| Message |
string |
Pesan error. |
OK |
| HttpStatusCode |
integer |
Kode status HTTP. |
httpStatusCode |
| LicenseInfoList |
array |
Data respons. |
|
| AiRtcLicenseInfoDTO |
Data respons. |
||
| TotalCount |
integer |
Jumlah total. |
100 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "7B117AF5-2A16-412C-B127-FA6175ED1***",
"Success": true,
"Code": "Success",
"Message": "OK",
"HttpStatusCode": 0,
"LicenseInfoList": [
{
"CreationTime": "2020-12-23T13:33:49Z",
"ModificationTime": "2020-12-23T13:33:49Z",
"Type": 1,
"LicenseItemId": "17712***",
"Status": 1,
"ValidDays": 365,
"ExpiredOn": "2021-12-23T13:33:49Z",
"BeginOn": "2020-12-23T13:33:49Z",
"LicenseCount": 10000,
"AvailableCapacity": 10000000,
"InstanceId": "ice_CoverAILicense_public_cn***",
"ContractNo": "258396267390***"
}
],
"TotalCount": 100
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.