Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

4.1 Getting App Manifest Files

This example of the GetAppManifests operation, as defined in section 3.1.4.2, shows how a client can retrieve the manifest files for mail apps from the server. The client sends the following request.

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
          xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
          xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">
  <soap:Header>
     <t:RequestServerVersion Version="Exchange2013" />
     <t:MailboxCulture>en-US</t:MailboxCulture>
     <t:TimeZoneContext>
       <t:TimeZoneDefinition Id="GMT Standard Time"/>
     </t:TimeZoneContext>
  </soap:Header>
  <soap:Body >
     <m:GetAppManifests/>
  </soap:Body>
</soap:Envelope>

The server sends the following successful response to the client. The response returns four manifest files. Each file is an XML file encoded with base64 encoding. The contents of the files have been abbreviated for readability.

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <h:ServerVersionInfo MajorVersion="15" 
                         MinorVersion="0" 
                         MajorBuildNumber="556" 
                         MinorBuildNumber="14" 
                         Version="Exchange2013" 
              xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" 
              xmlns="http://schemas.microsoft.com/exchange/services/2006/types" 
              xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
          xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <GetAppManifestsResponse ResponseClass="Success" 
          xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
      <ResponseCode>NoError</ResponseCode>
      <m:Manifests xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">
        <Manifest>PE9mZmljZUFwcCB4bWxucz0iaH</Manifest>
        <Manifest>PE9mZmljZUFwcCB4bWxucz0iaH</Manifest>
        <Manifest>PE9mZmljZUFwcCB4bWxucz0iaH</Manifest>
        <Manifest>PE9mZmljZUFwcCB4bWxucz0iaH</Manifest>
      </m:Manifests>
    </GetAppManifestsResponse>
  </s:Body>
</s:Envelope>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.