OrderComplete

Smile emits this message when an order is complete. The order is approved and any subscriptions in the order are provisioned, enabled and activated.

Message header

The following table lists the parameters in the OrderComplete message header.

Table 1. OrderComplete header parameters
Parameter Type Values
number string The unique order number that identifies the order
accountUsn string The unique subscriber number for the account the order is raised against
smileMessageType string "OrderComplete"

Message body

The message body contains the <Order> element and has the following format:
{http://xml.inomial.com/smile/2.xsd}Order

Example: The <Order> element

This example shows an Order XML document that contains the <Order> element.

<Order xmlns="http://xml.inomial.com/smile/2.xsd">
  <Package>192</Package>
  <RequiresApproval>false</RequiresApproval>
  <AccountUSN>1204921324</AccountUSN>
  <PackagePlan>812</PackagePlan>
  <OrderForm>
    <Object>
      <String name="username">+61355501256</String>
      <String name="contactGiven">Joe</String>
      <String name="contactFamily">Smith</String>
      <Integer name="phoneLines">12</Integer>
    </Object>
  </OrderForm>
</Order>