更新任务分组
POST
https://open.teambition.com/api/taskgroup/update该接口用于更新任务分组。
请求参数
Header 参数
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
operatorId
string
操作人的用户 ID
taskgroupId
string
任务分组 ID
name
string
任务分组的名称
description
string
任务分组的描述
tasklistIds
array[string]
可选
任务分组中所包含的任务列表的 ID
示例
{
"operatorId": "5a28e2036176bbde...",
"taskgroupId": "5d5798a2d4268209...",
"name": "分组2",
"description": "",
"tasklistIds": [
"5d5798a2d4268209..."
]
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
返回码,200 表示成功
errorMessage
string
必需
调用失败时的错误信息
result
array[object (result2) {9}]
必需
taskgroupId
string
任务分组 ID
projectId
string
项目 ID
name
string
任务列表的名称
description
string
任务分组的描述
tasklistIds
string
可选
任务分组中所包含的任务列表的 ID
creatorId
string
创建人的用户 ID
created
string
任务创建时间
modifierId
string
可选
最近一次执行更新操作的用户 ID
updated
string
最近一次更新时间
示例
{
"code": 200,
"errorMessage": "",
"result": [
{
"taskgroupId": "5d5798a2d4268209...",
"projectId": "5e0d98527d161c00...",
"name": "分组1",
"description": "",
"tasklistIds": [
"5d5798a2d4268209..."
],
"creatorId": "5a28e2036176bbde...",
"created": "2019-12-01T10:30:00Z",
"modifierId": "5a28e2036176bbde...",
"updated": "2019-12-01T10:30:00Z"
}
]
}
最后修改时间: 3 年前