Syncing a Subscription with a Service Plan

Use the sync-subscription operation to roll back to settings defined by an associated service plan. This operation is actual only for locked subscriptions.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet that syncs a subscription with a service plan includes the sync-subscription operation node:

<packet version="1.6.3.0">
<webspace>
   <sync-subscription>
   ...
   </sync-subscription>
</webspace>
</packet>

 

The sync-subscription node (domain_input.xsd) has the following graphical representation:

webspace-sync-subscription.rps.gif

 

Response Packet Structure

The sync-subscription node of the output XML packet is structured as follows:

webspace-sync-subscription-reps.gif

 

Samples

The request packet that syncs the subscription with ID 5 looks as follows:

<packet version ="1.6.3.0">
<webspace>
   <sync-subscription>
      <filter>
         <id>9</id>
      </filter>
   </sync-subscription>
</webspace>
</packet>

Response:

<packet version="1.6.3.0">
  <webspace>
    <sync-subscription>
      <result>
        <status>ok</status>
        <filter-id>9</filter-id>
        <id>9</id>
      </result>
    </sync-subscription>
  </webspace>
</packet>