Removing Additional Services From Service Plan

The remove-plan-item operation is used to remove custom options of service plans (additional services) from service plans.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet removing a new additional service from a service plan includes the remove-plan-item operation node:

<packet>
<service-plan>
   <remove-plan-item>
   ...
   </remove-plan-item>
</service-plan>
</packet>

 

The remove-plan-item node is presented by type ServicePlanPlanItemInputType (domain_template.xsd). Its graphical representation is as follows:

ServicePLanPlanItemInput-remove

 

Response Packet Structure

The remove-plan-item node of the output XML packet is of complex type (domain_template.xsd)which has the following presentation:

ServicePLanPlanItemOutput-remove

 

Samples

This packet removes an additional service Additional Service from the service plan with id 1234 owned by user with login name JDoe.

<packet>
<service-plan>
   <remove-plan-item>
      <filter>
         <id>1234</id>
      </filter>
      <owner-login>JDoe</owner-login>
      <plan-item>
         <name>Additional Service</name>
      </plan-item>
   </remove-plan-item>
</service-plan>
</packet>

Response:

<packet>
<service-plan>
   <remove-plan-item>
      <result>
         <status>ok</status>
         <id>1234</id>
         <name>Additional Service</name>
         <guid>0ca04c13-55cc-2542-04b4-1f792a217a3e</guid>
         <external-id>456</external-id>
         <item>Additional Service</item>
      </result>
   </remove-plan-item>
</service-plan>
</packet>