getManagedPlanGroup()

ManagedPlanGroup getManagedPlanGroup(string managedPlanGroupId)

This method retrieves the details of the specified managed plan group.

Parameters

managedPlanGroupId
Format: string
Purpose: Specifies the ID of a managed plan group.

Results

This method returns a ManagedPlanGroup XML document.

There are no messages defined by this method.

Example: A returned ManagedPlanGroup XML document

This example shows a ManagedPlanGroup XML document.

<ManagedPlanGroup xmlns="http://xml.inomial.com/smile/2.xsd" xmlns="http://ws.inomial.com/smile.2">
  <ManagedPlanGroupId>321</ManagedPlanGroupId>
  <Name>test.managedPlan</Name>
  <SID>628</SID>
  <UpgradeTiming>CurrentPeriod</UpgradeTiming>
  <CrossgradeTiming>Immediately</CrossgradeTiming>
  <DowngradeTiming>NextPeriod</DowngradeTiming>
  <PrePaymentRequiredFor>None</PrePaymentRequiredFor>
  <ManagedPlanChoices>
    <ManagedPlan>
      <ManagedPlanChoiceId>321</ManagedPlanChoiceId>
      <DisplayName>test.managedPlan.managedPlan1</DisplayName>
      <Description>test.managedPlan.managedPlan1</Description>
      <Position>1</Position>
      <ManagedPlanGroupRef>
        <ManagedPlanGroupId>321</ManagedPlanGroupId>
        <Name>test.managedPlan</Name>
      </ManagedPlanGroupRef>
      <ManagedPlanOptions/>
    </ManagedPlan>
    <ManagedPlan>
      <ManagedPlanChoiceId>322</ManagedPlanChoiceId>
      <DisplayName>test.managedPlan.managedPlan2</DisplayName>
      <Description>test.managedPlan.managedPlan2</Description>
      <Position>2</Position>
      <ManagedPlanGroupRef>
        <ManagedPlanGroupId>321</ManagedPlanGroupId>
        <Name>test.managedPlan</Name>
      </ManagedPlanGroupRef>
      <ManagedPlanOptions/>
    </ManagedPlan>
  </ManagedPlanChoices>
</ManagedPlanGroup>

Faults

NoSuchItemException

This fault is returned when the USN provided does not have a corresponding subscription.

Java client syntax

java -cp build/smilewsv2-client.jar [options]
 com.inomial.smile.client.v2.examples.GetManagedPlanGroup
 managedPlanGroupId
managedPlanGroupId
Purpose: Specifies the ID of a managed plan group.
Note: For more information about the Java client and the options it accepts, see Java client syntax.