Skip to content

批量获取应用下待办任务列表

适用版本>=v7.0.2411b.20241128

接口说明:批量获取应用下待办任务列表

标签待办

请求说明

字段
请求地址
配置域名+/openapi+/v7/todo/tasks/batch_get
HTTP 方法
POST
接口描述
批量获取待办任务
签名方式
KSO-1(配置域名+/openapi不参与签名)
限频策略
权限要求
查询和管理待办任务(应用授权) kso.task.readwrite

请求头 (Headers)

属性名类型是否必填描述可选值
X-Kso-Id-Type
string类型
* internal - 内部
* external - 外部
internal, external
X-Kso-Date
stringRFC1123 格式的日期,例: Wed, 23 Jan 2013 06:43:08 GMT-
X-Kso-Authorization
stringKSO-1 签名值,详见《签名方法》-
Authorization
string授权凭证,格式为:Bearer {access_token}-

请求体(Body)

请求体格式: application/json

没有可用的数据

请求体示例

json
{
  "appid": "string",
  "count": 0,
  "executor": "string",
  "offset": "string",
  "order": "asc",
  "sort": "created_time",
  "status": "todo",
  "tags": [
    "string"
  ]
}

响应体(Response)

HTTP状态码: 200
响应体格式: application/json

没有可用的数据

响应体示例

json
{
  "data": {
    "next_offset": "string",
    "tasks": [
      {
        "actions": [
          {
            "key": "string",
            "link": {
              "mobile_url": "string",
              "pc_url": "string"
            },
            "modal": {
              "desc": "string",
              "required": true,
              "title": "string"
            },
            "style": "normal",
            "text": "string"
          }
        ],
        "category_id": "string",
        "create_time": 0,
        "creator": "string",
        "description": "string",
        "display_time": 0,
        "due_time": 0,
        "executor": "string",
        "ext_attrs": [
          {
            "name": "string",
            "value": "string"
          }
        ],
        "finish_time": 0,
        "id": "string",
        "link": {
          "mobile_url": "string",
          "pc_url": "string"
        },
        "notify_config": {
          "reminders": [
            {
              "before_due_time": 0
            }
          ],
          "switch": true
        },
        "priority": 0,
        "start_time": 0,
        "status": "todo",
        "tags": [
          "string"
        ],
        "title": {
          "prefix": "string",
          "subject": "string"
        }
      }
    ],
    "total": 0
  },
  "code": 0,
  "msg": "string"
}