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

API calls for all endpoints tagged Workspaces.

Summary

Functions

Delete Workspace Deletes an existing workspace (logically).

Get Workspace Retrieves properties about a workspace given a unique workspaceId.

List Workspaces Gets information about the Workspaces that have been created.

Create a Workspace This method creates a new workspace.

Update Workspace Updates information about a specific workspace.

Functions

Link to this function

workspace_delete_workspace(connection, account_id, workspace_id, opts \\ [])

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

Delete Workspace Deletes an existing workspace (logically).

Parameters

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

Returns

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

workspace_get_workspace(connection, account_id, workspace_id, opts \\ [])

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

Get Workspace Retrieves properties about a workspace given a unique workspaceId.

Parameters

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

Returns

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

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

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

List Workspaces Gets information about the Workspaces that have been created.

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, DocuSign.Model.WorkspaceList.t} on success
  • {:error, Tesla.Env.t} on failure
Link to this function

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

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

Create a Workspace This method creates a new workspace.

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 (Workspace):

Returns

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

workspace_put_workspace(connection, account_id, workspace_id, opts \\ [])

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

Update Workspace Updates information about a specific workspace.

Parameters

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

Returns

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