OrderCancelled

Smile emits this message when an order has been cancelled and will no longer proceed.

Message header

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

Table 1. OrderCancelled 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 "OrderCancelled"

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>