| 应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
|---|---|---|---|
| 企业内部应用 | 否 | — | — |
| 第三方企业应用 | 是 | 开发者后台申请 | 调试 |
| 第三方个人应用 | 否 | — | — |
{
"agentid": 868810166,
"operator_userid": "8456259",
"task": {
"source_id": "51ynzjcpw72k",
"is_recycled": false,
"gmt_modified": "2020-07-11 12:15:00",
"executor_userid": "user01",
"subject": "新人学习",
"creator_userid": "user02",
"modifier_userid": "user03",
"description": "迁移",
"priority": 10,
"gmt_create": "2020-07-11 12:12:12",
"parent_id": "11",
"status_stage": 1,
"corp_id": "dinge8a56572fxxxx"
}
}curl --location --request POST 'http://127.0.0.1/topapi/workspace/task/migrate?access_token=6d1bxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"agentid": 868810166,
"operator_userid": "8456259",
"task": {
"source_id": "51ynzjcpw72k",
"is_recycled": false,
"gmt_modified": "2020-07-11 12:15:00",
"executor_userid": "user01",
"subject": "新人学习",
"creator_userid": "user02",
"modifier_userid": "user03",
"description": "迁移",
"priority": 10,
"gmt_create": "2020-07-11 12:12:12",
"parent_id": "11",
"status_stage": 1,
"corp_id": "dinge8a56572fxxxx"
}
}'{
"result": {
"gmt_create": "string",
"modifier_userid": "string",
"creator_userid": "string",
"biz_tag": "string",
"priority": 0,
"description": "string",
"finish_date": "string",
"start_date": "string",
"is_recycled": true,
"is_archived": true,
"status_stage": 0,
"source_id": "string",
"parent_id": "string",
"task_type_id": 0,
"status_id": 0,
"executor_userid": "string",
"subject": "string",
"gmt_modified": "string",
"belong_corp_id": "string",
"corp_id": "string",
"task_id": "string",
"task_type_category": "string",
"plan_start_date": "string",
"plan_finish_date": "string",
"tracker_userids": [
"string"
],
"extension": {
"comment_count": 0,
"file_path": "string",
"other": "string",
"systemProperty": {
"webUrl": "string",
"appUrl": "string"
}
},
"source": "string"
},
"errcode": 0,
"errmsg": "string"
}