建立 Flow。
介面說明
此介面的單一使用者 QPS 限制為每秒 5 次。超過限制時,API 呼叫將會被限流,這可能會影響您的業務,請合理呼叫。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
cams:CreateFlow |
create |
*All Resource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| FlowName |
string |
是 |
Flow 名稱。 |
flow-001 |
| Categories |
array |
是 |
目錄。 |
|
|
string |
否 |
類別資訊。 枚舉值:
|
SIGN_UP |
|
| CustSpaceId |
string |
否 |
ISV 子客戶的 SpaceId。 |
cams-alk21lk3j2k3lj |
|
否 |
The URL of the WA Flow Endpoint |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| AccessDeniedDetail |
string |
存取被拒絕詳細資訊。 |
|
| RequestId |
string |
請求 ID。 |
90E63D28-E31D-1EB2-8939-A9486641**** |
| Message |
string |
錯誤描述資訊。 |
None |
| Data |
object |
返回資料。 |
|
| FlowId |
string |
Flow ID。 |
333993838*** |
| Categories |
array |
目錄清單。 |
|
|
string |
Flow 目錄資訊。 |
SIGN_UP |
|
| FlowName |
string |
Flow 名稱。 |
test1 |
| Code |
string |
結果返回 OK 為正常。 |
OK |
樣本
正常返回樣本
JSON格式
{
"AccessDeniedDetail": "",
"RequestId": "90E63D28-E31D-1EB2-8939-A9486641****",
"Message": "None",
"Data": {
"FlowId": "333993838***",
"Categories": [
"SIGN_UP"
],
"FlowName": "test1"
},
"Code": "OK"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 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. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。