Mengkueri semua nomor telepon yang digunakan untuk mengirim Paket dan statusnya untuk pelanggan.
Deskripsi operasi
This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:QueryChatappPhoneNumbers |
list |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| IsvCode |
string |
No |
Kode verifikasi Independent Software Vendor (ISV). Kode ini digunakan untuk memverifikasi apakah pengguna telah diotorisasi oleh ISV. |
aksik93kdkkxmwol9**** |
| CustSpaceId |
string |
No |
ID Space sub-pelanggan ISV. |
29348393884**** |
| Status |
string |
No |
Status nomor telepon. |
VERIFIED |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| Code |
string |
The request status code.
|
OK |
| Message |
string |
The returned message. |
SUCCESS |
| PhoneNumbers |
array<object> |
The list of phone numbers. |
|
|
object |
The data structure. |
||
| UpQueue |
string |
The queue for mobile originated messages. |
Alicom-Queue-****-ChatAppInbound |
| PhoneNumber |
string |
The phone number. |
861380000**** |
| StatusQueue |
string |
The queue for delivery receipts of mobile terminated messages. |
Alicom-Queue-****-ChatAppStatus |
| VerifiedName |
string |
The name used for the request. |
Alibaba |
| StatusCallbackUrl |
string |
The callback URL for delivery receipts. |
https://ali.com/status |
| UpCallbackUrl |
string |
The callback URL for mobile originated messages. |
https://ali.com/inbound |
| QualityRating |
string |
The quality rating of the phone number. Valid values:
|
GREEN |
| Status |
string |
The status of the phone number. Valid values:
|
CONNECTED |
| CodeVerificationStatus |
string |
The verification status of the phone number. Valid values:
|
VERIFIED |
| NameStatus |
string |
The status of the name. |
Approval |
| MessagingLimitTier |
string |
The messaging limit tier of the phone number. Valid values:
|
TIER_10K |
| NewNameStatus |
string |
The review status of the new name. |
Approval |
| AccessDeniedDetail |
string |
Details about the access denial. |
None |
Contoh
Respons sukses
JSONformat
{
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
"Code": "OK",
"Message": "SUCCESS",
"PhoneNumbers": [
{
"UpQueue": "Alicom-Queue-****-ChatAppInbound",
"PhoneNumber": "861380000****",
"StatusQueue": "Alicom-Queue-****-ChatAppStatus",
"VerifiedName": "Alibaba",
"StatusCallbackUrl": "https://ali.com/status",
"UpCallbackUrl": "https://ali.com/inbound",
"QualityRating": "GREEN",
"Status": "CONNECTED",
"CodeVerificationStatus": "VERIFIED",
"NameStatus": "Approval",
"MessagingLimitTier": "TIER_10K",
"NewNameStatus": "Approval"
}
],
"AccessDeniedDetail": "None"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Product.Unsubscript | You have not subscribed to the specified product. | |
| 400 | Ram.PermissionDeny | You are not authorized to perform the operation. | |
| 400 | System.LimitControl | The system is under flow control. | |
| 400 | Unknown.ResourceOwnerId | The resource does not belong to the current user. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.