Currency exchange orders that has not left the status "Placed" can be cancelled via the API by using this method.
Inputs as WorkflowTriggerDataEntity
|Name||Type||Description||Mandatory||Available from version|
|OrderNo||String||The order number of the CurrencyExchangeOrder that should be cancelled ||True ||2.25 |
|Name||Type||Description||Available from version|
|Message||String||The message return "OK" if the cancellation was completed correctly or an error message if it was not.||2.25 |
var request = new CurrencyExchangeOrder_CancelRequest();
request.Credentials = CorrectCredentials();
request.identify = CorrectIdentify();
request.WorkflowTriggerDataEntity = new CurrencyExchangeOrder_Cancel()
OrderNo = currencyExchangeOrder.OrderNo
var response = client.CurrencyExchangeOrder_Cancel(request);
Create a blog post to share news and announcements with your team and company.