


| 应用类型 | 是否支持 | 权限 | API Explorer调试 |
|---|---|---|---|
| 企业内部应用 | 支持 | 项目应用任务写权限 | API Explorer |
| 第三方企业应用 | 支持 | 项目应用任务写权限 | API Explorer |
| 第三方个人应用 | 暂不支持 | 项目应用任务写权限 | 暂不支持 |
| HttpCode | 错误码 | 错误信息 | 说明 |
|---|---|---|---|
| 400 | user.not.exist | user not exist | 用户在当前企业中不存在 |
| 400 | org.not.exist | org.not.exist | 当前企业在Teambition中不存在 |
| 500 | server.error | server.error | 系统内部服务错误 |
{
"executorId" : "String",
"objectId" : "String",
"objectType" : "String",
"submitterId" : "String",
"isDuration" : Boolean,
"includesHolidays" : Boolean,
"startDate" : "String",
"endDate" : "String",
"workTime" : Long,
"description" : "String"
}curl --location --request POST '/v1.0/project/users//workTimes?tenantType=String' \
--header 'x-acs-dingtalk-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"executorId" : "String",
"objectId" : "String",
"objectType" : "String",
"submitterId" : "String",
"isDuration" : Boolean,
"includesHolidays" : Boolean,
"startDate" : "String",
"endDate" : "String",
"workTime" : Long,
"description" : "String"
}'{
"result": {
"ok": true,
"message": "string",
"body": [
{
"taskId": "string",
"date": "string",
"workTime": 0
}
]
}
}