Invokes the Execute method on an API object. Returns the API status code.

InvokeExecute(1, 2, 3)

1objectRequiredAPI object to execute
2variableOutput parameter used to obtain status
3variableOutput parameter used to obtain request ID

Given the example below:

The code sets up and executes a LogUnsubEvent and succeeds if the operation completes (or when the specified error codes indicate the subscriber was already unsubscribed).