应用类型 | 是否支持 | 权限 | 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 | %s | 请参考ErrorMessage中的errorMessage内容 |
curl --location --request POST 'https://api.dingtalk.com/v1.0/project/users//tasks' \
--header 'x-acs-dingtalk-access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"projectId" : "String",
"content" : "String",
"executorId" : "String",
"dueDate" : "String",
"note" : "String",
"priority" : Integer,
"customfields" : [ {
"customfieldName" : "String",
"customfieldId" : "String",
"value" : [ {
"title" : "String"
} ]
} ],
"stageId" : "String",
"parentTaskId" : "String",
"scenariofieldconfigId" : "String",
"startDate" : "String",
"visible" : "String"
}'
{
"result": {
"taskId": "string",
"content": "string",
"involveMembers": [
"string"
],
"projectId": "string",
"executorId": "string",
"creatorId": "string",
"created": "string",
"updated": "string",
"note": "string",
"dueDate": "string",
"priority": 0,
"customfields": [
{
"customfieldId": "string",
"value": [
{
"title": "string"
}
]
}
]
}
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通