指令执行结果查询
GET
/robot/rawMsg/list请求参数
Query 参数
robotId
string
必需
机器人编号或者链接编号
示例值:
{{robot_id}}
page
string
分页页号
示例值:
1
size
string
分页大小
示例值:
10
sort
string
排序 按时间排序
示例值:
run_time,desc
startTime
string
开始时间
示例值:
2020-12-12 00:00:00
endTime
string
结束时间
示例值:
2030-12-12 00:00:00
type
string
指令类型
messageId
string
消息id
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
array [object {11}]
必需
rawMsg
string
原始指令信息
rawSuccess
integer
必需
错误信息 0为成功 其他请查看对应错误码
errorReason
string
错误原因
runTime
string
该指令的执行时间
apiSend
integer
必需
1为用户调用API产生的指令
robotId
string
机器人id
type
integer
必需
消息类型(同发送指令)
messageId
string
必需
消息id(发送指令时返回值)
successList
string
发送成功列表
failList
string
发送失败列表
timeCost
number
执行该指令具体耗时
示例
{
"code": 200,
"message": "操作成功",
"data": [
{
"rawMsg": "{\"apiSend\":1,\"messageId\":\"1784417250785046528\",\"receivedContent\":\"周期消息\",\"textType\":0,\"titleList\":[\"仑哥\"],\"type\":203}",
"rawSuccess": 0,
"errorReason": "",
"runTime": "2024-04-28T11:00:00",
"apiSend": 1,
"robotId": "worktool1",
"type": 203,
"messageId": "1784417250785046528",
"successList": "[\"仑哥\"]",
"failList": "[]",
"timeCost": 4.515
},
{
"rawMsg": "{\"apiSend\":1,\"messageId\":\"1784392773883858944\",\"receivedContent\":\"09点22分测试ph\",\"textType\":0,\"titleList\":[\"测试群20240426\"],\"type\":203}",
"rawSuccess": 0,
"errorReason": "",
"runTime": "2024-04-28T09:22:45",
"apiSend": 1,
"robotId": "worktool1",
"type": 203,
"messageId": "1784392773883858944",
"successList": "[\"测试群20240426\"]",
"failList": "[]",
"timeCost": 4.593
},
{
"rawMsg": "{\"apiSend\":1,\"messageId\":\"1784391555287560192\",\"receivedContent\":\"test测试panghu2\",\"textType\":0,\"titleList\":[\"测试群20240426\"],\"type\":203}",
"rawSuccess": 0,
"errorReason": "",
"runTime": "2024-04-28T09:17:54",
"apiSend": 1,
"robotId": "worktool1",
"type": 203,
"messageId": "1784391555287560192",
"successList": "[\"测试群20240426\"]",
"failList": "[]",
"timeCost": 3.263
},
{
"rawMsg": "{\"apiSend\":1,\"messageId\":\"1784391517291352064\",\"receivedContent\":\"test测试panghu\",\"textType\":0,\"titleList\":[\"测试群20240426\"],\"type\":203}",
"rawSuccess": 0,
"errorReason": "",
"runTime": "2024-04-28T09:17:45",
"apiSend": 1,
"robotId": "worktool1",
"type": 203,
"messageId": "1784391517291352064",
"successList": "[\"测试群20240426\"]",
"failList": "[]",
"timeCost": 5.962
},
{
"rawMsg": "{\"apiSend\":1,\"messageId\":\"1784387051460702208\",\"receivedContent\":\"周期消息\",\"textType\":0,\"titleList\":[\"仑哥\"],\"type\":203}",
"rawSuccess": 0,
"errorReason": "",
"runTime": "2024-04-28T09:00:04",
"apiSend": 1,
"robotId": "worktool1",
"type": 203,
"messageId": "1784387051460702208",
"successList": "[\"仑哥\"]",
"failList": "[]",
"timeCost": 4.942
},
{
"rawMsg": "{\"apiSend\":1,\"messageId\":\"1784160559065673728\",\"receivedContent\":\"周期消息\",\"textType\":0,\"titleList\":[\"仑哥\"],\"type\":203}",
"rawSuccess": 0,
"errorReason": "",
"runTime": "2024-04-27T18:00:03",
"apiSend": 1,
"robotId": "worktool1",
"type": 203,
"messageId": "1784160559065673728",
"successList": "[\"仑哥\"]",
"failList": "[]",
"timeCost": 4.816
},
{
"rawMsg": "{\"apiSend\":1,\"messageId\":\"1784153154512691200\",\"receivedContent\":\"你好~\",\"textType\":0,\"titleList\":[\"仑哥(这里改成你的微信昵称或群名)\"],\"type\":203}",
"rawSuccess": 201102,
"errorReason": "发送成功: 发送失败: 仑哥(这里改成你的微信昵称或群名)",
"runTime": "2024-04-27T17:30:35",
"apiSend": 1,
"robotId": "worktool1",
"type": 203,
"messageId": "1784153154512691200",
"successList": "[]",
"failList": "[\"仑哥(这里改成你的微信昵称或群名)\"]",
"timeCost": 13.504
},
{
"rawMsg": "{\"apiSend\":1,\"messageId\":\"1784145470614876160\",\"receivedContent\":\"每日17点提醒云组二线次日值班安排:明天是2024-4-28-星期日,值班人:李鹏。p.s.五一期间要求二线到现场,可在西城。\",\"textType\":0,\"titleList\":[\"强基计划提醒群\"],\"type\":203}",
"rawSuccess": 0,
"errorReason": "",
"runTime": "2024-04-27T17:00:04",
"apiSend": 1,
"robotId": "worktool1",
"type": 203,
"messageId": "1784145470614876160",
"successList": "[\"强基计划提醒群\"]",
"failList": "[]",
"timeCost": 6.879
},
{
"rawMsg": "{\"apiSend\":1,\"messageId\":\"1784130360152367104\",\"receivedContent\":\"周期消息\",\"textType\":0,\"titleList\":[\"仑哥\"],\"type\":203}",
"rawSuccess": 0,
"errorReason": "",
"runTime": "2024-04-27T16:00:01",
"apiSend": 1,
"robotId": "worktool1",
"type": 203,
"messageId": "1784130360152367104",
"successList": "[\"仑哥\"]",
"failList": "[]",
"timeCost": 4.59
},
{
"rawMsg": "{\"apiSend\":1,\"messageId\":\"1784100161188737024\",\"receivedContent\":\"周期消息\",\"textType\":0,\"titleList\":[\"仑哥\"],\"type\":203}",
"rawSuccess": 0,
"errorReason": "",
"runTime": "2024-04-27T14:00:01",
"apiSend": 1,
"robotId": "worktool1",
"type": 203,
"messageId": "1784100161188737024",
"successList": "[\"仑哥\"]",
"failList": "[]",
"timeCost": 4.665
}
]
}
最后修改时间: 7 个月前