Package com.docusign.esign.api
Class ConnectApi
- java.lang.Object
-
- com.docusign.esign.api.ConnectApi
-
public class ConnectApi extends java.lang.ObjectConnectApi class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classConnectApi.GetConnectAllUsersOptionsGetConnectAllUsersOptions Class.classConnectApi.GetEventLogOptionsGetEventLogOptions Class.classConnectApi.ListEventFailureLogsOptionsListEventFailureLogsOptions Class.classConnectApi.ListEventLogsOptionsListEventLogsOptions Class.classConnectApi.ListUsersOptionsListUsersOptions Class.
-
Constructor Summary
Constructors Constructor Description ConnectApi()ConnectApi.ConnectApi(ApiClient apiClient)ConnectApi.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectCustomConfigurationcreateConfiguration(java.lang.String accountId, ConnectCustomConfiguration connectCustomConfiguration)Creates a connect configuration for the specified account..voiddeleteConfiguration(java.lang.String accountId, java.lang.String connectId)Deletes the specified connect configuration..ConnectDeleteFailureResultdeleteEventFailureLog(java.lang.String accountId, java.lang.String failureId)Deletes a Connect failure log entry..voiddeleteEventLog(java.lang.String accountId, java.lang.String logId)Deletes a specified Connect log entry..voiddeleteEventLogs(java.lang.String accountId)Gets a list of Connect log entries..MobileNotifierConfigurationInformationdeleteMobileNotifiers(java.lang.String accountId, MobileNotifierConfigurationInformation mobileNotifierConfigurationInformation)Reserved.ApiClientgetApiClient()getApiClient Method.ConnectConfigResultsgetConfiguration(java.lang.String accountId, java.lang.String connectId)Get a Connect Configuration Information.IntegratedConnectUserInfoListgetConnectAllUsers(java.lang.String accountId, java.lang.String connectId)Returns all users from the configured Connect service..IntegratedConnectUserInfoListgetConnectAllUsers(java.lang.String accountId, java.lang.String connectId, ConnectApi.GetConnectAllUsersOptions options)Returns all users from the configured Connect service..ConnectLoggetEventLog(java.lang.String accountId, java.lang.String logId)Get the specified Connect log entry..ConnectLoggetEventLog(java.lang.String accountId, java.lang.String logId, ConnectApi.GetEventLogOptions options)Get the specified Connect log entry..ConnectConfigResultslistConfigurations(java.lang.String accountId)Get Connect Configuration Information.ConnectLogslistEventFailureLogs(java.lang.String accountId)Gets the Connect failure log information..ConnectLogslistEventFailureLogs(java.lang.String accountId, ConnectApi.ListEventFailureLogsOptions options)Gets the Connect failure log information..ConnectLogslistEventLogs(java.lang.String accountId)Gets the Connect log..ConnectLogslistEventLogs(java.lang.String accountId, ConnectApi.ListEventLogsOptions options)Gets the Connect log..MobileNotifierConfigurationInformationlistMobileNotifiers(java.lang.String accountId)Reserved.IntegratedUserInfoListlistUsers(java.lang.String accountId, java.lang.String connectId)Returns users from the configured Connect service..IntegratedUserInfoListlistUsers(java.lang.String accountId, java.lang.String connectId, ConnectApi.ListUsersOptions options)Returns users from the configured Connect service..ConnectFailureResultsretryEventForEnvelope(java.lang.String accountId, java.lang.String envelopeId)Republishes Connect information for the specified envelope..ConnectFailureResultsretryEventForEnvelopes(java.lang.String accountId, ConnectFailureFilter connectFailureFilter)Republishes Connect information for multiple envelopes..voidsetApiClient(ApiClient apiClient)setApiClient Method.ConnectCustomConfigurationupdateConfiguration(java.lang.String accountId, ConnectCustomConfiguration connectCustomConfiguration)Updates a specified Connect configuration..MobileNotifierConfigurationInformationupdateMobileNotifiers(java.lang.String accountId, MobileNotifierConfigurationInformation mobileNotifierConfigurationInformation)Reserved.
-
-
-
Constructor Detail
-
ConnectApi
public ConnectApi()
ConnectApi.
-
ConnectApi
public ConnectApi(ApiClient apiClient)
ConnectApi.
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
getApiClient Method.- Returns:
- ApiClient
-
setApiClient
public void setApiClient(ApiClient apiClient)
setApiClient Method.
-
createConfiguration
public ConnectCustomConfiguration createConfiguration(java.lang.String accountId, ConnectCustomConfiguration connectCustomConfiguration) throws ApiException
Creates a connect configuration for the specified account.. Creates a DocuSign Custom Connect definition for your account. DocuSign Connect enables the sending of real-time data updates to external applications. These updates are generated by user transactions as the envelope progresses through actions to completion. The Connect Service provides updated information about the status of these transactions and returns updates that include the actual content of document form fields. Be aware that, these updates might or might not include the document itself. For more information about Connect, see the [ML:DocuSign Connect Service Guide]. ###### Note: Connect must be enabled for your account to use this function. This cannot be used to set up Connect configurations for Salesforce or eOriginal.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)connectCustomConfiguration- (optional)- Returns:
- ConnectCustomConfiguration
- Throws:
ApiException- if fails to make API call
-
deleteConfiguration
public void deleteConfiguration(java.lang.String accountId, java.lang.String connectId) throws ApiExceptionDeletes the specified connect configuration.. Deletes the specified DocuSign Connect configuration. ###### Note: Connect must be enabled for your account to use this function.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)connectId- The ID of the custom Connect configuration being accessed. (required)- Throws:
ApiException- if fails to make API call
-
deleteEventFailureLog
public ConnectDeleteFailureResult deleteEventFailureLog(java.lang.String accountId, java.lang.String failureId) throws ApiException
Deletes a Connect failure log entry.. Deletes the Connect failure log information for the specified entry.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)failureId- The ID of the failed connect log entry. (required)- Returns:
- ConnectDeleteFailureResult
- Throws:
ApiException- if fails to make API call
-
deleteEventLog
public void deleteEventLog(java.lang.String accountId, java.lang.String logId) throws ApiExceptionDeletes a specified Connect log entry.. Deletes a specified entry from the Connect Log.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)logId- The ID of the connect log entry (required)- Throws:
ApiException- if fails to make API call
-
deleteEventLogs
public void deleteEventLogs(java.lang.String accountId) throws ApiExceptionGets a list of Connect log entries.. Retrieves a list of connect log entries for your account. ###### Note: The `enableLog` property in the Connect configuration must be set to **true** to enable logging. If logging is not enabled, then no log entries are recorded.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)- Throws:
ApiException- if fails to make API call
-
deleteMobileNotifiers
public MobileNotifierConfigurationInformation deleteMobileNotifiers(java.lang.String accountId, MobileNotifierConfigurationInformation mobileNotifierConfigurationInformation) throws ApiException
Reserved. Reserved:- Parameters:
accountId- The external account number (int) or account ID Guid. (required)mobileNotifierConfigurationInformation- (optional)- Returns:
- MobileNotifierConfigurationInformation
- Throws:
ApiException- if fails to make API call
-
getConfiguration
public ConnectConfigResults getConfiguration(java.lang.String accountId, java.lang.String connectId) throws ApiException
Get a Connect Configuration Information. Retrieves the information for the specified DocuSign Connect configuration. ###### Note: Connect must be enabled for your account to use this function.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)connectId- The ID of the custom Connect configuration being accessed. (required)- Returns:
- ConnectConfigResults
- Throws:
ApiException- if fails to make API call
-
getConnectAllUsers
public IntegratedConnectUserInfoList getConnectAllUsers(java.lang.String accountId, java.lang.String connectId) throws ApiException
Returns all users from the configured Connect service..- Parameters:
accountId- The external account number (int) or account ID Guid. (required)connectId- The ID of the custom Connect configuration being accessed. (required)- Returns:
- IntegratedConnectUserInfoList
- Throws:
ApiException
-
getConnectAllUsers
public IntegratedConnectUserInfoList getConnectAllUsers(java.lang.String accountId, java.lang.String connectId, ConnectApi.GetConnectAllUsersOptions options) throws ApiException
Returns all users from the configured Connect service..- Parameters:
accountId- The external account number (int) or account ID Guid. (required)connectId- The ID of the custom Connect configuration being accessed. (required)options- for modifying the method behavior.- Returns:
- IntegratedConnectUserInfoList
- Throws:
ApiException- if fails to make API call
-
getEventLog
public ConnectLog getEventLog(java.lang.String accountId, java.lang.String logId) throws ApiException
Get the specified Connect log entry.. Retrieves the specified Connect log entry for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)logId- The ID of the connect log entry (required)- Returns:
- ConnectLog
- Throws:
ApiException
-
getEventLog
public ConnectLog getEventLog(java.lang.String accountId, java.lang.String logId, ConnectApi.GetEventLogOptions options) throws ApiException
Get the specified Connect log entry.. Retrieves the specified Connect log entry for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)logId- The ID of the connect log entry (required)options- for modifying the method behavior.- Returns:
- ConnectLog
- Throws:
ApiException- if fails to make API call
-
listConfigurations
public ConnectConfigResults listConfigurations(java.lang.String accountId) throws ApiException
Get Connect Configuration Information. Retrieves all the DocuSign Custom Connect definitions for the specified account. ###### Note: Connect must be enabled for your account to use this function. This does not retrieve information for Connect configurations for Box, eOriginal, or Salesforce.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)- Returns:
- ConnectConfigResults
- Throws:
ApiException- if fails to make API call
-
listEventFailureLogs
public ConnectLogs listEventFailureLogs(java.lang.String accountId) throws ApiException
Gets the Connect failure log information.. Retrieves the Connect Failure Log information. It can be used to determine which envelopes failed to post, so a republish request can be created.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)- Returns:
- ConnectLogs
- Throws:
ApiException
-
listEventFailureLogs
public ConnectLogs listEventFailureLogs(java.lang.String accountId, ConnectApi.ListEventFailureLogsOptions options) throws ApiException
Gets the Connect failure log information.. Retrieves the Connect Failure Log information. It can be used to determine which envelopes failed to post, so a republish request can be created.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)options- for modifying the method behavior.- Returns:
- ConnectLogs
- Throws:
ApiException- if fails to make API call
-
listEventLogs
public ConnectLogs listEventLogs(java.lang.String accountId) throws ApiException
Gets the Connect log.. Retrieves a list of connect log entries for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)- Returns:
- ConnectLogs
- Throws:
ApiException
-
listEventLogs
public ConnectLogs listEventLogs(java.lang.String accountId, ConnectApi.ListEventLogsOptions options) throws ApiException
Gets the Connect log.. Retrieves a list of connect log entries for your account. ###### Note: The `enableLog` setting in the Connect configuration must be set to true to enable logging. If logging is not enabled, then no log entries are recorded.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)options- for modifying the method behavior.- Returns:
- ConnectLogs
- Throws:
ApiException- if fails to make API call
-
listMobileNotifiers
public MobileNotifierConfigurationInformation listMobileNotifiers(java.lang.String accountId) throws ApiException
Reserved. Reserved:- Parameters:
accountId- The external account number (int) or account ID Guid. (required)- Returns:
- MobileNotifierConfigurationInformation
- Throws:
ApiException- if fails to make API call
-
listUsers
public IntegratedUserInfoList listUsers(java.lang.String accountId, java.lang.String connectId) throws ApiException
Returns users from the configured Connect service.. Returns users from the configured Connect service.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)connectId- The ID of the custom Connect configuration being accessed. (required)- Returns:
- IntegratedUserInfoList
- Throws:
ApiException
-
listUsers
public IntegratedUserInfoList listUsers(java.lang.String accountId, java.lang.String connectId, ConnectApi.ListUsersOptions options) throws ApiException
Returns users from the configured Connect service.. Returns users from the configured Connect service.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)connectId- The ID of the custom Connect configuration being accessed. (required)options- for modifying the method behavior.- Returns:
- IntegratedUserInfoList
- Throws:
ApiException- if fails to make API call
-
retryEventForEnvelope
public ConnectFailureResults retryEventForEnvelope(java.lang.String accountId, java.lang.String envelopeId) throws ApiException
Republishes Connect information for the specified envelope.. Republishes Connect information for the specified envelope.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)envelopeId- The envelopeId Guid of the envelope being accessed. (required)- Returns:
- ConnectFailureResults
- Throws:
ApiException- if fails to make API call
-
retryEventForEnvelopes
public ConnectFailureResults retryEventForEnvelopes(java.lang.String accountId, ConnectFailureFilter connectFailureFilter) throws ApiException
Republishes Connect information for multiple envelopes.. Republishes Connect information for the specified set of envelopes. The primary use is to republish Connect post failures by including envelope IDs for the envelopes that failed to post in the request. The list of envelope IDs that failed to post correctly can be retrieved by calling to [ML:GetConnectLog] retrieve the failure log.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)connectFailureFilter- (optional)- Returns:
- ConnectFailureResults
- Throws:
ApiException- if fails to make API call
-
updateConfiguration
public ConnectCustomConfiguration updateConfiguration(java.lang.String accountId, ConnectCustomConfiguration connectCustomConfiguration) throws ApiException
Updates a specified Connect configuration.. Updates the specified DocuSign Connect configuration in your account. ###### Note: Connect must be enabled for your account to use this function. This cannot be used to update Connect configurations for Box, eOriginal, or Salesforce.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)connectCustomConfiguration- (optional)- Returns:
- ConnectCustomConfiguration
- Throws:
ApiException- if fails to make API call
-
updateMobileNotifiers
public MobileNotifierConfigurationInformation updateMobileNotifiers(java.lang.String accountId, MobileNotifierConfigurationInformation mobileNotifierConfigurationInformation) throws ApiException
Reserved. Reserved:- Parameters:
accountId- The external account number (int) or account ID Guid. (required)mobileNotifierConfigurationInformation- (optional)- Returns:
- MobileNotifierConfigurationInformation
- Throws:
ApiException- if fails to make API call
-
-