获取指定联系流。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
InstanceId | string | 是 | 实例 ID。 | ccc-test |
ContactFlowId | string | 是 | 联系流 ID。 | 274601be-a6d5-4429-bcef-32b51d031c6e |
DraftId | string | 是 | 草稿 ID,当前联系流对应的可编辑草稿版本 ID。 | 566399d7-5558-447c-a72f-9be2768b6a82 |
返回参数
示例
正常返回示例
JSON
格式
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "2263B273-AC1B-44EB-BA98-87F2322C6780",
"Data": {
"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": "566399d7-5558-447c-a72f-9be2768b6a82\n",
"Description": 1,
"UpdatedTime": "2021-07-14 10:48:43.0",
"Editor": "editor-xxx",
"Published": true,
"InstanceId": "ccc-test",
"Name": "欢迎语",
"ContactFlowId": "274601be-a6d5-4429-bcef-32b51d031c6e\n",
"CreatedTime": "2021-07-14 10:48:43.0"
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
404 | NotExists.InstanceId | The specified instance %s does not exist. | 指定的呼叫中心实例不存在。 |
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史