Example: Update a subscription
This example demonstrates a SOAP envelope for the update() method in the subscription endpoint, which updates subscription information.
Example: An envelope for a SOAP request
This SOAP envelope updates the family name, given name, title and email address for a subscription with USN 21420930.
<?xml version="1.0" ?>
<Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <Body>
    <update xmlns:="http://xml.inomial.com/smile/2.xsd" xmlns:="http://ws.inomial.com/smile.2">
      <usn>2142420930</usn>
      <Subscription>
        <USN>2142420930</USN>
        <Properties>
          <Object>
            <String name="contactFamily">Smith</String>
            <String name="contactGiven">Joe</String>
            <String name="contactTitle">Mr</String>
            <String name="emailAddress">joe@example.com</String>
          </Object>
        </Properties>
      </Subscription>
    </update>
  </Body>
</Envelope>
   In this guide, the method that corresponds to the SOAP envelope is documented in the following format:
Subscription update(2142420930 SubscriptionXML)
   And the SubscriptionXML parameter is documented in the following format:
<Subscription xmlns="http://xml.inomial.com/smile/2.xsd">   
  <Properties>      
    <Object>
      <String name="contactFamily">Smith</String>
      <String name="contactGiven">Joe</String>
      <String name="contactTitle">Mr</String>
      <String name="emailAddress">joe@example.com</String>
    </Object>
  <Properties>
</Subscription>