Mengambil kode verifikasi untuk nomor telepon migrasi.
Deskripsi operasi
API China Message Service memiliki batas QPS per pengguna tunggal sebesar 10 panggilan per detik. Jika batas ini terlampaui, pembatasan kecepatan akan diaktifkan, yang dapat memengaruhi bisnis Anda. Sesuaikan frekuensi panggilan Anda.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:GetMigrationVerifyCode |
get |
*Semua sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CustSpaceId |
string |
Yes |
ID ruang pelanggan bawahan ISV. |
29348393884**** |
| PhoneNumber |
string |
Yes |
Nomor telepon. |
861380000**** |
| Locale |
string |
Yes |
Bahasa. |
zh_CN |
| Method |
string |
Yes |
Metode pengiriman kode verifikasi. Valid values:
|
sms |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| AccessDeniedDetail |
string |
Detail penolakan akses. |
None |
| RequestId |
string |
ID permintaan. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| Message |
string |
Paket error. |
None |
| Data |
object |
Data yang dikembalikan. |
|
| PhoneNumber |
string |
Nomor telepon. |
861380000**** |
| Id |
string |
ID nomor telepon. |
8282889**** |
| Code |
string |
Kode status permintaan.
|
OK |
Contoh
Respons sukses
JSONformat
{
"AccessDeniedDetail": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
"Message": "None",
"Data": {
"PhoneNumber": "861380000****",
"Id": "8282889****"
},
"Code": "OK"
}
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.