Membuat Flow.
Deskripsi operasi
API China Message Service (SMS Tiongkok) memiliki batas QPS per pengguna tunggal sebesar 5 panggilan per detik. Jika batas ini terlampaui, panggilan API akan dibatasi (throttled), yang dapat memengaruhi bisnis Anda. Panggil operasi ini dengan tepat.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:CreateFlow |
create |
*Semua sumber daya.
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| FlowName |
string |
Yes |
Nama Flow. |
flow-001 |
| Categories |
array |
Yes |
Kategori. |
|
|
string |
No |
Informasi kategori. Valid values:
|
SIGN_UP |
|
| CustSpaceId |
string |
No |
ID ruang pelanggan sub-ISV. |
cams-alk21lk3j2k3lj |
|
No |
URL Titik akhir WA Flow. |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
Detail penolakan akses. |
|
| RequestId |
string |
ID permintaan. |
90E63D28-E31D-1EB2-8939-A9486641**** |
| Message |
string |
Paket error. |
None |
| Data |
object |
Data yang dikembalikan. |
|
| FlowId |
string |
ID Flow. |
333993838*** |
| Categories |
array |
Daftar kategori. |
|
|
string |
Informasi kategori Flow. |
SIGN_UP |
|
| FlowName |
string |
Nama Flow. |
test1 |
| Code |
string |
Kode tanggapan. OK menunjukkan keberhasilan. |
OK |
Contoh
Respons sukses
JSONformat
{
"AccessDeniedDetail": "",
"RequestId": "90E63D28-E31D-1EB2-8939-A9486641****",
"Message": "None",
"Data": {
"FlowId": "333993838***",
"Categories": [
"SIGN_UP"
],
"FlowName": "test1"
},
"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.