public class MindsphereAPIInvoker
extends Object
| Constructor and Description |
|---|
MindsphereAPIInvoker() |
| Modifier and Type | Method and Description |
|---|---|
static MindsphereInvokerResponse |
invokeRequestedAPI(GenericRequestBody reqBody,
ApiSpecification requestedApiSpecification,
MindsphereInvokerConfig restClientConfigCarrier) |
public static MindsphereInvokerResponse invokeRequestedAPI(GenericRequestBody reqBody, ApiSpecification requestedApiSpecification, MindsphereInvokerConfig restClientConfigCarrier) throws MindsphereException
reqBody - Request Body containing any data that needs to be used for the API invocationrequestedApiSpecification - ApiSpecification instance containing information on which end point to be called, http method to be used etcrestClientConfigCarrier - MindsphereInvokerConfig instance representing the rest client configuration, credentials and restTemplateMindsphereException - thrown when an error is encountered on API invocation