使用 Outlook 日历 REST API 设置活动组织者 [英] setting event organizer with Outlook Calendar REST API

查看:27
本文介绍了使用 Outlook 日历 REST API 设置活动组织者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Outlook REST API 来创建事件并发送其邀请,基于 这个 文档

I am using the Outlook REST API for creating events and sending its invitations, based on this documentation

我对登录的用户进行身份验证,并通过请求的 Authorization 标头发送其 Bearer 令牌,并在其内容上发送 json 格式的事件.

I authenticate the logged in user, and send its Bearer token through the Authorization header of the request, and the json-formatted event on its content.

如果我将组织者"设置为另一个用户而不是经过身份验证的用户,并将IsOrganizer"属性设置为false",它会被完全忽略并将当前登录的用户设置为组织者.

If I set the "Organizer" to another user rather than the authenticated one, as well as the "IsOrganizer" property to "false", it gets totally ignored and sets the current logged in user as the organizer.

任何可能发生的事情的线索?还有其他方法吗?

Any clues of what could be happening? Is there another way of doing this?

谢谢!

推荐答案

这是正确的行为.您不能在用户 A 的日历上创建活动,但可以将组织者设置为用户 B.

This is the correct behavior. You cannot create an event on User A's calendar but set the organizer to User B.

这篇关于使用 Outlook 日历 REST API 设置活动组织者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