


| 应用类型 | 是否支持 | 权限 | 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 | system error | 系统内部服务错误 |
{
"content" : "String",
"note" : "String",
"priority" : Integer,
"involveMembers" : [ "String" ],
"executorId" : "String",
"dueDate" : "String",
"createTime" : "String",
"visible" : "String",
"disableNotification" : Boolean,
"disableActivity" : Boolean
}curl --location --request POST '/v1.0/project/organizations/users//tasks' \
--header 'x-acs-dingtalk-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"content" : "String",
"note" : "String",
"priority" : Integer,
"involveMembers" : [ "String" ],
"executorId" : "String",
"dueDate" : "String",
"createTime" : "String",
"visible" : "String",
"disableNotification" : Boolean,
"disableActivity" : Boolean
}'{
"result": {
"dueDate": "string",
"executor": {
"avatarUrl": "string",
"name": "string",
"userId": "string"
},
"id": "string",
"visible": "string",
"created": "string",
"priority": 0,
"involvers": [
{
"avatarUrl": "string",
"name": "string",
"id": "string"
}
],
"updated": "string",
"note": "string",
"hasReminder": true,
"creatorId": "string",
"content": "string",
"attachmentsCount": 0,
"isDeleted": true,
"ancestorIds": [
"string"
],
"creator": {
"avatarUrl": "string",
"name": "string",
"userId": "string"
},
"executorId": "string",
"involveMembers": [
"string"
],
"isDone": "string"
}
}