简要描述
请求URL
http://192.168.2.107:8080/ops/itsm/questionnaire/publish
请求方式
参数
参数 |
类型 |
描述 |
code |
string |
问卷编号 |
title |
string |
问卷标题 |
templateUuid |
string |
模板uuid |
templateName |
string |
模板名称 |
startTime |
string |
问卷开始时间 |
endTime |
string |
问卷结束时间 |
pattern |
string |
模式,按人员、按部门 |
participants |
JSONArray |
部门列表或人员列表 |
createUser |
string |
发布人uuid |
createUserName |
string |
发布人名称 |
调用示例
{
"code":"xxx-2021-09-001",
"title":"问卷调查1",
"templateUuid":"8895729733d24a65979328380827eec5",
"templateName":"测试124",
"startTime":"2021-09-23 15:16:55",
"endTime":"2021-09-25 15:16:55",
"pattern":"按人员",
"participants":["1bf2ca4e0fc34b25b6c4caee483e5bc3","be2ca0cd65a1413aaab05a577d50751b","80a96998b72a499b80a7f61ec3e74030"],
"createUser":"1222",
"createUserName":"系统管理员"
}
返回示例
{
"errorCode": 0,
"message": "成功",
"time": 1632448853841,
"responseBody": null
}
返回参数说明
参数名 |
类型 |
说明 |
errorCode |
int |
状态码 |