微软待办 API 概述To Do API overview

微软待办提供了一种简单的方法便于用户管理其任务和计划日常工作。Microsoft To Do provides a simple way for people to manage their tasks and plan their day. 任务以任务列表形式组织,可以从任何设备跨微软待办客户端、Outlook 和 Teams 访问。Tasks are organized in task lists, which can be accessed across To Do clients, Outlook and Teams from any device.

微软待办 Windows 应用To Do Windows app

微软待办 Windows 应用的屏幕截图Screenshot of a Microsoft To Do Windows App

为什么与微软待办集成?Why integrate with To Do?

轻松整理和跟踪任务Ease of organizing and tracking tasks

微软待办可帮助你为任何内容创建列表,从工作分配到家庭项目再到杂货。Microsoft To Do helps you create a list for anything, from work assignments to home projects to groceries. 可通过添加提醒、截止日期和备注来跟踪最后期限。You can keep track of deadlines by adding reminders, due dates, and notes. 可使用适用于 iOS、Android、Mac、Windows 和 Web 的微软待办应用从任意位置访问列表。You can access your lists from anywhere with the Microsoft To Do apps for iOS, Android, Mac, Windows, and the web.

跨 Microsoft 365 集成Integrate across Microsoft 365

微软待办是 Microsoft 365 中唯一存放个人任务的位置。To Do is the single destination for personal tasks in Microsoft 365. 因此,它与 Microsoft 365 中心、Outlook 和 Teams 紧密集成。So it’s deeply integrated with Microsoft 365 hubs, Outlook, and Teams. 在这些产品中创建的任务将与微软待办同步,以便你可以跨设备访问和管理它们。Tasks created in those products sync with To Do so you can access and manage them across devices. 微软待办集成可以帮助你吸引数百万使用微软待办的用户将 Outlook 和 Teams 中的任务收集到一个集成视图中。To Do integration can help you reach millions of users who use To Do to gather tasks from Outlook and Teams into one integrated view.

支持使用链接的资源完成任务Support task completion using linked resources

微软待办提供了一个称为“ 链接的资源 ”的新实体,你可以使用该实体创建可链接回其原始源的任务。Microsoft To Do provides a new entity called linked resource , which you can use to create tasks that can link back to their original sources. 可通过创建链接到你的产品或服务的任务,使用此功能在你的工作流中无缝集成微软待办。You can use this to seamlessly integrate To Do in your workflow by creating tasks that link to your product or service.

常用微软待办 API 操作Common To Do API operations

操作Operation 请求Request
列出所有任务列表List all the task lists 获取 https://graph.microsoft.com/v1.0/me/todo/listsGET https://graph.microsoft.com/v1.0/me/todo/lists
列出任务列表中的所有任务List all tasks in a task list 获取 https://graph.microsoft.com/v1.0/me/todo/lists/{todoTaskListId}/tasksGET https://graph.microsoft.com/v1.0/me/todo/lists/{todoTaskListId}/tasks
创建新任务Create a new task 发布 https://graph.microsoft.com/v1.0/me/todo/lists/{todoTaskListId}/tasksPOST https://graph.microsoft.com/v1.0/me/todo/lists/{todoTaskListId}/tasks
更新任务Update a task 修补 https://graph.microsoft.com/v1.0/me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}PATCH https://graph.microsoft.com/v1.0/me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}
删除任务Delete a task 删除 https://graph.microsoft.com/v1.0/me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}DELETE https://graph.microsoft.com/v1.0/me/todo/lists/{todoTaskListId}/tasks/{todoTaskId}

API 参考API reference

在查找此服务的 API 参考?Looking for the API reference for this service?