approveOrder()
void approveOrder(string orderNumber)
This method approves an order that is pending approval and moves it to the next stage in the order process.
Parameters
- orderNumber
- Format: string
Results
This method does not return any output. The order proceeds to the next stage of the order process, that is, accounts move to completion and subscriptions move to provisioning, activation and enablement. If you have configured Smile to do so, approving an order may also raise an initial invoice.
Smile emits the OrderApproved message after the order is approved.
Faults
OrderExceptionThis fault is returned when the order is already approved or cannot be approved.
Java client syntax
java -cp build/smilewsv2-client.jar [options] com.inomial.smile.client.v2.examples.ApproveOrder orderNumber
- orderNumber
- Purpose: Specifies the number or other ID of the order to approve.
Note: For more information about the Java client and the options it
accepts, see Java client syntax.