本文介绍了“在线会议不能为空".使用Beta API创建新会议时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试根据文档:
POST https://graph.microsoft.com/beta/app/onlineMeetings
(包括承载者令牌-可与其他操作配合使用)
(bearer token included - works fine with other operations)
{
"meetingType": "meetNow",
"participants": {
"organizer": {
"identity": {
"user": {
"id": "54f84a95-91c1-49f1-8d81-4632342e2c1e"
}
}
}
},
"startTime": "2018-10-10T14:46:02Z",
"subject": "my meeting"
}
我收到此错误:
{
"error": {
"code": "UnknownError",
"message": "{\"message\":\"onlinemeeting cannot be null.\"}",
"innerError": {
"request-id": "da54bfec-c987-4e02-b4b6-1844801d5f00",
"date": "2018-10-18T09:52:25"
}
}
}
感谢任何帮助,谢谢.
推荐答案
有点晚了,但对于其他Googlelers
A little late, but for other googlelers,
有一个错误,它不是startTime,但是缺少StartDateTime和EndDateTime.
there is an error it is not startTime, but StartDateTime and the EndDateTime is missing.
您的json应该看起来像
your json should look like
{
"startDateTime":"2019-09-09T14:33:30.8546353z",
"endDateTime":"2019-09-09T15:03:30.8566356z",
"subject":"Subject of schedule",
"participants": {
"organizer": {
"identity": {
"user": {
"id": "my oid"
}
}
}
}
}
这篇关于“在线会议不能为空".使用Beta API创建新会议时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!