cancelOrderGroup()

void cancelOrderGroup(string orderGroupNumber)

This method permanently cancels all orders in an order group.

Parameters

orderGroupNumber
Format: string
Purpose: Specifies the order group ID to cancel.

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

NoSuchItemException

This fault is returned when the order group ID does not exist.

OrderException

This fault is returned when an error occurs trying to cancel the orders.

InvalidRequestException

This 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.