Rest Microsoft Graph API日历API空序列星号 解决方案如下!

Rest Microsoft Graph API日历API空序列星号 解决方案如下!,rest,calendar,microsoft-graph-api,Rest,Calendar,Microsoft Graph Api,这是我的朋友,是一个漂亮的msft图形api调用过滤器,前50个日历结果由一个非空的SeriesMasterId!还请记住,如果未定义此前50名过滤器,则返回的json仅显示日历中与查询匹配的前10个结果 https://graph.microsoft.com/v1.0/me/calendarView?startDateTime=2015-10-20T10:13:32-07:00&endDateTime=2016-10-20T10:13:32-07:00&$select=subject、type

这是我的朋友,是一个漂亮的msft图形api调用过滤器,前50个日历结果由一个非空的SeriesMasterId!还请记住,如果未定义此前50名过滤器,则返回的json仅显示日历中与查询匹配的前10个结果

https://graph.microsoft.com/v1.0/me/calendarView?startDateTime=2015-10-20T10:13:32-07:00&endDateTime=2016-10-20T10:13:32-07:00&$select=subject、type、seriesMasterId&$top=50&$filter=seriesMasterId ne null

原文如下 我在使用Microsoft Graph API检索周期性日历事件的序列星号时遇到问题。我正在使用我的{alias}.microsoft.com帐户登录进行测试,因为我目前是一名microsoft员工。当我进行REST调用时,SeriesMasterId对于我的重复事件始终返回为null:

这是电话:

https://graph.microsoft.com/v1.0/me/events
感谢您的时间和任何关于我为什么会得到这个空SeriesMasterId的反馈,或者您在本次调用的用例中返回了什么,我们非常感谢

从中获取ISO 8601时间戳

当使用调用筛选一个系列时,我也会得到如下结果,如下所示

https://graph.microsoft.com/v1.0/me/calendarView?startDateTime=2016-09-30T15:57:28-07:00&endDateTime=2016-10-20T10:13:32-07:00
结果

