如何使用Microsoft Graph或Office 365 REST API从Outlook中获取所有任务? [英] how to get all tasks from outlook with Microsoft Graph or Office 365 REST API?
问题描述
我正在构建一个Web应用程序,该应用程序需要从使用Outlook Task的组织中获取所有任务.可以使用Microsoft Graph或Office 365 REST API来完成此操作吗?
I am building a web application that needs to fetch all tasks from an organization that uses Outlook Task. Can this be done with Microsoft Graph or Office 365 REST API?
我在这两个服务的文档中都找不到任何可以执行类似操作的调用:https://outlook.office.com/api/v2.0/tenant/tasks
I haven't found any calls in the documentation of either services that would do something similar to that: https://outlook.office.com/api/v2.0/tenant/tasks
我应该找到另一种方法还是可行的方法?
Should I find another approach or is it something that is doable?
推荐答案
Outlook任务现已在Microsoft Graph的预览版中提供:
Outlook Tasks is available in Preview on Microsoft Graph today:
GET /users/{id|userPrincipalName}/outlook/tasks
(图形资源管理器"示例)
恐怕我现在没有通用的预计到达时间.根据更改日志,此功能是是在4月添加的,因此仍是最近的添加.
I'm afraid I don't have an ETA for when this will be generally available at the moment. According to the Change Log this functionality was added in April so it is still a somewhat recent addition.
此功能也可以作为 Office 365 REST API .
如果您今天要寻找可用于生产的产品,则可能需要使用此API.如果可能的话,我建议您等待Graph. Graph是未来所有工程精力的重点,并且是长期最佳的集成方式.
If you're looking for something production ready today, you may need to use this API instead. If possible, I would suggest waiting for Graph. Graph is where all future engineering energy will be focused and is the best long-term integration play.
这篇关于如何使用Microsoft Graph或Office 365 REST API从Outlook中获取所有任务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!