View Source DocuSign.Api.TemplateViews (DocuSign v1.0.0)

API calls for all endpoints tagged TemplateViews.

Link to this section Summary

Functions

Gets a URL for a template edit view. This method returns a URL for starting an edit view of a template that uses the DocuSign Template UI. The URL can only be used once. To prevent the user from accessing the sending account, set the returnUrl value in the request body. ## Information security notice If the returnUrl value is not set, this method provides full access to the sending account. If the account has administrative privileges, then this method also provides administrator access.

Link to this section Functions

Link to this function

views_post_template_edit_view(connection, account_id, template_id, opts \\ [])

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

Gets a URL for a template edit view. This method returns a URL for starting an edit view of a template that uses the DocuSign Template UI. The URL can only be used once. To prevent the user from accessing the sending account, set the returnUrl value in the request body. ## Information security notice If the returnUrl value is not set, this method provides full access to the sending account. If the account has administrative privileges, then this method also provides administrator access.

parameters

Parameters

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

returns

Returns

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