简要描述:
触发器列表查询
接口版本:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0 | 王力 | 2019-04-14 | 2019-04-24 |
接口说明:
| 请求方式 | 接口地址 | Content-Type |
|---|---|---|
| GET | /action/find | none |
请求参数说明:
| 名称 | 提交 | 必填 | 数据类型 | 参数说明 |
|---|---|---|---|---|
| appId | json | Y | String | 所属机器人ID |
| name | json | N | String | 触发器名称 |
| status | json | N | String | 状态,可选参数:Normal、Delete、Freeze、Unpublished |
| #### 请求参数示例: |
{
“appId”: “02c81872-0044-41ca-a5d5-2cc2f79e15ac”
}
返回参数说明:
| 参数名 | 必填 | 类型 | 说明 |
|---|---|---|---|
| errorCode | 是 | int | 错误码(0表示成功) |
| errorMsg | 是 | string | 描述信息 |
| count | 是 | int | 数据行数 |
| data | 是 | 数组 | 数据内容,内容参考数据设置表IntentModel |
返回示例:
正确时返回
{
"data": [
{
"status": "Normal",
"name": "确认推荐",
"url": "http://10.10.10.10/getdata",
"_id": "a2fe3c70-bd18-40d4-ab15-ba14bb19f96e",
"method": "GET",
"createTime": "2019-04-24 13:23:52",
"appId": "02c81872-0044-41ca-a5d5-2cc2f79e15ac",
"expireTime": "3600"
},
{
"status": "Normal",
"createTime": "2019-04-24 13:29:41",
"url": "http://10.10.10.10/getdata",
"_id": "76cb8428-3d6f-47e3-a94b-797d1bfccd6f",
"method": "GET",
"name": "选配查看",
"appId": "02c81872-0044-41ca-a5d5-2cc2f79e15ac",
"expireTime": "3600"
},
{
"status": "Normal",
"createTime": "2019-04-24 13:32:20",
"url": "http://10.10.10.10/getdata",
"_id": "c4eef6ad-fc9e-4259-87af-39e99fab82d1",
"method": "GET",
"name": "查看位置",
"appId": "02c81872-0044-41ca-a5d5-2cc2f79e15ac",
"expireTime": "3600"
},
{
"status": "Normal",
"createTime": "2019-04-24 13:32:28",
"updateBy": "12345",
"url": "http://10.10.10.10/getdata",
"_id": "1b548c0a-4c45-488f-b608-dbdfb5578d2e",
"method": "GET",
"updateTime": "2019-04-24 13:35:25",
"name": "查看状态222222333",
"appId": "02c81872-0044-41ca-a5d5-2cc2f79e15ac",
"expireTime": "3600"
}
],
"errorCode": 0,
"errorMsg": "请求成功",
"count": 4
}错误时返回
{
"errorCode": 100,
"errorMsg": "系统错误"
}备注:
- 更多返回错误代码请看首页的错误代码描述
文档更新时间: 2019-04-24 13:38 作者:彭湃