Export (0) Print
Expand All

4.3 Getting an App Marketplace URL

This example of the GetAppMarketplaceUrl operation, as defined in section 3.1.4.3, shows how the client can retrieve the URL of the marketplace landing page for the mail app.

<?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:GetAppMarketplaceUrl/>
  </soap:Body>
</soap:Envelope>

The server sends the following successful response to the client.

<?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">
    <GetAppMarketplaceUrlResponse ResponseClass="Success" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
      <ResponseCode>NoError</ResponseCode>
         <AppMarketplaceUrl>http://o15.officeredir.microsoft.com/r/rlidMktplcExchRedirect?app=outlook.exe&amp;ver=15&amp;clid=1033&amp;p1=15d0d556d14&amp;p2=4&amp;p3=0&amp;p4=HP&amp;p5=0&amp;Scope=1&amp;CallBackURL=https%3a%2f%2fch1pr03.outlook.com%2fecp%2fExtension%2finstallFromURL.slab%3fexsvurl%3d1%2526realm%3dmicrosoft.com</AppMarketplaceUrl>
    </GetAppMarketplaceUrlResponse>
  </s:Body>
</s:Envelope>
Show:
© 2015 Microsoft