OrderRequiresApproval
Smile emits this message when an order must be approved before it can proceed to the next stage in the order process. Applications can listen for this message to alert operators or other processes that an order is pending approval.
Message header
The following table lists the parameters in the OrderRequiresApproval 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 | "OrderRequiresApproval" |
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>