User Guide: SDKs > .NET (Visual Studio) SDK > GetIntegrationService method
Invoking an Integration Service
To invoke an Integration service, use the SDK class GetIntegrationService() method to get the service object. To invoke an operation, use the returned IntegrationService object.
GetIntegrationService
This API retrieves an IntegrationService instance with the specified service name.
Signature
Input Parameters
serviceName
The name of the service.
Return Values
Returns an IntegrationService object.
Exceptions
System.Exception
The API throws this exception when not initialized, the claim token is undefined, or the service is undefined.
Example
InvokeOperation
The InvokeOperation method invokes the specified operation. This method may take a few seconds, so it is available as either a synchronous or asynchronous call.
Signature
Synchronous
Asynchronous
Input Parameters
operationName
The name of the operation.
headers
HTTP request header key value pairs.
parameters
HTTP request parameter key value pairs.
Return Values
Returns an HTTP Response as a JSON object.
Exceptions
Volt MX FoundryException
The InvokeOperation method throws this exception when either Name or URL is either empty or null.
Example
Asynchronous