使用Outlook Calendar REST API设置事件组织器 [英] setting event organizer with Outlook Calendar REST API

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

问题描述

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

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

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

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 Calendar REST API设置事件组织器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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