调用ListContactFlows获取指定实例下的IVR联系流列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
InstanceId | string | 是 | 实例 ID。 | ccc-test |
PageNumber | integer | 是 | 分页序号,范围 1-100。 | 1 |
PageSize | integer | 是 | 分页大小,范围 1-100。 | 10 |
Type | string | 否 | 按 IVR 流程类型过滤,非必填,默认为空,为空表示不过滤。 枚举值:
| MAIN_FLOW |
SortOrder | string | 否 | 排序方向。取值范围:
| DESC |
OrderByField | string | 否 | 排序字段。 | updatedTime |
返回参数
示例
正常返回示例
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": "挂机",
"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,
"UpdatedTime": "2021-03-08 15:34:49.0",
"Editor": "ccc-test",
"Published": true,
"InstanceId": "ccc-test",
"Name": "默认流程",
"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. | 指定的呼叫中心实例不存在。 |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|---|---|
2023-11-06 | OpenAPI 错误码发生变更、OpenAPI 入参发生变更 | 查看变更详情 |