execute Method
open override fun executeMethod(method: DataMethod, parameters: ParameterList, headers: HttpHeaders, options: RequestOptions): DataValue?
Execute a data method (action or function) in the target system. Actions may have backend side-effects. Functions should not have backend side-effects.
- Throws:
-
{@link com.sap.cloud.mobile.kotlin.odata.DataServiceException} or {@link com.sap.cloud.mobile.kotlin.odata.DataNetworkException} if an error occurs during action invocation.
Return
(nullable) The method result, or null if the method has no result.
Parameters
method
Data method.
parameters
Method parameters.
headers
Request-specific headers.
options
Request-specific options.