cancelOrderGroup()
void cancelOrderGroup(string orderGroupNumber)
This method permanently cancels all orders in an order group.
Parameters
- orderGroupNumber
- Format: string
Results
This method does not return a result for a successful cancellation. An exception will be generated if the cancellation attempt fails.There are no messages defined by this method.
Faults
NoSuchItemExceptionThis fault is returned when the order group ID does not exist.
OrderExceptionThis fault is returned when an error occurs trying to cancel the orders.
InvalidRequestExceptionThis fault is returned when the order group cannot be cancelled because it has already been placed or cancelled.
Java client syntax
java -cp build/smilewsv2-client.jar [options]
com.inomial.smile.client.v2.examples.CancelOrderGroup orderGroupNumber
- orderGroupNumber
- Purpose: Specifies the order group ID to cancel.
Note: For more information about the Java client and the options it
accepts, see Java client syntax.