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

API calls for all endpoints tagged TemplateDocumentFields.

Summary

Functions

Deletes custom document fields from an existing template document. Deletes custom document fields from an existing template document.

Gets the custom document fields for a an existing template document. This method retrieves the custom document fields for an existing template document.

Creates custom document fields in an existing template document. Creates custom document fields in an existing template document.

Updates existing custom document fields in an existing template document. Updates existing custom document fields in an existing template document.

Functions

Link to this function

document_fields_delete_template_document_fields(connection, account_id, document_id, template_id, opts \\ [])

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

Deletes custom document fields from an existing template document. Deletes custom document fields from an existing template document.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • document_id (String.t): The unique ID of the document within the envelope. Unlike other IDs in the eSignature API, you specify the documentId yourself. Typically the first document has the ID 1, the second document 2, and so on, but you can use any numbering scheme that fits within a 32-bit signed integer (1 through 2147483647). Tab objects have a documentId property that specifies the document on which to place the tab.
  • template_id (String.t): The ID of the template.
  • opts (keyword): Optional parameters
    • :body (DocumentFieldsInformation):

Returns

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

document_fields_get_template_document_fields(connection, account_id, document_id, template_id, opts \\ [])

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

Gets the custom document fields for a an existing template document. This method retrieves the custom document fields for an existing template document.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • document_id (String.t): The unique ID of the document within the envelope. Unlike other IDs in the eSignature API, you specify the documentId yourself. Typically the first document has the ID 1, the second document 2, and so on, but you can use any numbering scheme that fits within a 32-bit signed integer (1 through 2147483647). Tab objects have a documentId property that specifies the document on which to place the tab.
  • template_id (String.t): The ID of the template.
  • opts (keyword): Optional parameters

Returns

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

document_fields_post_template_document_fields(connection, account_id, document_id, template_id, opts \\ [])

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

Creates custom document fields in an existing template document. Creates custom document fields in an existing template document.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • document_id (String.t): The unique ID of the document within the envelope. Unlike other IDs in the eSignature API, you specify the documentId yourself. Typically the first document has the ID 1, the second document 2, and so on, but you can use any numbering scheme that fits within a 32-bit signed integer (1 through 2147483647). Tab objects have a documentId property that specifies the document on which to place the tab.
  • template_id (String.t): The ID of the template.
  • opts (keyword): Optional parameters
    • :body (DocumentFieldsInformation):

Returns

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

document_fields_put_template_document_fields(connection, account_id, document_id, template_id, opts \\ [])

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

Updates existing custom document fields in an existing template document. Updates existing custom document fields in an existing template document.

Parameters

  • connection (DocuSign.Connection): Connection to server
  • account_id (String.t): The external account number (int) or account ID GUID.
  • document_id (String.t): The unique ID of the document within the envelope. Unlike other IDs in the eSignature API, you specify the documentId yourself. Typically the first document has the ID 1, the second document 2, and so on, but you can use any numbering scheme that fits within a 32-bit signed integer (1 through 2147483647). Tab objects have a documentId property that specifies the document on which to place the tab.
  • template_id (String.t): The ID of the template.
  • opts (keyword): Optional parameters
    • :body (DocumentFieldsInformation):

Returns

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