ociatedCalendarItemId获取MeetingMe

ociatedCalendarItemId获取MeetingMe

本文介绍了通过AssociatedCalendarItemId获取MeetingMessages的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我试图实现一个方法,让我获得给定CalendarItemId的MeetingMessages(为了在我使用CalendarItemId响应的情况下删除会议消息)。我试图通过在AssociatedCalendarItemId字段上使用isEqualTo限制来做到这一点。

请求看起来像这样:

< ; FindItem Traversal =" Shallow"的xmlns = QUOT; HTTP://schemas.microsoft.com/exchange/services/2006/messages"的xmlns:典型值= QUOT; HTTP://schemas.microsoft.com/exchange/services/2006/types"> 
< ItemShape>
< typ:BaseShape> AllProperties< / typ:BaseShape>
< / ItemShape>
<限制>
< typ:Contains ContainmentMode =" Substring" ContainmentComparison = QUOT;精确">
< typ:FieldURI FieldURI =" meeting:AssociatedCalendarItemId" />
< typ:Constant Value =" AAAPADEzMzE1Q ..." />
< / typ:包含>
< /限制>
< ParentFolderIds>
< typ:DistinguishedFolderId Id =" inbox" />
< / ParentFolderIds>
< / FindItem>


我收到以下错误:


< FindItemResponse xmlns:t = QUOT; HTTP://schemas.microsoft.com/exchange/services/2006/types"的xmlns:M =" HTTP://schemas.microsoft.com/exchange/services/2006/messages"的xmlns = QUOT; HTTP://schemas.microsoft.com/exchange/services/2006/messages"的xmlns:的xsi = QUOT; HTTP://www.w3.org/2001/XMLSchema-instance"的xmlns:XSD = QUOT; HTTP://www.w3.org/2001/XMLSchema"的xmlns:SOAP = QUOT; HTTP://schemas.xmlsoap.org/soap/envelope/"> 
< m:ResponseMessages>
< m:FindItemResponseMessage ResponseClass =" Error">
< m:MessageText>该属性不能与此类限制一起使用。< / m:MessageText>
< m:ResponseCode> ErrorUnsupportedPathForQuery< / m:ResponseCode>
< m:DescriptiveLinkKey> 0< / m:DescriptiveLinkKey>
< m:MessageXml>
< t:FieldURI FieldURI =" meeting:AssociatedCalendarItemId" />
< / m:MessageXml>
< / m:FindItemResponseMessage>
< / m:ResponseMessages>
< / FindItemResponse>


有没有其他方法可以将MeetingMessages与给定的CalendarItemId相关联?

欢呼香蕉丹尼斯

解决方案

Hello,

I tried to implement a method that would get me the MeetingMessages for a given CalendarItemId (In order to delete the meeting message in case I responded by use of the CalendarItemId).
I tried to do this by use of an isEqualTo Restriction on the AssociatedCalendarItemId field.

The Request was looking like this:

<FindItem Traversal="Shallow" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:typ="http://schemas.microsoft.com/exchange/services/2006/types">
  <ItemShape>
    <typ:BaseShape>AllProperties</typ:BaseShape>
  </ItemShape>
  <Restriction>
    <typ:Contains ContainmentMode="Substring" ContainmentComparison="Exact">
      <typ:FieldURI FieldURI="meeting:AssociatedCalendarItemId"/>
      <typ:Constant Value="AAAPADEzMzE1Q..."/>
    </typ:Contains>
  </Restriction>
  <ParentFolderIds>
    <typ:DistinguishedFolderId Id="inbox"/>
  </ParentFolderIds>
</FindItem>

I got the following error:

<FindItemResponse xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <m:ResponseMessages>
    <m:FindItemResponseMessage ResponseClass="Error">
      <m:MessageText>The property can not be used with this type of restriction.</m:MessageText>
      <m:ResponseCode>ErrorUnsupportedPathForQuery</m:ResponseCode>
      <m:DescriptiveLinkKey>0</m:DescriptiveLinkKey>
      <m:MessageXml>
        <t:FieldURI FieldURI="meeting:AssociatedCalendarItemId"/>
      </m:MessageXml>
    </m:FindItemResponseMessage>
  </m:ResponseMessages>
</FindItemResponse>

Is there any other way to get MeetingMessages associated to a given CalendarItemId?

Cheers
Dennis

解决方案


这篇关于通过AssociatedCalendarItemId获取MeetingMessages的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 02:47