this.callConnector(connectorName, payload, callback, showBusyIndicator, failOnError, failCallback)
connectorName | the name of the connector |
payload | a JSON object with the required parameters of the call |
callback | function, which is called after the successful execution of the connector |
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 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, if false “failOnError” is passed |