調(diào)用ListContactFlows獲取指定實例下的IVR聯(lián)系流列表。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權(quán)信息
當(dāng)前API暫無授權(quán)信息透出。
請求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
InstanceId | string | 是 | 實例 ID。 | ccc-test |
PageNumber | integer | 是 | 分頁序號,范圍 1-100。 | 1 |
PageSize | integer | 是 | 分頁大小,范圍 1-100。 | 10 |
Type | string | 否 | 按 IVR 流程類型過濾,非必填,默認(rèn)為空,為空表示不過濾。 枚舉值:
| MAIN_FLOW |
SortOrder | string | 否 | 排序方向。取值范圍:
| DESC |
OrderByField | string | 否 | 排序字段。 | updatedTime |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "無",
"RequestId": "EEEE671A-3E24-4A04-81E6-6C4F5B39DF75",
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 1,
"List": [
{
"Type": "MAIN_FLOW",
"Definition": "{\"activities\":[{\"type\":\"INCOMING_CALL\",\"id\":\"e98f0d47\",\"name\":\"開始\",\"properties\":{\"position\":{\"x\":263,\"y\":164}},\"events\":[{\"event\":\"complete\",\"next\":\"2d3ad2c2\",\"edgeId\":\"41f7dbd0\"}],\"nodeIndex\":0},{\"type\":\"HANGUP\",\"id\":\"bd4f37e2\",\"name\":\"掛機(jī)\",\"properties\":{\"position\":{\"x\":765,\"y\":185}},\"events\":[{\"event\":\"complete\",\"next\":null}],\"nodeIndex\":999},{\"type\":\"PLAY_SAY\",\"id\":\"2d3ad2c2\",\"name\":\"放音\",\"properties\":{\"say\":\"您好,歡迎來到阿里云呼叫中心。\",\"audioResourceId\":\"\",\"position\":{\"x\":485.5,\"y\":153.5},\"audioType\":\"tts\",\"audioInterrupt\":false},\"events\":[{\"event\":\"complete\",\"next\":\"bd4f37e2\",\"edgeId\":\"e1af4f1f\"}],\"nodeIndex\":1}],\"description\":\"\"}",
"DraftId": "db07c0bb-6b1f-47d2-b37e-2451c617562d",
"Description": "1.0",
"UpdatedTime": "2021-03-08 15:34:49.0",
"Editor": "ccc-test",
"Published": true,
"InstanceId": "ccc-test",
"Name": "默認(rèn)流程",
"ContactFlowId": "78128960-bb00-4ddc-8e82-923a8c5bd22d",
"CreatedTime": "2021-03-05 17:35:45.0",
"NumberList": [
"400289****"
]
}
]
}
}
錯誤碼
HTTP status code | 錯誤碼 | 錯誤信息 | 描述 |
---|---|---|---|
404 | NotExists.InstanceId | The specified instance %s does not exist. | 指定的呼叫中心實例不存在。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
變更時間 | 變更內(nèi)容概要 | 操作 |
---|---|---|
2023-11-06 | OpenAPI 錯誤碼發(fā)生變更、OpenAPI 入?yún)l(fā)生變更 | 查看變更詳情 |