1

Exchange 2010 EWS を使用してメッセージのスター付きステータスを取得および設定するには、XML SOAP 要求を使用する必要があります。

メッセージの「スター付き」または「お気に入り」ステータスを取得するにはどうすればよいですか? 設定もいいですね!

4

1 に答える 1

1

以下は、EWS 2010 の XML を使用してメッセージのスター付きステータスを返します。

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope 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/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Header>
    <t:RequestServerVersion Version="Exchange2010" />
  </soap:Header>
  <soap:Body>
    <GetItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
      <ItemShape>
        <t:BaseShape>Default</t:BaseShape>
        <t:IncludeMimeContent>true</t:IncludeMimeContent>
        <t:AdditionalProperties>
          <t:FieldURI FieldURI="item:Subject" />
          <t:ExtendedFieldURI PropertyTag="0x1090" PropertyType="Integer"/>
        </t:AdditionalProperties>
      </ItemShape>
      <ItemIds>
        <t:ItemId Id="AAMkADg5MmFjNTViLTYwODUtNGNmYi04MzhjLTczZTdkOTZmYjllNwBGAAAAAABFQx5qtI0+R7P3jIlj8lBrBwCGvs35WFEvTaNeDfAlU93XAAAAFfBdAACGvs35WFEvTaNeDfAlU93XAAAAF4LGAAA=" ChangeKey="CQAAABYAAACGvs35WFEvTaNeDfAlU93XAAAAF+bq"/>
      </ItemIds>
    </GetItem>
  </soap:Body>
</soap:Envelope>
于 2013-10-04T19:32:18.887 に答える