Developer OpenAPI
首页Apifox官网钉钉openAPI
企业微信openAPI
  • openAPI文档
  • 官方文档
首页Apifox官网钉钉openAPI
企业微信openAPI
  • openAPI文档
  • 官方文档
历史文档(不推荐)
  • 历史文档(不推荐)
  • 开发钉钉应用
  • 服务端API
  • 新版服务端API(DingTalk OpenAPI)
  • 生态伙伴API
HTTP回调审批待办通讯录管理钉钉红包身份验证(免登)花名册行业连接日程
HTTP回调审批待办通讯录管理钉钉红包身份验证(免登)花名册行业连接日程
  1. 项目任务
  • 项目任务
    • 迁移任务信息
      POST
    • 查询任务详情
      POST
    • 新增任务信息
      POST
    • 根据任务ID删除任务
      POST
    • 更新任务基础信息
      POST
    • 根据项目批量删除任务信息
      POST
    • 批量移除指定用户的所有任务
      POST
    • 批量移除指定用户的项目任务
      POST
    • 将用户参与的所有任务添加到任务列表
      POST
    • 将用户新参与的任务添加到任务列表
      POST
    • 清理历史任务数据
      POST
    • 获取任务详情
      POST
  • 新增钉钉待办任务
    POST
  • 查询企业下用户待办列表
    POST
  • 更新钉钉待办任务
    POST
  • 查询企业个人待办数量
    GET
  1. 项目任务

迁移任务信息

POST
http://127.0.0.1/topapi/workspace/task/migrate
最后修改时间:2022-08-30 09:19:22
责任人:未设置

说明#

调用本接口迁移任务信息。
服务地址:https://oapi.dingtalk.com

权限#

服务端API是以应用维度授权的,在调用接口前,确保已经为应用添加了接口权限。
应用类型是否支持调用权限申请方式API Explorer调试
企业内部应用否——
第三方企业应用是开发者后台申请调试
第三方个人应用否——

请求参数

Query 参数

Body 参数application/json

示例
{
    "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"
    }
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
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"
    }
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "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"
}
修改于 2022-08-30 09:19:22
下一页
查询任务详情
Built with