获取单个计划工时详情
GET
https://open.teambition.com/api/plantime/{plantimeId}该接口用于根据计划工时 ID 查询计划工时详情。
请求参数
Path 参数
plantimeId
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 年前