View Source DocuSign.Api.ConnectEvents (DocuSign v1.2.0)

API calls for all endpoints tagged ConnectEvents.

Summary

Functions

Deletes a Connect failure log entry. Deletes the Connect failure log information for the specified entry. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Gets the Connect failure log information. Retrieves the Connect failure log information. You can use this log to determine which envelopes failed to post, in order to create a republish request. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Deletes a specified Connect log entry. Deletes a specified entry from the Connect Log. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Deletes a list of Connect log entries. Deletes a list of Connect log entries for your account. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Gets a Connect log entry. Retrieves the specified Connect log entry for your account. 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. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Gets the Connect log. Retrieves a list of the 100 most recent connect log entries for your account. 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. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

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 Connect::listEventLogs retrieve the failure log. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Republishes Connect information for the specified envelope. Republishes Connect information for the specified envelope. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Functions

Link to this function

connect_failures_delete_connect_failure_log(connection, account_id, failure_id, opts \\ [])

View Source
@spec connect_failures_delete_connect_failure_log(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword()
) ::
  {:ok, Map.t()}
  | {:ok, DocuSign.Model.ErrorDetails.t()}
  | {:error, Tesla.Env.t()}

Deletes a Connect failure log entry. Deletes the Connect failure log information for the specified entry. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • failure_id (String.t): The ID of the Connect post failure. Use all to delete all failures for the account.
  • opts (keyword): Optional parameters

Returns

  • {:ok, map()} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

connect_failures_get_connect_logs(connection, account_id, opts \\ [])

View Source
@spec connect_failures_get_connect_logs(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, DocuSign.Model.ErrorDetails.t()}
  | {:ok, DocuSign.Model.ConnectLogs.t()}
  | {:error, Tesla.Env.t()}

Gets the Connect failure log information. Retrieves the Connect failure log information. You can use this log to determine which envelopes failed to post, in order to create a republish request. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • opts (keyword): Optional parameters
    • :from_date (String.t): The start date for a date range in UTC DateTime format. Note: If this property is null, no date filtering is applied.
    • :to_date (String.t): The end of a search date range in UTC DateTime format. When you use this parameter, only templates created up to this date and time are returned. Note: If this property is null, the value defaults to the current date.

Returns

  • {:ok, DocuSign.Model.ConnectLogs.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

connect_log_delete_connect_log(connection, account_id, log_id, opts \\ [])

View Source
@spec connect_log_delete_connect_log(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword()
) ::
  {:ok, nil} | {:ok, DocuSign.Model.ErrorDetails.t()} | {:error, Tesla.Env.t()}

Deletes a specified Connect log entry. Deletes a specified entry from the Connect Log. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • log_id (String.t): The ID of the Connect log entry.
  • opts (keyword): Optional parameters

Returns

  • {:ok, nil} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

connect_log_delete_connect_logs(connection, account_id, opts \\ [])

View Source
@spec connect_log_delete_connect_logs(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, nil} | {:ok, DocuSign.Model.ErrorDetails.t()} | {:error, Tesla.Env.t()}

Deletes a list of Connect log entries. Deletes a list of Connect log entries for your account. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • opts (keyword): Optional parameters

Returns

  • {:ok, nil} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

connect_log_get_connect_log(connection, account_id, log_id, opts \\ [])

View Source
@spec connect_log_get_connect_log(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword()
) ::
  {:ok, DocuSign.Model.ConnectLog.t()}
  | {:ok, DocuSign.Model.ErrorDetails.t()}
  | {:error, Tesla.Env.t()}

Gets a Connect log entry. Retrieves the specified Connect log entry for your account. 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. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • log_id (String.t): The ID of the Connect log entry.
  • opts (keyword): Optional parameters
    • :additional_info (String.t): When true, the response includes the connectDebugLog information.

Returns

  • {:ok, DocuSign.Model.ConnectLog.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

connect_log_get_connect_logs(connection, account_id, opts \\ [])

View Source
@spec connect_log_get_connect_logs(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, DocuSign.Model.ErrorDetails.t()}
  | {:ok, DocuSign.Model.ConnectLogs.t()}
  | {:error, Tesla.Env.t()}

Gets the Connect log. Retrieves a list of the 100 most recent connect log entries for your account. 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. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • opts (keyword): Optional parameters
    • :from_date (String.t): The start date for a date range in UTC DateTime format. Note: If this property is null, no date filtering is applied.
    • :to_date (String.t): The end of a search date range in UTC DateTime format. When you use this parameter, only templates created up to this date and time are returned. Note: If this property is null, the value defaults to the current date.

Returns

  • {:ok, DocuSign.Model.ConnectLogs.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

connect_publish_put_connect_retry(connection, account_id, opts \\ [])

View Source
@spec connect_publish_put_connect_retry(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, DocuSign.Model.ErrorDetails.t()}
  | {:ok, DocuSign.Model.ConnectFailureResults.t()}
  | {:error, Tesla.Env.t()}

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 Connect::listEventLogs retrieve the failure log. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • opts (keyword): Optional parameters
    • :body (ConnectFailureFilter):

Returns

  • {:ok, DocuSign.Model.ConnectFailureResults.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

connect_publish_put_connect_retry_by_envelope(connection, account_id, envelope_id, opts \\ [])

View Source
@spec connect_publish_put_connect_retry_by_envelope(
  Tesla.Env.client(),
  String.t(),
  String.t(),
  keyword()
) ::
  {:ok, DocuSign.Model.ErrorDetails.t()}
  | {:ok, DocuSign.Model.ConnectFailureResults.t()}
  | {:error, Tesla.Env.t()}

Republishes Connect information for the specified envelope. Republishes Connect information for the specified envelope. Note: To use this function, you must be an account administrator and Connect must be enabled on your account.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • envelope_id (String.t): The envelope's GUID. Example: 93be49ab-xxxx-xxxx-xxxx-f752070d71ec
  • opts (keyword): Optional parameters

Returns

  • {:ok, DocuSign.Model.ConnectFailureResults.t} on success
  • {:error, Tesla.Env.t} on failure