changeManagedPlanGroup()
void changeManagedPlanGroup(string usn, string managedPlanGroupId, string managedPlanChoiceId, ManagedPlanChangeTiming managedPlanChangeTiming, PlanOptions planOptions)
This method changes the managed plan group that a subscription belongs to.
Note that this operation does not raise any charges as the change is between two groups.
Parameters
- usn
- Format: string
- managedPlanGroupId
- Format: string
- managedPlanChoiceId
- Format: string
- managedPlanChangeTiming
- Format: ManagedPlanChangeTiming XML
- planOptions
- Format: PlanOptions XML
Results
This method returns void.
There are no messages defined by this method.
Faults
NoSuchItemExceptionThis fault is returned when the USN provided does not have a corresponding subscription.
PlanChangeExceptionThis fault is returned when an internal error or configuration problem prevents the request from being processed.
InvalidRequestExceptionThis fault is returned when the USN, managedPlanGroupId and managedPlanChoiceId are not compatible.
Java client syntax
java -cp build/smilewsv2-client.jar [options] com.inomial.smile.client.v2.examples.ChangeManagedPlanGroup usn
managedPlanGroupId managedPlanChoiceId managedPlanChangeTiming [filename]
- usn
- Purpose: Specifies the USN of the subscription.
- mangedPlanGroupId
- Purpose: Specifies the ID of a managed plan group.
- managedPlanChoiceId
- Purpose: Specifies the ID of a managed plan choice.
- managedPlanChangeTiming
- Purpose: Defines the filename of the ManagedPlanChangeTiming XML document.
- filename
- Purpose: (Optional) Defines the filename of the PlanOptions XML document.
Note: For more information about the Java client and the options it
accepts, see Java client syntax.