OrderEntered
Smile emits this message when an order is entered. The order is now pending approval by an operator or pending automatic approval by Smile.
Message header
The following table lists the parameters in the OrderEntered message header.
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 | "OrderEntered" |
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. Note that the order requires approval.
<Order xmlns="http://xml.inomial.com/smile/2.xsd">
<Package>192</Package>
<RequiresApproval>true</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>