Outlook Calendar API中的任何用户的两个或多个事件的事件ID是否相同?

时间:2018-05-09 06:48:31

标签: outlook-calendar outlook-api

我使用outlook calendar api来管理CRM上的用户日历。据我所知,任何用户的事件ID对于其日历上的事件始终是唯一的。但是,在某些情况下,当我获取时间窗口的事件时,我在服务器的响应中得到两个具有相同事件ID的事件(到现在为止,我得到一个SeriesMaster和一个SingleInstance)。例如,请查看同一用户的两个事件。

第一项活动是:

"开始" {"日期时间":" 2016-07-13T15:00:00.0000000""时区和#34;:& #34; UTC"}"末端" {"日期时间":" 2016-07-13T15:30:00.0000000""时区和#34;:" UTC"}"位置" {" DisplayName的":"""的locationType&#34 ;:"默认"" UniqueIdType":"未知""地址" {"类型":&# 34;未知"}"坐标":{}},"位置":[],"复发" {"模式&#34 ;:{"类型":"每周""间隔":1,"月":0," DAYOFMONTH&#34 ;:0," DaysOfWeek":["星期一""星期二""星期三""周四&#34 ;, "周五&#34]," Firstdayofweek可":"周日""指数":"首先"}&#34 ;范围" {"类型":" NoEnd""起始日期":" 2016年7月13日"&#34 ; EndDate":" 0001-01-01"," RecurrenceTimeZone":" Eastern Standard Time"," NumberOfOccurrences":0} } "与会者":[{"类型":"必需""状态" {"响应":& #34;无""时间":" 0001-01-01T00:00:00Z"},{" @ odata.id":&# 34; https://outlook.office.com/api/v2.0/Users(' 4f3a5396-c4e1-4f96-9d47-88efd09cf7d5 @ 69e9fa32-18c7-4580-8b68-5042cb060d21')/活动(' AQMkADlhNWMwNTJiLTUxOWQtNDBlZC05MWExLWMxNjRmZWY3ZDE3NABGAAAD5qmKtv6ZXUGI6fp4FLgPGwcAc0VsZLFXUEWDJV8jau5I2AAAAgENAAAAc0VsZLFXUEWDJV8jau5I2AAAAdBPbQAAAA ==') "" @ odata.etag":" W / \" c0VsZLFXUEWDJV8jau5I2AAAIehEGA == \"""标识&#34 ;: "的 AQMkADlhNWMwNTJiLTUxOWQtNDBlZC05MWExLWMxNjRmZWY3ZDE3NABGAAAD5qmKtv6ZXUGI6fp4FLgPGwcAc0VsZLFXUEWDJV8jau5I2AAAAgENAAAAc0VsZLFXUEWDJV8jau5I2AAAAdBPbQAAAA == "" CreatedDateTime":" 2018-03-12T01:49:57.8583046Z"" LastModifiedDateTime":" 2018-05-02T18:46:31.9407131Z"" ChangeKey":" c0VsZLFXUEWDJV8jau5I2AAAIehEGA ==""关键字&# 34;:[]," OriginalStartTimeZone":" Eastern Standard Tim E"" OriginalEndTimeZone":"东部标准时间"" iCalUId":" 040000008200E00074C5B7101A82E008000000005047993733DCD101000000000000000010000000E97F92FB0575724C8DFBC43970F08489"" ReminderMinutesBeforeStart&#34 ;:15," IsReminderOn":真," HasAttachments":假,"主体":" APPT"" BodyPreview&# 34;:"""重要性":"正常""灵敏度":"正常"&# 34; IsAllDay":假," IsCancelled":假," IsOrganizer":真," ResponseRequested":真," SeriesMasterId" :空," ShowAs":"忙""类型":" SeriesMaster"

,第二个事件是:

"开始" {"日期时间":" 2018-05-03T19:00:00.0000000""时区和#34;:& #34; UTC"}"末端" {"日期时间":" 2018-05-03T19:30:00.0000000""时区和#34;:" UTC"}"位置" {" DisplayName的":"""的locationType&#34 ;:"默认"" UniqueIdType":"未知""地址" {"类型":&# 34;未知"}"坐标":{}},"位置":[],"复发":空,{" @ odata.id":" https://outlook.office.com/api/v2.0/Users(' 4f3a5396-c4e1-4f96-9d47-88efd09cf7d5 @ 69e9fa32-18c7-4580-8b68-5042cb060d21')/活动(&#39 ; AQMkADlhNWMwNTJiLTUxOWQtNDBlZC05MWExLWMxNjRmZWY3ZDE3NABGAAAD5qmKtv6ZXUGI6fp4FLgPGwcAc0VsZLFXUEWDJV8jau5I2AAAAgENAAAAc0VsZLFXUEWDJV8jau5I2AAAAdBpbQAAAA ==')"" @ odata.etag":" W / \" c0VsZLFXUEWDJV8jau5I2AAAIehD6A == \"&#34 ;, "标识":"的 AQMkADlhNWMwNTJiLTUxOWQtNDBlZC05MWExLWMxNjRmZWY3ZDE3NABGAAAD5qmKtv6ZXUGI6fp4FLgPGwcAc0VsZLFXUEWDJV8jau5I2AAAAgENAAAAc0VsZL FXUEWDJV8jau5I2AAAAdBpbQAAAA == "" CreatedDateTime":" 2018-05-02T18:19:45.1643323Z"" LastModifiedDateTime":&# 34; 2018-05-02T18:25:39.7135811Z"" ChangeKey":" c0VsZLFXUEWDJV8jau5I2AAAIehD6A ==""关键字":[],& #34; OriginalStartTimeZone":" UTC"" OriginalEndTimeZone":" UTC"" iCalUId":" 040000008200E00074C5B7101A82E008000000004F75B80342E2D3010000000000000000100000005F993094248CD348815FEDB972AC66C8&# 34;," ReminderMinutesBeforeStart":15," IsReminderOn":真," HasAttachments":假,"主体":"可替代的健康 - 现代商业","重要性":"正常","敏感度":"正常"," IsAllDay&# 34;:假," IsCancelled":假," IsOrganizer":假," ResponseRequested":真," SeriesMasterId":空,& #34; ShowAs":"忙""类型":" SingleInstance"

1 个答案:

答案 0 :(得分:0)

那些不一样。我猜你是在用不区分大小写的方式进行比较。但是,项目的ID区分大小写。