获取单个任务的实际工时列表
GET
https://open.teambition.com/api/worktime/list/task/{taskId}该接口用于根据任务 ID 查询单个任务的实际工时列表。
请求参数
Path 参数
taskId
string
任务 id
Header 参数
Content-Type
string
可选
示例值:
application/json
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
是否执行成功
errorMessage
string
执行结果描述
result
array[object (result2) {11}]
必需
worktimeId
string
工时 id
objectId
string
必需
工时关联的数据 id
orgId
string
工时所属企业 id
worktime
string
必需
工时时间(单位:毫秒)
userId
string
工时执行者 id
date
string
工时所属日期字符串
objectType
string
工时关联的数据类型
submitterId
string
工时关联的数据类型
createdAt
string
工时创建时间
updatedAt
string
工时更新时间
description
string
工作进展描述
示例
{
"code": 200,
"errorMessage": "string",
"result": [
{
"worktimeId": "string",
"objectType": "task",
"objectId": "string",
"orgId": "string",
"worktime": 0,
"userId": "string",
"date": "2020-05-28T08:47:11.780Z",
"description": "string",
"submitterId": "string",
"createdAt": "2020-05-28T08:47:11.780Z",
"updatedAt": "2020-05-28T08:47:11.780Z"
}
]
}
最后修改时间: 3 年前