public class TemplatesApi extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
TemplatesApi.UpdateDocumentsOptions |
| Constructor and Description |
|---|
TemplatesApi() |
TemplatesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CustomFields |
createCustomFields(String accountId,
String templateId,
TemplateCustomFields templateCustomFields)
Creates custom document fields in an existing template document.
|
DocumentFieldsInformation |
createDocumentFields(String accountId,
String templateId,
String documentId,
DocumentFieldsInformation documentFieldsInformation)
Creates custom document fields in an existing template document.
|
Recipients |
createRecipients(String accountId,
String templateId,
TemplateRecipients templateRecipients)
Adds tabs for a recipient.
|
Tabs |
createTabs(String accountId,
String templateId,
String recipientId,
TemplateTabs templateTabs)
Adds tabs for a recipient.
|
TemplateSummary |
createTemplate(String accountId,
EnvelopeTemplate envelopeTemplate)
Creates an envelope from a template.
|
CustomFields |
deleteCustomFields(String accountId,
String templateId,
TemplateCustomFields templateCustomFields)
Deletes envelope custom fields in a template.
|
DocumentFieldsInformation |
deleteDocumentFields(String accountId,
String templateId,
String documentId,
DocumentFieldsInformation documentFieldsInformation)
Deletes custom document fields from an existing template document.
|
void |
deleteDocumentPage(String accountId,
String templateId,
String documentId,
String pageNumber,
PageRequest pageRequest)
Deletes a page from a document in an template.
|
TemplateDocumentsResult |
deleteDocuments(String accountId,
String templateId,
EnvelopeDefinition envelopeDefinition)
Deletes documents from a template.
|
GroupInformation |
deleteGroupShare(String accountId,
String templateId,
String templatePart,
GroupInformation groupInformation)
Removes a member group's sharing permissions for a template.
|
Recipients |
deleteRecipient(String accountId,
String templateId,
String recipientId,
TemplateRecipients templateRecipients)
Deletes the specified recipient file from a template.
|
Recipients |
deleteRecipients(String accountId,
String templateId,
TemplateRecipients templateRecipients)
Deletes recipients from a template.
|
Tabs |
deleteTabs(String accountId,
String templateId,
String recipientId,
TemplateTabs templateTabs)
Deletes the tabs associated with a recipient in a template.
|
EnvelopeTemplate |
get(String accountId,
String templateId)
Gets a list of templates for a specified account.
|
ApiClient |
getApiClient() |
byte[] |
getDocument(String accountId,
String templateId,
String documentId)
Gets PDF documents from a template.
|
LockInformation |
getLock(String accountId,
String templateId)
Gets template lock information.
|
Notification |
getNotificationSettings(String accountId,
String templateId)
Gets template notification information.
|
CustomFields |
listCustomFields(String accountId,
String templateId)
Gets the custom document fields from a template.
|
DocumentFieldsInformation |
listDocumentFields(String accountId,
String templateId,
String documentId)
Gets the custom document fields for a an existing template document.
|
TemplateDocumentsResult |
listDocuments(String accountId,
String templateId)
Gets a list of documents associated with a template.
|
Recipients |
listRecipients(String accountId,
String templateId)
Gets recipient information from a template.
|
Tabs |
listTabs(String accountId,
String templateId,
String recipientId,
Tabs tabs)
Gets the tabs information for a signer or sign-in-person recipient in a template.
|
EnvelopeTemplateResults |
listTemplates(String accountId)
Gets the definition of a template.
|
void |
setApiClient(ApiClient apiClient) |
TemplateUpdateSummary |
update(String accountId,
String templateId,
EnvelopeTemplate envelopeTemplate)
Updates an existing template.
|
CustomFields |
updateCustomFields(String accountId,
String templateId,
TemplateCustomFields templateCustomFields)
Updates envelope custom fields in a template.
|
DocumentFieldsInformation |
updateDocumentFields(String accountId,
String templateId,
String documentId,
DocumentFieldsInformation documentFieldsInformation)
Updates existing custom document fields in an existing template document.
|
TemplateDocumentsResult |
updateDocuments(String accountId,
String templateId,
EnvelopeDefinition envelopeDefinition)
Adds documents to a template document.
|
TemplateDocumentsResult |
updateDocuments(String accountId,
String templateId,
EnvelopeDefinition envelopeDefinition,
TemplatesApi.UpdateDocumentsOptions options)
Adds documents to a template document.
|
GroupInformation |
updateGroupShare(String accountId,
String templateId,
String templatePart,
GroupInformation groupInformation)
Shares a template with a group
Shares a template with the specified members group.
|
Notification |
updateNotificationSettings(String accountId,
String templateId,
TemplateNotificationRequest templateNotificationRequest)
Updates the notification structure for an existing template.
|
RecipientsUpdateSummary |
updateRecipients(String accountId,
String templateId,
TemplateRecipients templateRecipients)
Updates recipients in a template.
|
Tabs |
updateTabs(String accountId,
String templateId,
String recipientId,
TemplateTabs templateTabs)
Updates the tabs for a recipient.
|
public TemplatesApi()
public TemplatesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public CustomFields createCustomFields(String accountId, String templateId, TemplateCustomFields templateCustomFields) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.CreateCustomFieldsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic DocumentFieldsInformation createDocumentFields(String accountId, String templateId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.documentId - The ID of the document being accessed.
TemplatesApi.CreateDocumentFieldsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic Recipients createRecipients(String accountId, String templateId, TemplateRecipients templateRecipients) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.CreateRecipientsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic Tabs createTabs(String accountId, String templateId, String recipientId, TemplateTabs templateTabs) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.recipientId - The ID of the recipient being accessed.
TemplatesApi.CreateTabsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic TemplateSummary createTemplate(String accountId, EnvelopeTemplate envelopeTemplate) throws ApiException
accountId - The external account number (int) or account ID Guid.
TemplatesApi.CreateTemplateOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic CustomFields deleteCustomFields(String accountId, String templateId, TemplateCustomFields templateCustomFields) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.DeleteCustomFieldsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic DocumentFieldsInformation deleteDocumentFields(String accountId, String templateId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.documentId - The ID of the document being accessed.
TemplatesApi.DeleteDocumentFieldsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic void deleteDocumentPage(String accountId, String templateId, String documentId, String pageNumber, PageRequest pageRequest) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.documentId - The ID of the document being accessed.pageNumber - The page number being accessed.
TemplatesApi.DeleteDocumentPageOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic TemplateDocumentsResult deleteDocuments(String accountId, String templateId, EnvelopeDefinition envelopeDefinition) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.DeleteDocumentsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic GroupInformation deleteGroupShare(String accountId, String templateId, String templatePart, GroupInformation groupInformation) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.templatePart - Currently, the only defined part is **groups**.
TemplatesApi.DeleteGroupShareOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic Recipients deleteRecipient(String accountId, String templateId, String recipientId, TemplateRecipients templateRecipients) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.recipientId - The ID of the recipient being accessed.
TemplatesApi.DeleteRecipientOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic Recipients deleteRecipients(String accountId, String templateId, TemplateRecipients templateRecipients) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.DeleteRecipientsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic Tabs deleteTabs(String accountId, String templateId, String recipientId, TemplateTabs templateTabs) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.recipientId - The ID of the recipient being accessed.
TemplatesApi.DeleteTabsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic EnvelopeTemplate get(String accountId, String templateId) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.GetOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic byte[] getDocument(String accountId, String templateId, String documentId) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.documentId - The ID of the document being accessed.
TemplatesApi.GetDocumentOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic LockInformation getLock(String accountId, String templateId) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.GetLockOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic Notification getNotificationSettings(String accountId, String templateId) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.GetNotificationSettingsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic CustomFields listCustomFields(String accountId, String templateId) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.ListCustomFieldsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic DocumentFieldsInformation listDocumentFields(String accountId, String templateId, String documentId) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.documentId - The ID of the document being accessed.
TemplatesApi.ListDocumentFieldsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic TemplateDocumentsResult listDocuments(String accountId, String templateId) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.ListDocumentsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic Recipients listRecipients(String accountId, String templateId) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.ListRecipientsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic Tabs listTabs(String accountId, String templateId, String recipientId, Tabs tabs) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.recipientId - The ID of the recipient being accessed.
TemplatesApi.ListTabsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic EnvelopeTemplateResults listTemplates(String accountId) throws ApiException
accountId - The external account number (int) or account ID Guid.
TemplatesApi.ListTemplatesOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic TemplateUpdateSummary update(String accountId, String templateId, EnvelopeTemplate envelopeTemplate) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.UpdateOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic CustomFields updateCustomFields(String accountId, String templateId, TemplateCustomFields templateCustomFields) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.UpdateCustomFieldsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic DocumentFieldsInformation updateDocumentFields(String accountId, String templateId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.documentId - The ID of the document being accessed.
TemplatesApi.UpdateDocumentFieldsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic TemplateDocumentsResult updateDocuments(String accountId, String templateId, EnvelopeDefinition envelopeDefinition) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.ApiExceptionpublic TemplateDocumentsResult updateDocuments(String accountId, String templateId, EnvelopeDefinition envelopeDefinition, TemplatesApi.UpdateDocumentsOptions options) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.UpdateDocumentsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic GroupInformation updateGroupShare(String accountId, String templateId, String templatePart, GroupInformation groupInformation) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.templatePart - Currently, the only defined part is **groups**.
TemplatesApi.UpdateGroupShareOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic Notification updateNotificationSettings(String accountId, String templateId, TemplateNotificationRequest templateNotificationRequest) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.UpdateNotificationSettingsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic RecipientsUpdateSummary updateRecipients(String accountId, String templateId, TemplateRecipients templateRecipients) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.
TemplatesApi.UpdateRecipientsOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic Tabs updateTabs(String accountId, String templateId, String recipientId, TemplateTabs templateTabs) throws ApiException
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.recipientId - The ID of the recipient being accessed.
TemplatesApi.UpdateTabsOptions Options for modifying the method behavior.ApiException - if fails to make API callCopyright © 2016. All rights reserved.