批量提交问题(API名称:batchSubmitIssue)
功能介绍
批量提交问题。
相关接口
|
接口名称 |
调用说明 |
|---|---|
|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
|
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
|---|---|---|---|
|
POST |
https://isdp+域名/openapi/v1/openQcIssue/batchSubmitIssue |
OpenAPI |
application/json |
请求头
|
KEY |
VALUE |
是否必填 |
描述 |
|---|---|---|---|
|
Content-Type |
application/json |
是 |
无 |
|
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
|
参数 |
类型 |
是否必填 |
描述 |
|---|---|---|---|
|
issueIdList |
List<Long> |
是 |
问题ID列表。 |
|
operUserId |
Interger |
是 |
操作人员userId。 |
|
operUserName |
String |
是 |
操作人员名称。 |
|
url |
String |
是 |
PC端URL。 |
|
thirdUrl |
String |
是 |
第三方URL。 |
响应参数
|
参数 |
类型 |
描述 |
|---|---|---|
|
stateCode |
String |
响应编码。 |
|
errorMessage |
String |
错误信息。 |
|
result |
Object |
响应数据。 |
请求示例
示例1:
{"operUserId":29072,"operUserName":"李XX","url":"http://localhost.xxxx.com:10101/one","thirdUrl":"http://localhost.xxxx.com:10101/one", "issueIdList": [106620]}
示例2:
{"operUserId":29072,"operUserName":"李XX","url":"http://localhost.xxxx.com:10101/one","thirdUrl":"http://localhost.xxxx.com:10101/one", "issueIdList": [106620]}
响应示例
示例1:
{
"stateCode": "0",
"errorMessage": null,
"result": null
}
示例2:
{"stateCode":"3","errorMessage":"所选问题不是隐患问题 ","result":null}