getOrderGroup()
OrderGroup getOrderGroup(string orderGroupId)
This method returns the order group.
Parameters
- orderGroupId
- Format: string
Results
This method returns an OrderGroup XML document containing details of the order group.
There are no messages defined by this method.
Example: A returned OrderGroup XML document
This example shows an OrderGroup XML document.
<OrderGroup xmlns="http://xml.inomial.com/smile/2.xsd" xmlns="http://ws.inomial.com/smile.2">
<OrderGroupNumber>105090</OrderGroupNumber>
<AccountUSN>2142472105</AccountUSN>
<Orders>
<Order>
<OrderNumber>105090</OrderNumber>
<Order>
<Package>4740</Package>
<RequiresApproval>true</RequiresApproval>
<AccountUSN>2142472105</AccountUSN>
<OrderForm>
<Object>
<String name="email.address">joe@example.com</String>
<String name="account.name">Joe Smith</String>
</Object>
</OrderForm>
</Order>
<OrderedComponents>
<Account>
<USN>2142472105</USN>
<ProvisionStatus>NotProvisioned</ProvisionStatus>
<SuspendStatus>Active</SuspendStatus>
<ActivateStatus>NotActivated</ActivateStatus>
<EnableStatus>NotEnabled</EnableStatus>
</Account>
</OrderedComponents>
</Order>
<Order>
<OrderNumber>105110</OrderNumber>
<Order>
<Package>61</Package>
<RequiresApproval>true</RequiresApproval>
<AccountUSN>2142472105</AccountUSN>
<PackagePlan>36</PackagePlan>
<OrderForm>
<Object>
<String name="username">jie@adsl.example.com</String>
<String name="account.name"></String>
</Object>
</OrderForm>
</Order>
<OrderedComponents>
<Subscription>
<USN>2142472303</USN>
<ProvisionStatus>NotProvisioned</ProvisionStatus>
<SuspendStatus>Active</SuspendStatus>
<ActivateStatus>NotActivated</ActivateStatus>
<EnableStatus>NotEnabled</EnableStatus>
<SID>47</SID>
</Subscription>
</OrderedComponents>
</Order>
</Orders>
</OrderGroup>
Faults
NoSuchItemExceptionThis fault is returned when the order group ID does not exist.
Java client syntax
java -cp build/smilewsv2-client.jar [options]
com.inomial.smile.client.v2.examples.GetOrderGroup orderGroupId
- orderGroupId
- Purpose: Specifies the number of the order group.
Note: For more information about the Java client and the options it
accepts, see Java client syntax.