调用ListBotReceptionDetailDatas接口获取数据api-机器⼈接待明细的数据。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListBotReceptionDetailDatas |
系统规定参数。取值:ListBotReceptionDetailDatas。 |
StartTime | String | 是 | 20201108 |
查询开始时间,时间格式 为yyyyMMdd,⽐如 20190401 |
EndTime | String | 是 | 20201207 |
查询结束时间,时间格式 为yyyyMMdd,⽐如 20190401 |
RobotInstanceId | String | 是 | chatbot-cn-7QuUfaqMQe |
机器⼈实例id |
AgentKey | String | 否 | ac627989eb4f8a98ed05fd098bbae5_p_beebot_public |
业务空间key,不传时访问默认业务空间,key值在主账号业务管理页面获取 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
CostTime | String | 77 |
请求消耗时间 |
RequestId | String | 1CCB889E-9837-42C9-BAEC-641169D8DF2A |
请求id |
Datas | Array of Object | 参考JSON示例 |
数据详情 |
Knowledge
字段名 |
类型 |
描述 |
---|---|---|
Date |
string |
⽇期 |
SidCnt |
int |
接待⼈次 |
ChatCnt |
int |
对话请求量 |
AvgChatCnt |
int |
平均对话轮次 |
SolutionSidCnt |
int |
解决接待量 |
KnldgHitCnt |
int |
命中知识对话量 |
DsHitCnt |
int |
DS对话量 |
TextChatCnt |
int |
语聊对话量 |
RecommendCnt |
int |
知识推荐对话量 |
NoAnswerChatCnt |
int |
⽆答案对话量 |
示例
请求示例
http(s)://[Endpoint]/?Action=ListBotReceptionDetailDatas
&<公共请求参数>
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<CostTime>77</CostTime>
<RequestId>1CCB889E-9837-42C9-BAEC-641169D8DF2A</RequestId>
<Datas>
<TextChatCnt>0</TextChatCnt>
<SidCnt>3</SidCnt>
<DsHitCnt>0</DsHitCnt>
<SolutionSidCnt>0</SolutionSidCnt>
<ChatCnt>3</ChatCnt>
<NoAnswerChatCnt>2</NoAnswerChatCnt>
<RecommendCnt>1</RecommendCnt>
<KnldgHitCnt>0</KnldgHitCnt>
<Date>20201201</Date>
<AvgChatCnt>1.0</AvgChatCnt>
</Datas>
<Datas>
<TextChatCnt>0</TextChatCnt>
<SidCnt>0</SidCnt>
<DsHitCnt>0</DsHitCnt>
<SolutionSidCnt>0</SolutionSidCnt>
<ChatCnt>0</ChatCnt>
<NoAnswerChatCnt>0</NoAnswerChatCnt>
<RecommendCnt>0</RecommendCnt>
<KnldgHitCnt>0</KnldgHitCnt>
<Date>20201206</Date>
<AvgChatCnt>0.0</AvgChatCnt>
</Datas>
<Datas>
<TextChatCnt>0</TextChatCnt>
<SidCnt>0</SidCnt>
<DsHitCnt>0</DsHitCnt>
<SolutionSidCnt>0</SolutionSidCnt>
<ChatCnt>0</ChatCnt>
<NoAnswerChatCnt>0</NoAnswerChatCnt>
<RecommendCnt>0</RecommendCnt>
<KnldgHitCnt>0</KnldgHitCnt>
<Date>20201130</Date>
<AvgChatCnt>0.0</AvgChatCnt>
</Datas>
<Datas>
<TextChatCnt>0</TextChatCnt>
<SidCnt>5</SidCnt>
<DsHitCnt>0</DsHitCnt>
<SolutionSidCnt>5</SolutionSidCnt>
<ChatCnt>7</ChatCnt>
<NoAnswerChatCnt>0</NoAnswerChatCnt>
<RecommendCnt>0</RecommendCnt>
<KnldgHitCnt>7</KnldgHitCnt>
<Date>20201207</Date>
<AvgChatCnt>1.4</AvgChatCnt>
</Datas>
<Datas>
<TextChatCnt>0</TextChatCnt>
<SidCnt>0</SidCnt>
<DsHitCnt>0</DsHitCnt>
<SolutionSidCnt>0</SolutionSidCnt>
<ChatCnt>0</ChatCnt>
<NoAnswerChatCnt>0</NoAnswerChatCnt>
<RecommendCnt>0</RecommendCnt>
<KnldgHitCnt>0</KnldgHitCnt>
<Date>20201129</Date>
<AvgChatCnt>0.0</AvgChatCnt>
</Datas>
<Datas>
<TextChatCnt>3</TextChatCnt>
<SidCnt>11</SidCnt>
<DsHitCnt>67</DsHitCnt>
<SolutionSidCnt>11</SolutionSidCnt>
<ChatCnt>71</ChatCnt>
<NoAnswerChatCnt>0</NoAnswerChatCnt>
<RecommendCnt>0</RecommendCnt>
<KnldgHitCnt>1</KnldgHitCnt>
<Date>20201204</Date>
<AvgChatCnt>6.454545454545454</AvgChatCnt>
</Datas>
<Datas>
<TextChatCnt>0</TextChatCnt>
<SidCnt>0</SidCnt>
<DsHitCnt>0</DsHitCnt>
<SolutionSidCnt>0</SolutionSidCnt>
<ChatCnt>0</ChatCnt>
<NoAnswerChatCnt>0</NoAnswerChatCnt>
<RecommendCnt>0</RecommendCnt>
<KnldgHitCnt>0</KnldgHitCnt>
<Date>20201205</Date>
<AvgChatCnt>0.0</AvgChatCnt>
</Datas>
<Datas>
<TextChatCnt>0</TextChatCnt>
<SidCnt>6</SidCnt>
<DsHitCnt>18</DsHitCnt>
<SolutionSidCnt>5</SolutionSidCnt>
<ChatCnt>19</ChatCnt>
<NoAnswerChatCnt>1</NoAnswerChatCnt>
<RecommendCnt>0</RecommendCnt>
<KnldgHitCnt>0</KnldgHitCnt>
<Date>20201203</Date>
<AvgChatCnt>3.1666666666666665</AvgChatCnt>
</Datas>
<Datas>
<TextChatCnt>0</TextChatCnt>
<SidCnt>1</SidCnt>
<DsHitCnt>1</DsHitCnt>
<SolutionSidCnt>1</SolutionSidCnt>
<ChatCnt>1</ChatCnt>
<NoAnswerChatCnt>0</NoAnswerChatCnt>
<RecommendCnt>0</RecommendCnt>
<KnldgHitCnt>0</KnldgHitCnt>
<Date>20201202</Date>
<AvgChatCnt>1.0</AvgChatCnt>
</Datas>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"CostTime" : 77,
"RequestId" : "1CCB889E-9837-42C9-BAEC-641169D8DF2A",
"Datas" : [ {
"TextChatCnt" : 0,
"SidCnt" : 3,
"DsHitCnt" : 0,
"SolutionSidCnt" : 0,
"ChatCnt" : 3,
"NoAnswerChatCnt" : 2,
"RecommendCnt" : 1,
"KnldgHitCnt" : 0,
"Date" : 20201201,
"AvgChatCnt" : 1
}, {
"TextChatCnt" : 0,
"SidCnt" : 0,
"DsHitCnt" : 0,
"SolutionSidCnt" : 0,
"ChatCnt" : 0,
"NoAnswerChatCnt" : 0,
"RecommendCnt" : 0,
"KnldgHitCnt" : 0,
"Date" : 20201206,
"AvgChatCnt" : 0
}, {
"TextChatCnt" : 0,
"SidCnt" : 0,
"DsHitCnt" : 0,
"SolutionSidCnt" : 0,
"ChatCnt" : 0,
"NoAnswerChatCnt" : 0,
"RecommendCnt" : 0,
"KnldgHitCnt" : 0,
"Date" : 20201130,
"AvgChatCnt" : 0
}, {
"TextChatCnt" : 0,
"SidCnt" : 5,
"DsHitCnt" : 0,
"SolutionSidCnt" : 5,
"ChatCnt" : 7,
"NoAnswerChatCnt" : 0,
"RecommendCnt" : 0,
"KnldgHitCnt" : 7,
"Date" : 20201207,
"AvgChatCnt" : 1.4
}, {
"TextChatCnt" : 0,
"SidCnt" : 0,
"DsHitCnt" : 0,
"SolutionSidCnt" : 0,
"ChatCnt" : 0,
"NoAnswerChatCnt" : 0,
"RecommendCnt" : 0,
"KnldgHitCnt" : 0,
"Date" : 20201129,
"AvgChatCnt" : 0
}, {
"TextChatCnt" : 3,
"SidCnt" : 11,
"DsHitCnt" : 67,
"SolutionSidCnt" : 11,
"ChatCnt" : 71,
"NoAnswerChatCnt" : 0,
"RecommendCnt" : 0,
"KnldgHitCnt" : 1,
"Date" : 20201204,
"AvgChatCnt" : 6.454545454545454
}, {
"TextChatCnt" : 0,
"SidCnt" : 0,
"DsHitCnt" : 0,
"SolutionSidCnt" : 0,
"ChatCnt" : 0,
"NoAnswerChatCnt" : 0,
"RecommendCnt" : 0,
"KnldgHitCnt" : 0,
"Date" : 20201205,
"AvgChatCnt" : 0
}, {
"TextChatCnt" : 0,
"SidCnt" : 6,
"DsHitCnt" : 18,
"SolutionSidCnt" : 5,
"ChatCnt" : 19,
"NoAnswerChatCnt" : 1,
"RecommendCnt" : 0,
"KnldgHitCnt" : 0,
"Date" : 20201203,
"AvgChatCnt" : 3.1666666666666665
}, {
"TextChatCnt" : 0,
"SidCnt" : 1,
"DsHitCnt" : 1,
"SolutionSidCnt" : 1,
"ChatCnt" : 1,
"NoAnswerChatCnt" : 0,
"RecommendCnt" : 0,
"KnldgHitCnt" : 0,
"Date" : 20201202,
"AvgChatCnt" : 1
} ]
}
错误码
访问错误中心查看更多错误码。