すべての定期的な会議 (C++) を取得するために、Exchange へのソープ コールを作成しています。
そのため、最初に FindItem リクエストを実行すると、Calendar View で指定された時間 (開始時間と終了時間) のすべての予定が返されます。
しかし、同じ呼び出しを繰り返し使用する場合、受信したアイテム ID のマスター繰り返し ID を取得できます。
すべての定期的な会議 (C++) を取得するために、Exchange へのソープ コールを作成しています。
そのため、最初に FindItem リクエストを実行すると、Calendar View で指定された時間 (開始時間と終了時間) のすべての予定が返されます。
しかし、同じ呼び出しを繰り返し使用する場合、受信したアイテム 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>
OccurrenceID は、FindItem を通じてオカレンスに対して取得した ItemID です。