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