DocuSign.Api.Templates.templates_get_templates

You're seeing just the function templates_get_templates, go back to DocuSign.Api.Templates module for more information.
Link to this function

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

View Source

Specs

templates_get_templates(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, DocuSign.Model.EnvelopeTemplateResults.t()} | {:error, Tesla.Env.t()}

Gets the definition of a template. Retrieves the list of templates for the specified account. The request can be limited to a specific folder.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID Guid.
  • opts (KeywordList): [optional] Optional parameters
    • :count (String.t): Number of records to return in the cache.
    • :folder (String.t): The query value can be a folder name or folder ID. The response will only return templates in the specified folder.
    • :folder_ids (String.t): A comma separated list of folder ID GUIDs.
    • :from_date (String.t): Start of the search date range. Only returns templates created on or after this date/time. If no value is specified, there is no limit on the earliest date created.
    • :include (String.t): A comma-separated list of additional template attributes to include in the response. Valid values are: custom_fields documents folders notifications * recipients
    • :modified_from_date (String.t):
    • :modified_to_date (String.t):
    • :order (String.t): Sets the direction order used to sort the list. Valid values are: -asc = ascending sort order (a to z) -desc = descending sort order (z to a)
    • :order_by (String.t): Sets the file attribute used to sort the list. Valid values are: -name: template name -modified: date/time template was last modified. -used: date/time the template was last used.
    • :search_text (String.t): The search text used to search the names of templates.
    • :shared_by_me (String.t): If true, the response only includes templates shared by the user. If false, the response only returns template not shared by the user. If not specified, the response is not affected.
    • :start_position (String.t): The starting index for the first template shown in the response. This must be greater than or equal to 0 (zero).
    • :to_date (String.t): End of the search date range. Only returns templates created up to this date/time. If no value is provided, this defaults to the current date.
    • :used_from_date (String.t): Start of the search date range. Only returns templates used or edited on or after this date/time. If no value is specified, there is no limit on the earliest date used.
    • :used_to_date (String.t): End of the search date range. Only returns templates used or edited up to this date/time. If no value is provided, this defaults to the current date.
    • :user_filter (String.t): Sets if the templates shown in the response Valid values are: -owned_by_me: only shows templates the user owns. -shared_with_me: only shows templates that are shared with the user. -all: shows all templates owned or shared with the user.
    • :user_id (String.t):

Returns

} on success {:error, info} on failure