{
            "@odata.etag": "W/\"KD/rRxyX+ESoOfWCZfnfFwAANhX0Bw==\"",
            "id": "AAMkADc5NzQyYWI2LWMxOTctNDRmZi05ZTA3LWE3NmRmYmY1MDQ0MgBGAAAAAADXlwbV2STsRLeDUWHghS8MBwDHXzszvWCLTrbQs5TTKyesAAAAtujXAAAoP_tHHJf4RKg59YJl_d8XAAAEs3bpAAA=",
            "createdDateTime": "2015-09-21T16:45:22.8816871Z",
            "lastModifiedDateTime": "2015-10-02T15:47:15.0711136Z",
            "changeKey": "KD/rRxyX+ESoOfWCZfnfFwAANhX0Bw==",
            "categories": [],
            "originalStartTimeZone": "Pacific Standard Time",
            "originalEndTimeZone": "Pacific Standard Time",
            "responseStatus": {
                "response": "none",
                "time": "0001-01-01T00:00:00Z"
            },
            "iCalUId": "040000008200E00074C5B7101A82E00800000000F07EA63A52F4D001000000000000000010000000FF2DCB149338304FB698D41CCC6A4BF7",
            "reminderMinutesBeforeStart": 15,
            "isReminderOn": false,
            "hasAttachments": false,
            "subject": "Azure 532",
            "body": {
                "contentType": "html",
                "content": "<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\r\n<meta content=\"text/html; charset=us-ascii\">\r\n<meta name=\"ProgId\" content=\"Word.Document\">\r\n<meta name=\"Generator\" content=\"Microsoft Word 15\">\r\n<meta name=\"Originator\" content=\"Microsoft Word 15\">\r\n<link rel=\"File-List\" href=\"cid:filelist.xml@01D0F452.3AA54670\"><style>\r\n<!--\r\n@font-face\r\n\t{font-family:\"Cambria Math\"}\r\n@font-face\r\n\t{font-family:Calibri}\r\np.MsoNormal, li.MsoNormal, div.MsoNormal\r\n\t{margin:0in;\r\n\tmargin-bottom:.0001pt;\r\n\tfont-size:11.0pt;\r\n\tfont-family:\"Calibri\",sans-serif}\r\na:link, span.MsoHyperlink\r\n\t{color:#0563C1;\r\n\ttext-decoration:underline}\r\na:visited, span.MsoHyperlinkFollowed\r\n\t{color:#954F72;\r\n\ttext-decoration:underline}\r\nspan.EmailStyle17\r\n\t{font-family:\"Calibri\",sans-serif;\r\n\tcolor:windowtext}\r\n.MsoChpDefault\r\n\t{font-family:\"Calibri\",sans-serif}\r\n@page WordSection1\r\n\t{margin:1.0in 1.0in 1.0in 1.0in}\r\ndiv.WordSection1\r\n\t{}\r\n-->\r\n</style>\r\n</head>\r\n<body lang=\"EN-US\" link=\"#0563C1\" vlink=\"#954F72\" style=\"\">\r\n<div class=\"WordSection1\">\r\n<p class=\"MsoNormal\">&nbsp;</p>\r\n</div>\r\n</body>\r\n</html>\r\n"
            },
            "bodyPreview": "",
            "importance": "normal",
            "sensitivity": "normal",
            "start": {
                "dateTime": "2015-10-02T15:00:00.0000000",
                "timeZone": "UTC"
            },
            "end": {
                "dateTime": "2015-10-03T00:00:00.0000000",
                "timeZone": "UTC"
            },
            "location": {
                "displayName": "",
                "address": {}
            },
            "isAllDay": false,
            "isCancelled": false,
            "isOrganizer": true,
            "recurrence": null,
            "responseRequested": true,
            "seriesMasterId": null,
            "showAs": "busy",
            "type": "singleInstance",
            "attendees": [
                {
                    "status": {
                        "response": "none",
                        "time": "0001-01-01T00:00:00Z"
                    },
                    "type": "required",
                    "emailAddress": {
                        "name": "Gregory Degruy",
                        "address": "grdegr@microsoft.com"
                    }
                }
            ],
            "organizer": {
                "emailAddress": {
                    "name": "Greg Degruy",
                    "address": "Gregory.Degruy@microsoft.com"
                }
            },
            "webLink": "https://outlook.office365.com/owa/?ItemID=AAMkADc5NzQyYWI2LWMxOTctNDRmZi05ZTA3LWE3NmRmYmY1MDQ0MgBGAAAAAADXlwbV2STsRLeDUWHghS8MBwDHXzszvWCLTrbQs5TTKyesAAAAtujXAAAoP%2BtHHJf4RKg59YJl%2Bd8XAAAEs3bpAAA%3D&exvsurl=1&viewModel=ICalendarItemDetailsViewModelFactory",
            "onlineMeetingUrl": null
        },
        {
            "@odata.etag": "W/\"KD/rRxyX+ESoOfWCZfnfFwAAPP4w8g==\"",
            "id": "AAMkADc5NzQyYWI2LWMxOTctNDRmZi05ZTA3LWE3NmRmYmY1MDQ0MgBGAAAAAADXlwbV2STsRLeDUWHghS8MBwDHXzszvWCLTrbQs5TTKyesAAAAtujXAAAoP_tHHJf4RKg59YJl_d8XAAAEs3cBAAA=",
            "createdDateTime": "2015-09-28T19:17:52.276469Z",
            "lastModifiedDateTime": "2015-10-05T19:27:50.3175476Z",
            "changeKey": "KD/rRxyX+ESoOfWCZfnfFwAAPP4w8g==",
            "categories": [],
            "originalStartTimeZone": "tzone://Microsoft/Custom",
            "originalEndTimeZone": "tzone://Microsoft/Custom",
            "responseStatus": {
                "response": "none",
                "time": "0001-01-01T00:00:00Z"
            },
            "iCalUId": "040000008200E00074C5B7101A82E00800000000C00F90AFE7F9D001000000000000000010000000161F82080B826D4CBCB580B6CA119A08",
            "reminderMinutesBeforeStart": 15,
            "isReminderOn": false,
            "hasAttachments": false,
            "subject": "Azure Exam 532",
            "body": {
                "contentType": "text",
                "content": "\r\n"
            },
            "bodyPreview": "",
            "importance": "normal",
            "sensitivity": "normal",
            "start": {
                "dateTime": "2015-10-05T15:00:00.0000000",
                "timeZone": "UTC"
            },
            "end": {
                "dateTime": "2015-10-05T19:30:00.0000000",
                "timeZone": "UTC"
            },
            "location": {
                "displayName": "Testing Center"
            },
            "isAllDay": false,
            "isCancelled": false,
            "isOrganizer": true,
            "recurrence": null,
            "responseRequested": true,
            "seriesMasterId": null,
            "showAs": "busy",
            "type": "singleInstance",
            "attendees": [],
            "organizer": {
                "emailAddress": {
                    "name": "Greg Degruy",
                    "address": "Gregory.Degruy@microsoft.com"
                }
            },
            "webLink": "https://outlook.office365.com/owa/?ItemID=AAMkADc5NzQyYWI2LWMxOTctNDRmZi05ZTA3LWE3NmRmYmY1MDQ0MgBGAAAAAADXlwbV2STsRLeDUWHghS8MBwDHXzszvWCLTrbQs5TTKyesAAAAtujXAAAoP%2BtHHJf4RKg59YJl%2Bd8XAAAEs3cBAAA%3D&exvsurl=1&viewModel=ICalendarItemDetailsViewModelFactory",
            "onlineMeetingUrl": null
        }
{
“@odata.etag”:“W/\”KD/rRxyX+esoofcznfnfnffwwanhx0bw==\”,
“id”:“aamkadc5nzqyyywi2lwmxotcttndrmzi05zta3lwe3nmymy1mdq0mgbgaaaaadxlwbv2srleduwhghs8mbwdhxzvwcltrbqs5ttkyesaaaaatujxaaaop_tHHJf4RKg59YJl_d8xaaes3bpaaa=”,
“createdDateTime”:“2015-09-21T16:45:22.8816871Z”,
“lastModifiedDateTime”:“2015-10-02T15:47:15.0711136Z”,
“变更键”:“KD/rRxyX+ESOOFCZFNFFWWAANHX0BW=”,
“类别”:[],
“原始起始时区”:“太平洋标准时间”,
“原始时区”:“太平洋标准时间”,
“反应状态”:{
“答复”:“无”,
“时间”:“0001-01-01T00:00:00Z”
},
“iCalUId”:“0400000008200E00074C5B7101A82E0080000000F07EA63A52F4D010000000000000000FF2DCB149338304FB698D41CC6A4BF7”,
“reminderMinutesBeforeStart”:15,
“isReminderOn”:错,
“hasAttachments”:假,
“主题”:“Azure 532”,
“正文”:{
“内容类型”:“html”,
“内容”:“\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n

\r\n\r\n\r\n\r\n” }, “bodyPreview”:“, “重要性”:“正常”, “灵敏度”:“正常”, “开始”:{ “日期时间”:“2015-10-02T15:00:00.0000000”, “时区”:“UTC” }, “结束”:{ “日期时间”:“2015-10-03T00:00:00.0000000”, “时区”:“UTC” }, “地点”:{ “显示名称”:“, “地址:{} }, “isAllDay”:假, “isCancelled”:错误, “同构者”:没错, “重复”:空, “响应请求”:正确, “seriesMasterId”:空, “showAs”:“忙”, “类型”:“单实例”, “与会者”:[ { “地位”:{ “答复”:“无”, “时间”:“0001-01-01T00:00:00Z” }, “类型”:“必需”, “电子邮件地址”:{ “姓名”:“Gregory Degruy”, “地址”:grdegr@microsoft.com" } } ], “组织者”:{ “电子邮件地址”:{ “姓名”:“Greg Degruy”, “地址”:“格雷戈里。Degruy@microsoft.com" } }, “网络链接”:https://outlook.office365.com/owa/?ItemID=AAMkADc5NzQyYWI2LWMxOTctNDRmZi05ZTA3LWE3NmRmYmY1MDQ0MgBGAAAAAADXlwbV2STsRLeDUWHghS8MBwDHXzszvWCLTrbQs5TTKyesAAAAtujXAAAoP%2BtHHJf4RKg59YJl%2Bd8XAAAEs3bpAAA%3D&exvsurl=1&viewModel=ICalendarItemDetailsViewModelFactory", “onlineMeetingUrl”:空 }, { “@odata.etag”:“W/\”KD/rRxyX+esoofcznfnfnfnffwaapp4w8g==\”, “id:“aamkadc5nzqyyywi2lwmxotcttndrmzi05zta3lwe3nmymy1mdq0mgbgaaaaadxlwbv2srleduwhghs8mbwdhxzvwcltrbqs5ttkyesaaatujxaaaop_tHHJf4RKg59YJl_d8xaaes3cbaaa=”, “createdDateTime”:“2015-09-28819:17:52.276469Z”, “lastModifiedDateTime”:“2015-10-05T19:27:50.3175476Z”, “变更键”:“KD/rRxyX+ESOWFCZFNFFWWAAPP4W8G=”, “类别”:[], “原始起始时区”:tzone://Microsoft/Custom", “原始时区”:tzone://Microsoft/Custom", “反应状态”:{ “答复”:“无”, “时间”:“0001-01-01T00:00:00Z” }, “iCalUId”:“0400000008200E00074C5B7101A82E0080000000C000F90AFE7F9D0010000000000100000161F82080B826D4CBCB580B6CA119A08”, “reminderMinutesBeforeStart”:15, “isReminderOn”:错, “hasAttachments”:假, “主题”:“Azure考试532”, “正文”:{ “内容类型”:“文本”, “内容”:“\r\n” }, “bodyPreview”:“, “重要性”:“正常”, “灵敏度”:“正常”, “开始”:{ “日期时间”:“2015-10-05T15:00:00.0000000”, “时区”:“UTC” }, “结束”:{ “日期时间”:“2015-10-05T19:30:00.0000000”, “时区”:“UTC” }, “地点”:{ “displayName”:“测试中心” }, “isAllDay”:假, “isCancelled”:错误, “同构者”:没错, “重复”:空, “响应请求”:正确,