Module docusign.monitor
![](https://bcentral-packageicons.azureedge.net/images/ballerinax_docusign.monitor_1.0.0.png)
ballerinax/docusign.monitor Ballerina library
Overview
This is a generated connector for DocuSign Monitor API OpenAPI specification.
DocuSign Monitor helps organizations protect their agreements with round-the-clock activity tracking. The Monitor API delivers this activity tracking information directly to existing security stacks or data visualization tools—enabling teams to detect unauthorized activity, investigate incidents, and quickly respond to verified threats. It also provides the flexibility security teams need to customize dashboards and alerts to meet specific business needs.
Prerequisites
Before using this connector in your Ballerina application, complete the following:
- Create a DocuSign account.
- Obtain tokens by following this guide.
Quickstart
To use the DocuSign Monitor connector in your Ballerina application, update the .bal file as follows:
Step 1: Import connector
First, import the ballerinax/docusign.monitor
module into the Ballerina project.
import ballerinax/docusign.monitor;
Step 2 - Create a new connector instance
You can now make the connection configuration using the <ACCESS_TOKEN>.
monitor:ClientConfig clientConfig = { auth : { token: `<ACCESS_TOKEN>` } }; monitor:Client baseClient = check new Client(clientConfig);
Step 3: Invoke connector operation
-
Now you can use the operations available within the connector. Note that they are in the form of remote operations.
Following is an example to list datasets using the connector.
public function main() { monitor:CursoredResult|error result = baseClient->getDatasetsByDataSetName(); if (result is monitor:CursoredResult) { log:printInfo(result.toString()); } else { log:printInfo(result.toString()); } }
-
Use
bal run
command to compile and run the Ballerina program.