CurrencyExchangeOrder_Cancel

Currency exchange orders that has not left the status "Placed" can be cancelled via the API by using this method.

Inputs as WorkflowTriggerDataEntity

NameTypeDescriptionMandatoryAvailable from version
OrderNoStringThe order number of the CurrencyExchangeOrder that should be cancelled True 2.25 

Response rows

NameTypeDescriptionAvailable from version
MessageStringThe message return "OK" if the cancellation was completed correctly or an error message if it was not.2.25 

Code examples

C# - Cancel CurrencyExchangeOrders
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);


Blog stream

Create a blog post to share news and announcements with your team and company.