创建自由任务
POST
https://open.teambition.com/api/organization-task/create
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.teambition.com/api/organization-task/create' \
--header 'Authorization: Bearer <appAccessToken>' \
--header 'X-Tenant-Id: 50c32af35a87e6b2...' \
--header 'X-Tenant-Type: organization' \
--header 'Content-Type: application/json' \
--data-raw ''
响应示例响应示例
{
"result": {
"id": "string",
"content": "string",
"note": "string",
"organizationId": "string",
"ancestorIds": [
"string"
],
"tagIds": [
"string"
],
"creatorId": "string",
"executorId": [
"string"
],
"involveMembers": "string",
"priority": 0,
"recurrence": [
"string"
],
"isDone": true,
"isArchive": true,
"visible": "string",
"startDate": "string",
"dueDate": "string",
"accomplished": "string",
"created": "string",
"updated": "string",
"cusomfields": [
{
"customfieldId": "string",
"type": "string",
"value": [
{
"title": "string",
"metaString": "string"
}
]
}
]
},
"code": "string",
"errorMessage": "string"
}
请求参数
Header 参数
Authorization
string
可选
默认值:
{{Authorization}}
X-Tenant-Id
string
企业 ID
默认值:
{{X-Tenant-Id}}
X-Tenant-Type
string
可选
默认值:
organization
Body 参数application/json