文档首页> ISDP> API参考> API接口> 问题管理> 批量提交问题(API名称:batchSubmitIssue)
更新时间:2024-01-18 GMT+08:00
分享

批量提交问题(API名称:batchSubmitIssue)

功能介绍

批量提交问题。

相关接口

接口名称

调用说明

获取Token

调用该接口获取到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.huawei.com:10101/one","thirdUrl":"http://localhost.huawei.com:10101/one", "issueIdList": [106620]}

示例2:

{"operUserId":29072,"operUserName":"李XX","url":"http://localhost.huawei.com:10101/one","thirdUrl":"http://localhost.huawei.com:10101/one", "issueIdList": [106620]}

响应示例

示例1:

{
  "stateCode": "0",
  "errorMessage": null,
  "result": null
}

示例2:

{"stateCode":"3","errorMessage":"所选问题不是隐患问题 ","result":null}
分享:

    相关文档

    相关产品