接口文档 / 执行接口
执行
POST/api/v2/open-agency/execute/{id}/do在线调试 请求参数
| 名称 | 说明 | 类型 |
|---|
| Path 参数 |
|---|
id必填
| | string |
| Body 参数 |
|---|
▸items必填 | | array<object> |
▸executorIds必填 | | array<string> |
operatorId可选
| | string |
comment可选
| | string |
请求示例
json
{
"items": [
{
"id": "ffffffff000000003484c3816487c002",
"executeCount": 1
}
],
"executorIds": [
"string"
],
"operatorId": "string",
"comment": "string"
}
响应参数
| 名称 | 说明 | 类型 |
|---|
| Body 参数 |
|---|
▾data可选 | | object |
code可选
| | integer |
message可选
| | string |
▸error可选可为空 | | object |
响应示例
json
{
"data": {
"code": 200,
"message": "提示信息"
},
"error": null
}
业务失败包装示意
json
{
"data": null,
"error": {
"code": 11003,
"message": "不支持的授权类型{grantType}"
}
}
查看 HTTP 状态与业务码排查