You are here:
getNotificationSettings Method
This method returns reminder and expiration notification settings for a specific standard (Order, Opportunity, and Quote) or custom object configured to use the generic DocuSign feature.
To configure a custom object, see Set Up Generic Documents For DocuSign eSignature for Custom Objects.
Parameters
Parameter | Description |
|---|---|
|
The ID of the parent object. The parent object could be Order, Opportunity, Quote, or other objects configured for generic DocuSign use. |
Request Body
Using default or custom class implementation (if custom class is defined
and no documentSelector is submitted)
// initialize the parameters
String methodName = 'getNotificationSettings';
Map<String, Object> inputMap = new Map<String, Object>();
Map<String, Object> outputMap = new Map<String, Object>();
Map<String, Object> optionsMap = new Map<String, Object>();
// initialize required parameter,
// can be Id of any object configured for generic docusign
Id quoteId = '[existing quoteId]';
// setup input parameters for the method to be invoked
inputMap.put('objectId', quoteId);
// no options
// instantiate the generic api
VlocityOpenInterface2 voi = new GenericDocuSignIntegrationService();
// invoke the method
voi.invokeMethod(methodName, inputMap, outputMap, optionsMap);
// log result
System.debug('outputMap: ' + JSON.serialize(outputMap));
