In order to execute a connector call please use this code snippet:
this.callConnectorCall(connectorName, connectorCallName, payload, callback, showBusyIndicator, failOnError, failCallback)
connectorName | the name of the connector |
connectorCallName | the name of the connector call name |
payload | a JSON object with the required parameters for the call |
callback | function, which is called after the successful execution of the connector call |
showBusyIndicator | boolean value that indicates whether the screen has to be blocked by a loading bar during the call (true) or not (false) |
failOnError | boolean value that indicates whether the connector call should be called in case of an error of the function passed via “failCallback” (false) or not (true) |
failCallback | function, which is called in case of an error in the connector call, if false for “failOnError” is passed |