通过FindItem SOAP调用获取RecurringMaster ID

Getting the RecurringMaster ID through FindItem SOAP Call

本文关键字:RecurringMaster ID 获取 调用 FindItem SOAP 通过      更新时间:2023-10-16

我正在做一个soap调用来交换所有循环的会议(c++)。

因此,最初当我执行FindItem请求时,我在日历视图(开始和结束时间)中返回指定时间内的所有约会。

但是对于重复使用相同的调用,我可以为我收到的Item ID获得主循环ID吗?

我是这样用的:

 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:mes="http://schemas.microsoft.com/exchange/services/2006/messages">
   <soapenv:Header>
      <typ:RequestServerVersion Version="Exchange2007_SP1"/>
   </soapenv:Header>
   <soapenv:Body>
      <mes:GetItem>
         <mes:ItemShape>
            <typ:BaseShape>IdOnly</typ:BaseShape>
            <typ:AdditionalProperties>
              <!-- We only query the properties that we need -->
              <typ:FieldURI FieldURI="item:Subject" /> <!-- Leave for debugging purposes -->
              <typ:FieldURI FieldURI="item:Categories" />
              <typ:FieldURI FieldURI="item:DateTimeCreated" />
              <typ:FieldURI FieldURI="item:LastModifiedTime" />
              <typ:FieldURI FieldURI="item:Sensitivity" />
              <typ:FieldURI FieldURI="item:ItemClass" />
              <typ:FieldURI FieldURI="calendar:Start" />
              <typ:FieldURI FieldURI="calendar:End" />
              <typ:FieldURI FieldURI="calendar:CalendarItemType" />
              <typ:FieldURI FieldURI="calendar:IsRecurring" />
              <typ:FieldURI FieldURI="calendar:Recurrence" />
              <typ:FieldURI FieldURI="calendar:FirstOccurrence" />
              <typ:FieldURI FieldURI="calendar:LastOccurrence" />
              <typ:FieldURI FieldURI="calendar:ModifiedOccurrences" />
              <typ:FieldURI FieldURI="calendar:DeletedOccurrences" />
            </typ:AdditionalProperties>
         </mes:ItemShape>
         <mes:ItemIds>
            <typ:RecurringMasterItemId OccurrenceId="AAMk[snip]A=="/>
         </mes:ItemIds>
      </mes:GetItem>
   </soapenv:Body>
 </soapenv:Envelope>

ceid是您通过FindItem获得的事件的ItemID。