public class EnvelopesApi extends Object
| Constructor and Description |
|---|
EnvelopesApi() |
EnvelopesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
DocumentTemplateList |
applyTemplate(String accountId,
String envelopeId,
DocumentTemplateList documentTemplateList)
Adds templates to an envelope.
|
DocumentTemplateList |
applyTemplateToDocument(String accountId,
String envelopeId,
String documentId,
DocumentTemplateList documentTemplateList)
Adds templates to a document in an envelope.
|
ChunkedUploadResponse |
createChunkedUpload(String accountId,
ChunkedUploadRequest chunkedUploadRequest)
Initiate a new ChunkedUpload.
|
ViewUrl |
createConsoleView(String accountId,
ConsoleViewRequest consoleViewRequest)
Returns a URL to the authentication view UI.
|
ViewUrl |
createCorrectView(String accountId,
String envelopeId,
CorrectViewRequest correctViewRequest)
Returns a URL to the envelope correction UI.
|
CustomFields |
createCustomFields(String accountId,
String envelopeId,
CustomFields customFields)
Updates envelope custom fields for an envelope.
|
DocumentFieldsInformation |
createDocumentFields(String accountId,
String envelopeId,
String documentId,
DocumentFieldsInformation documentFieldsInformation)
Creates custom document fields in an existing envelope document.
|
ViewUrl |
createEditView(String accountId,
String envelopeId,
ReturnUrlRequest returnUrlRequest)
Returns a URL to the edit view UI.
|
EmailSettings |
createEmailSettings(String accountId,
String envelopeId,
EmailSettings emailSettings)
Adds email setting overrides to an envelope.
|
EnvelopeSummary |
createEnvelope(String accountId,
EnvelopeDefinition envelopeDefinition)
Creates an envelope.
|
EnvelopeSummary |
createEnvelope(String accountId,
EnvelopeDefinition envelopeDefinition,
EnvelopesApi.CreateEnvelopeOptions options)
Creates an envelope.
|
LockInformation |
createLock(String accountId,
String envelopeId,
LockRequest lockRequest)
Lock an envelope.
|
Recipients |
createRecipient(String accountId,
String envelopeId,
Recipients recipients)
Adds one or more recipients to an envelope.
|
Recipients |
createRecipient(String accountId,
String envelopeId,
Recipients recipients,
EnvelopesApi.CreateRecipientOptions options)
Adds one or more recipients to an envelope.
|
ViewUrl |
createRecipientView(String accountId,
String envelopeId,
RecipientViewRequest recipientViewRequest)
Returns a URL to the recipient view UI.
|
ViewUrl |
createSenderView(String accountId,
String envelopeId,
ReturnUrlRequest returnUrlRequest)
Returns a URL to the sender view UI.
|
Tabs |
createTabs(String accountId,
String envelopeId,
String recipientId,
Tabs tabs)
Adds tabs for a recipient.
|
ViewUrl |
createViewLink(String accountId,
String envelopeId,
ViewLinkRequest viewLinkRequest)
Reserved: Returns a URL to the secure link view UI.
|
EnvelopeAttachmentsResult |
deleteAttachments(String accountId,
String envelopeId,
EnvelopeAttachmentsRequest envelopeAttachmentsRequest)
Delete one or more attachments from a DRAFT envelope.
|
ChunkedUploadResponse |
deleteChunkedUpload(String accountId,
String chunkedUploadId)
Delete an existing ChunkedUpload.
|
CustomFields |
deleteCustomFields(String accountId,
String envelopeId,
CustomFields customFields)
Deletes envelope custom fields for draft and in-process envelopes.
|
DocumentFieldsInformation |
deleteDocumentFields(String accountId,
String envelopeId,
String documentId,
DocumentFieldsInformation documentFieldsInformation)
Deletes custom document fields from an existing envelope document.
|
void |
deleteDocumentPage(String accountId,
String envelopeId,
String documentId,
String pageNumber)
Deletes a page from a document in an envelope.
|
EnvelopeDocumentsResult |
deleteDocuments(String accountId,
String envelopeId,
EnvelopeDefinition envelopeDefinition)
Deletes documents from a draft envelope.
|
EmailSettings |
deleteEmailSettings(String accountId,
String envelopeId)
Deletes the email setting overrides for an envelope.
|
LockInformation |
deleteLock(String accountId,
String envelopeId)
Deletes an envelope lock.
|
Recipients |
deleteRecipient(String accountId,
String envelopeId,
String recipientId)
Deletes a recipient from an envelope.
|
Recipients |
deleteRecipients(String accountId,
String envelopeId,
Recipients recipients)
Deletes recipients from an envelope.
|
Tabs |
deleteTabs(String accountId,
String envelopeId,
String recipientId,
Tabs tabs)
Deletes the tabs associated with a recipient.
|
void |
deleteTemplatesFromDocument(String accountId,
String envelopeId,
String documentId,
String templateId)
Deletes a template from a document in an existing envelope.
|
void |
deleteViewLink(String accountId,
String envelopeId)
Reserved: Expires a secure view link.
|
ApiClient |
getApiClient() |
void |
getAttachment(String accountId,
String envelopeId,
String attachmentId)
Retrieves an attachment from the envelope.
|
EnvelopeAttachmentsResult |
getAttachments(String accountId,
String envelopeId)
Returns a list of attachments associated with the specified envelope
|
ChunkedUploadResponse |
getChunkedUpload(String accountId,
String chunkedUploadId)
Retrieves the current metadata of a ChunkedUpload.
|
ChunkedUploadResponse |
getChunkedUpload(String accountId,
String chunkedUploadId,
EnvelopesApi.GetChunkedUploadOptions options)
Retrieves the current metadata of a ChunkedUpload.
|
ConsumerDisclosure |
getConsumerDisclosure(String accountId,
String envelopeId,
String recipientId,
String langCode)
Reserved: Gets the Electronic Record and Signature Disclosure associated with the account.
|
ConsumerDisclosure |
getConsumerDisclosure(String accountId,
String envelopeId,
String recipientId,
String langCode,
EnvelopesApi.GetConsumerDisclosureOptions options)
Reserved: Gets the Electronic Record and Signature Disclosure associated with the account.
|
ConsumerDisclosure |
getConsumerDisclosureDefault(String accountId,
String envelopeId,
String recipientId)
Gets the Electronic Record and Signature Disclosure associated with the account.
|
ConsumerDisclosure |
getConsumerDisclosureDefault(String accountId,
String envelopeId,
String recipientId,
EnvelopesApi.GetConsumerDisclosureDefaultOptions options)
Gets the Electronic Record and Signature Disclosure associated with the account.
|
byte[] |
getDocument(String accountId,
String envelopeId,
String documentId)
Gets a document from an envelope.
|
byte[] |
getDocument(String accountId,
String envelopeId,
String documentId,
EnvelopesApi.GetDocumentOptions options)
Gets a document from an envelope.
|
byte[] |
getDocumentPageImage(String accountId,
String envelopeId,
String documentId,
String pageNumber)
Gets a page image from an envelope for display.
|
byte[] |
getDocumentPageImage(String accountId,
String envelopeId,
String documentId,
String pageNumber,
EnvelopesApi.GetDocumentPageImageOptions options)
Gets a page image from an envelope for display.
|
EmailSettings |
getEmailSettings(String accountId,
String envelopeId)
Gets the email setting overrides for an envelope.
|
Envelope |
getEnvelope(String accountId,
String envelopeId)
Gets the status of a envelope.
|
Envelope |
getEnvelope(String accountId,
String envelopeId,
EnvelopesApi.GetEnvelopeOptions options)
Gets the status of a envelope.
|
EnvelopeFormData |
getFormData(String accountId,
String envelopeId)
Returns envelope form data for an existing envelope.
|
LockInformation |
getLock(String accountId,
String envelopeId)
Gets envelope lock information.
|
Notification |
getNotificationSettings(String accountId,
String envelopeId)
Gets envelope notification information.
|
DocumentVisibilityList |
getRecipientDocumentVisibility(String accountId,
String envelopeId,
String recipientId)
Returns document visibility for the recipients
|
byte[] |
getRecipientInitialsImage(String accountId,
String envelopeId,
String recipientId)
Gets the initials image for a user.
|
byte[] |
getRecipientInitialsImage(String accountId,
String envelopeId,
String recipientId,
EnvelopesApi.GetRecipientInitialsImageOptions options)
Gets the initials image for a user.
|
UserSignature |
getRecipientSignature(String accountId,
String envelopeId,
String recipientId)
Gets signature information for a signer or sign-in-person recipient.
|
byte[] |
getRecipientSignatureImage(String accountId,
String envelopeId,
String recipientId)
Retrieve signature image information for a signer/sign-in-person recipient.
|
byte[] |
getRecipientSignatureImage(String accountId,
String envelopeId,
String recipientId,
EnvelopesApi.GetRecipientSignatureImageOptions options)
Retrieve signature image information for a signer/sign-in-person recipient.
|
DocumentVisibilityList |
getTemplateRecipientDocumentVisibility(String accountId,
String templateId,
String recipientId)
Returns document visibility for the recipients
|
EnvelopeAuditEventResponse |
listAuditEvents(String accountId,
String envelopeId)
Gets the envelope audit events for an envelope.
|
CustomFieldsEnvelope |
listCustomFields(String accountId,
String envelopeId)
Gets the custom field information for the specified envelope.
|
DocumentFieldsInformation |
listDocumentFields(String accountId,
String envelopeId,
String documentId)
Gets the custom document fields from an existing envelope document.
|
EnvelopeDocumentsResult |
listDocuments(String accountId,
String envelopeId)
Gets a list of envelope documents.
|
EnvelopeDocumentsResult |
listDocuments(String accountId,
String envelopeId,
EnvelopesApi.ListDocumentsOptions options)
Gets a list of envelope documents.
|
Recipients |
listRecipients(String accountId,
String envelopeId)
Gets the status of recipients for an envelope.
|
Recipients |
listRecipients(String accountId,
String envelopeId,
EnvelopesApi.ListRecipientsOptions options)
Gets the status of recipients for an envelope.
|
EnvelopesInformation |
listStatus(String accountId,
EnvelopeIdsRequest envelopeIdsRequest)
Gets the envelope status for the specified envelopes.
|
EnvelopesInformation |
listStatus(String accountId,
EnvelopeIdsRequest envelopeIdsRequest,
EnvelopesApi.ListStatusOptions options)
Gets the envelope status for the specified envelopes.
|
EnvelopesInformation |
listStatusChanges(String accountId)
Gets status changes for one or more envelopes.
|
EnvelopesInformation |
listStatusChanges(String accountId,
EnvelopesApi.ListStatusChangesOptions options)
Gets status changes for one or more envelopes.
|
Tabs |
listTabs(String accountId,
String envelopeId,
String recipientId)
Gets the tabs information for a signer or sign-in-person recipient in an envelope.
|
Tabs |
listTabs(String accountId,
String envelopeId,
String recipientId,
EnvelopesApi.ListTabsOptions options)
Gets the tabs information for a signer or sign-in-person recipient in an envelope.
|
TemplateInformation |
listTemplates(String accountId,
String envelopeId)
Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope.
|
TemplateInformation |
listTemplates(String accountId,
String envelopeId,
EnvelopesApi.ListTemplatesOptions options)
Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope.
|
TemplateInformation |
listTemplatesForDocument(String accountId,
String envelopeId,
String documentId)
Gets the templates associated with a document in an existing envelope.
|
TemplateInformation |
listTemplatesForDocument(String accountId,
String envelopeId,
String documentId,
EnvelopesApi.ListTemplatesForDocumentOptions options)
Gets the templates associated with a document in an existing envelope.
|
EnvelopeAttachmentsResult |
putAttachment(String accountId,
String envelopeId,
String attachmentId,
Attachment attachment)
Add an attachment to a DRAFT or IN-PROCESS envelope.
|
EnvelopeAttachmentsResult |
putAttachments(String accountId,
String envelopeId,
EnvelopeAttachmentsRequest envelopeAttachmentsRequest)
Add one or more attachments to a DRAFT or IN-PROCESS envelope.
|
void |
rotateDocumentPage(String accountId,
String envelopeId,
String documentId,
String pageNumber,
PageRequest pageRequest)
Rotates page image from an envelope for display.
|
void |
setApiClient(ApiClient apiClient) |
EnvelopeUpdateSummary |
update(String accountId,
String envelopeId,
Envelope envelope)
Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality:\n\n* Sends the specified single draft envelope.\nAdd {"status":"sent"} to the request body to send the envelope.\n\n* Voids the specified in-process envelope.\nAdd {"status":"voided", "voidedReason":"The reason for voiding the envelope"} to the request body to void the envelope.\n\n* Replaces the current email subject and message for a draft envelope.\nAdd {"emailSubject":"subject", "emailBlurb":"message"} to the request body to modify the subject and message.\n\n* Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system.\nAdd {"purgeState":"purge type"} to the request body.\n\n*Additional information on purging documents*\n\nThe purge request can only be used for completed envelopes that are not marked as the authoritative copy.
|
EnvelopeUpdateSummary |
update(String accountId,
String envelopeId,
Envelope envelope,
EnvelopesApi.UpdateOptions options)
Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality:\n\n* Sends the specified single draft envelope.\nAdd {"status":"sent"} to the request body to send the envelope.\n\n* Voids the specified in-process envelope.\nAdd {"status":"voided", "voidedReason":"The reason for voiding the envelope"} to the request body to void the envelope.\n\n* Replaces the current email subject and message for a draft envelope.\nAdd {"emailSubject":"subject", "emailBlurb":"message"} to the request body to modify the subject and message.\n\n* Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system.\nAdd {"purgeState":"purge type"} to the request body.\n\n*Additional information on purging documents*\n\nThe purge request can only be used for completed envelopes that are not marked as the authoritative copy.
|
ChunkedUploadResponse |
updateChunkedUpload(String accountId,
String chunkedUploadId)
Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere.
|
ChunkedUploadResponse |
updateChunkedUpload(String accountId,
String chunkedUploadId,
EnvelopesApi.UpdateChunkedUploadOptions options)
Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere.
|
ChunkedUploadResponse |
updateChunkedUploadPart(String accountId,
String chunkedUploadId,
String chunkedUploadPartSeq,
ChunkedUploadRequest chunkedUploadRequest)
Add a chunk, a chunk 'part', to an existing ChunkedUpload.
|
CustomFields |
updateCustomFields(String accountId,
String envelopeId,
CustomFields customFields)
Updates envelope custom fields in an envelope.
|
void |
updateDocument(String accountId,
String envelopeId,
String documentId)
Adds a document to an existing draft envelope.
|
void |
updateDocument(String accountId,
String envelopeId,
String documentId,
EnvelopesApi.UpdateDocumentOptions options)
Adds a document to an existing draft envelope.
|
DocumentFieldsInformation |
updateDocumentFields(String accountId,
String envelopeId,
String documentId,
DocumentFieldsInformation documentFieldsInformation)
Updates existing custom document fields in an existing envelope document.
|
EnvelopeDocumentsResult |
updateDocuments(String accountId,
String envelopeId,
EnvelopeDefinition envelopeDefinition)
Adds one or more documents to an existing envelope document.
|
EnvelopeDocumentsResult |
updateDocuments(String accountId,
String envelopeId,
EnvelopeDefinition envelopeDefinition,
EnvelopesApi.UpdateDocumentsOptions options)
Adds one or more documents to an existing envelope document.
|
EmailSettings |
updateEmailSettings(String accountId,
String envelopeId,
EmailSettings emailSettings)
Updates the email setting overrides for an envelope.
|
LockInformation |
updateLock(String accountId,
String envelopeId,
LockRequest lockRequest)
Updates an envelope lock.
|
Notification |
updateNotificationSettings(String accountId,
String envelopeId,
EnvelopeNotificationRequest envelopeNotificationRequest)
Sets envelope notification (Reminders/Expirations) structure for an existing envelope.
|
DocumentVisibilityList |
updateRecipientDocumentVisibility(String accountId,
String envelopeId,
String recipientId,
DocumentVisibilityList documentVisibilityList)
Updates document visibility for the recipients
|
void |
updateRecipientInitialsImage(String accountId,
String envelopeId,
String recipientId)
Sets the initials image for an accountless signer.
|
RecipientsUpdateSummary |
updateRecipients(String accountId,
String envelopeId,
Recipients recipients)
Updates recipients in a draft envelope or corrects recipient information for an in process envelope.
|
RecipientsUpdateSummary |
updateRecipients(String accountId,
String envelopeId,
Recipients recipients,
EnvelopesApi.UpdateRecipientsOptions options)
Updates recipients in a draft envelope or corrects recipient information for an in process envelope.
|
DocumentVisibilityList |
updateRecipientsDocumentVisibility(String accountId,
String envelopeId,
DocumentVisibilityList documentVisibilityList)
Updates document visibility for the recipients
|
void |
updateRecipientSignatureImage(String accountId,
String envelopeId,
String recipientId)
Sets the signature image for an accountless signer.
|
Tabs |
updateTabs(String accountId,
String envelopeId,
String recipientId,
Tabs tabs)
Updates the tabs for a recipient.
|
TemplateDocumentVisibilityList |
updateTemplateRecipientDocumentVisibility(String accountId,
String templateId,
String recipientId,
TemplateDocumentVisibilityList templateDocumentVisibilityList)
Updates document visibility for the recipients
|
TemplateDocumentVisibilityList |
updateTemplateRecipientsDocumentVisibility(String accountId,
String templateId,
TemplateDocumentVisibilityList templateDocumentVisibilityList)
Updates document visibility for the recipients
|
public EnvelopesApi()
public EnvelopesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public ChunkedUploadResponse createChunkedUpload(String accountId, ChunkedUploadRequest chunkedUploadRequest) throws ApiException
Initiate a new ChunkedUpload.
accountId - The external account number (int) or account ID Guid.EnvelopesApi.CreateChunkedUploadOptions - Options for modifying the method behavior.ApiExceptionpublic ChunkedUploadResponse getChunkedUpload(String accountId, String chunkedUploadId) throws ApiException
Retrieves the current metadata of a ChunkedUpload.
accountId - The external account number (int) or account ID Guid.chunkedUploadId - ApiExceptionpublic ChunkedUploadResponse getChunkedUpload(String accountId, String chunkedUploadId, EnvelopesApi.GetChunkedUploadOptions options) throws ApiException
Retrieves the current metadata of a ChunkedUpload.
accountId - The external account number (int) or account ID Guid.chunkedUploadId - EnvelopesApi.GetChunkedUploadOptions - Options for modifying the method behavior.ApiExceptionpublic ChunkedUploadResponse updateChunkedUpload(String accountId, String chunkedUploadId) throws ApiException
Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere.
accountId - The external account number (int) or account ID Guid.chunkedUploadId - ApiExceptionpublic ChunkedUploadResponse updateChunkedUpload(String accountId, String chunkedUploadId, EnvelopesApi.UpdateChunkedUploadOptions options) throws ApiException
Integrity-Check and Commit a ChunkedUpload, readying it for use elsewhere.
accountId - The external account number (int) or account ID Guid.chunkedUploadId - EnvelopesApi.UpdateChunkedUploadOptions - Options for modifying the method behavior.ApiExceptionpublic ChunkedUploadResponse deleteChunkedUpload(String accountId, String chunkedUploadId) throws ApiException
Delete an existing ChunkedUpload.
accountId - The external account number (int) or account ID Guid.chunkedUploadId - EnvelopesApi.DeleteChunkedUploadOptions - Options for modifying the method behavior.ApiExceptionpublic ChunkedUploadResponse updateChunkedUploadPart(String accountId, String chunkedUploadId, String chunkedUploadPartSeq, ChunkedUploadRequest chunkedUploadRequest) throws ApiException
Add a chunk, a chunk 'part', to an existing ChunkedUpload.
accountId - The external account number (int) or account ID Guid.chunkedUploadId - chunkedUploadPartSeq - EnvelopesApi.UpdateChunkedUploadPartOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopesInformation listStatusChanges(String accountId) throws ApiException
Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response.\n\n### Important: Unless you are requesting the status for specific envelopes (using the envelopeIds or transactionIds properties), you must add a set the from_date property in the request.\n\nGetting envelope status using transactionIds is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned.\n\n### Request Envelope Status Notes ###\n\nThe REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for "any status change" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (from_to_status) set to Delivered — the response set might contain envelopes that were created during that time period, but not delivered during the time period.\n\nTo avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned.\n\nFor example, a request with a status qualifier (from_to_status) of Delivered and a status of "Created,Sent", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of Created or Sent, and since an envelope that has been delivered can never have a status of Created or Sent, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list.\n\nClient applications should check that the statuses they are requesting make sense for a given status qualifier.
accountId - The external account number (int) or account ID Guid.ApiExceptionpublic EnvelopesInformation listStatusChanges(String accountId, EnvelopesApi.ListStatusChangesOptions options) throws ApiException
Gets status changes for one or more envelopes. Retrieves envelope status changes for all envelopes. You can modify the information returned by adding query strings to limit the request to check between certain dates and times, or for certain envelopes, or for certain status codes. It is recommended that you use one or more of the query strings in order to limit the size of the response.\n\n### Important: Unless you are requesting the status for specific envelopes (using the envelopeIds or transactionIds properties), you must add a set the from_date property in the request.\n\nGetting envelope status using transactionIds is useful for offline signing situations where it can be used determine if an envelope was created or not, for the cases where a network connection was lost, before the envelope status could be returned.\n\n### Request Envelope Status Notes ###\n\nThe REST API GET /envelopes call uses certain filters to find results. In some cases requests are check for "any status change" instead of the just the single status requested. In these cases, more envelopes might be returned by the request than otherwise would be. For example, for a request with the begin date is set to Jan 1st, an end date set to Jan 7th and the status qualifier (from_to_status) set to Delivered — the response set might contain envelopes that were created during that time period, but not delivered during the time period.\n\nTo avoid unnecessary database queries, the DocuSign system checks requests to ensure that the added filters will not result in a zero-size response before acting on the request. The following table shows the valid envelope statuses (in the Valid Current Statuses column) for the status qualifiers in the request. If the status and status qualifiers in the API request do not contain any of the values shown in the valid current statuses column, then an empty list is returned.\n\nFor example, a request with a status qualifier (from_to_status) of Delivered and a status of "Created,Sent", DocuSign will always return an empty list. This is because the request essentially translates to: find the envelopes that were delivered between the begin and end dates that have a current status of Created or Sent, and since an envelope that has been delivered can never have a status of Created or Sent, a zero-size response would be generated. In this case, DocuSign does not run the request, but just returns the empty list.\n\nClient applications should check that the statuses they are requesting make sense for a given status qualifier.
accountId - The external account number (int) or account ID Guid.EnvelopesApi.ListStatusChangesOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopeSummary createEnvelope(String accountId, EnvelopeDefinition envelopeDefinition) throws ApiException
Creates an envelope. Creates an envelope. \n\nUsing this function you can:\n* Create an envelope and send it.\n* Create an envelope from an existing template and send it.\n\nIn either case, you can choose to save the envelope as a draft envelope instead of sending it by setting the request’s status property to created instead of sent.\n\n## Sending Envelopes\n\nDocuments can be included with the Envelopes::create call itself or a template can include documents. Documents can be added by using a multi-part/form request or by using the documentBase64 field of the document object\n\n### Recipient Types\nAn envelopeDefinition object is used as the method’s body. Envelope recipients can be defined in the envelope or in templates. The envelopeDefinition object’s recipients field is an EnvelopeRecipients resource object. It includes arrays of the seven types of recipients defined by DocuSign:\n\nRecipient type | Object definition\n————– | —————–\nagent (can add name and email information for later recipients/signers) | agent\ncarbon copy (receives a copy of the documents) | carbonCopy\ncertified delivery (receives a copy of the documents and must acknowledge receipt) | certifiedDelivery\neditor (can change recipients and document fields for later recipients/signers) | editor\nin-person signer (“hosts” someone who signs in-person) | inPersonSigner\nintermediary (can add name and email information for some later recipients/signers.) | intermediary\nsigner (signs and/or updates document fields) | signer\n\nAdditional information about the different types of recipients is available from the EnvelopeRecipients resource page and from the Developer Center\n\n### Tabs\nTabs (also referred to as tags and as fields in the web sending user interface), can be defined in the envelopeDefinition, in templates, by transforming PDF Form Fields, or by using Composite Templates (see below).\n\nDefining tabs: the inPersonSigner, and signer recipient objects include a tabs field. It is an EnvelopeTabs resource object. It includes arrays of the 24 different tab types available. See the EnvelopeTabs resource for more information.\n\n## Using Templates\nEnvelopes use specific people or groups as recipients. Templates can specify a role, eg account_manager. When a template is used in an envelope, the roles must be replaced with specific people or groups.\n\nWhen you create an envelope using a templateId, the different recipient type objects within the EnvelopeRecipients object are used to assign recipients to the template’s roles via the roleName property. The recipient objects can also override settings that were specified in the template, and set values for tab fields that were defined in the template.\n\n### Message Lock\nWhen a template is added or applied to an envelope and the template has a locked email subject and message, that subject and message are used for the envelope and cannot be changed even if another locked template is subsequently added or applied to the envelope. The field messageLock is used to lock the email subject and message.\n\nIf an email subject or message is entered before adding or applying a template with messageLock true, the email subject and message is overwritten with the locked email subject and message from the template.\n\n## Envelope Status\nThe status of sent envelopes can be determined through the DocuSign webhook system or by polling. Webhooks are highly recommended: they provide your application with the quickest updates when an envelope’s status changes. DocuSign limits polling to once every 15 minutes or less frequently.\n\nWhen a webhook is used, DocuSign calls your application, via the URL you provide, with a notification XML message. \n\nSee the Webhook recipe for examples and live demos of using webhooks.\n\n## Webhook Options\nThe two webhook options, eventNotification and Connect use the same notification mechanism and message formats. eventNotification is used to create a webhook for a specific envelope sent via the API. Connect webhooks can be used for any envelope sent from an account, from any user, from any client. \n\n### eventNotification Webhooks\nThe Envelopes::create method includes an optional eventNotification object that adds a webhook to the envelope. eventNotification webhooks are available for all DocuSign accounts with API access.\n\n### Connect Webhooks\nConnect can be used to create a webhook for all envelopes sent by all users in an account, either through the API or via other DocuSign clients (web, mobile, etc). Connect configurations are independent of specific envelopes. A Connect configuration includes a filter that may be used to limit the webhook to specific users, envelope statuses, etc. \n\nConnect configurations may be created and managed using the ConnectConfigurations resource. Configurations can also be created and managed from the Administration tool accessed by selecting “Go to Admin” from the menu next to your picture on the DocuSign web app. See the Integrations/Connect section of the Admin tool. For repeatability, and to minimize support questions, creating Connect configurations via the API is recommended, especially for ISVs.\n\nConnect is available for some DocuSign account types. Please contact DocuSign Sales for more information.\n\n## Composite Templates\n\nThe Composite Templates feature, like compositing in film production, enables you to overlay document, recipient, and tab definitions from multiple sources, including PDF Form Field definitions, templates defined on the server, and more.\n\nEach Composite Template consists of optional elements: server templates, inline templates, PDF Metadata templates, and documents.\n\n* The Composite Template ID is an optional element used to identify the composite template. It is used as a reference when adding document object information via a multi-part HTTP message. If used, the document content-disposition must include the compositeTemplateId to which the document should be added. If compositeTemplateId is not specified in the content-disposition, the document is applied based on the documentId only. If no document object is specified, the composite template inherits the first document.\n\n* Server Templates are server-side templates stored on the DocuSign platform. If supplied, they are overlaid into the envelope in the order of their Sequence value.\n\n* Inline Templates provide a container to add documents, recipients, tabs, and custom fields. If inline templates are supplied, they are overlaid into the envelope in the order of their Sequence value.\n\n* Document objects are optional structures that provide a container to pass in a document or form. If this object is not included, the composite template inherits the first document it finds from a server template or inline template, starting with the lowest sequence value.\n\nPDF Form objects are only transformed from the document object. DocuSign does not derive PDF form properties from server templates or inline templates. To instruct DocuSign to transform fields from the PDF form, set transformPdfFields to "true" for the document. See the Transform PDF Fields section for more information about process.\n\n* PDF Metadata Templates provide a container to embed design-time template information into a PDF document. DocuSign uses this information when processing the Envelope. This convention allows the document to carry the signing instructions with it, so that less information needs to be provided at run-time through an inline template or synchronized with an external structure like a server template. PDF Metadata templates are stored in the Metadata layer of a PDF in accordance with Acrobat's XMP specification. DocuSign will only find PDF Metadata templates inside documents passed in the Document object (see below). If supplied, the PDF metadata template will be overlaid into the envelope in the order of its Sequence value.\n\n### Compositing the definitions\nEach Composite Template adds a new document and templates overlay into the envelope. For each Composite Template these rules are applied:\n\n* Templates are overlaid in the order of their Sequence value.\n* If Document is not passed into the Composite Template’s document field, the first template’s document (based on the template’s Sequence value) is used.\n* Last in wins in all cases except for the document (i.e. envelope information, recipient information, secure field information). There is no special casing.\n\nFor example, if you want higher security on a tab, then that needs to be specified in a later template (by sequence number) then where the tab is included. If you want higher security on a role recipient, then it needs to be in a later template then where that role recipient is specified.\n\n* Recipient matching is based on Recipient Role and Routing Order. If there are matches, the recipient information is merged together. A final pass is done on all Composite Templates, after all template overlays have been applied, to collapse recipients with the same email, username and routing order. This prevents having the same recipients at the same routing order.\n\n* If you specify in a template that a recipient is locked, once that recipient is overlaid the recipient attributes can no longer be changed. The only items that can be changed for the recipient in this case are the email, username, access code and IDCheckInformationInput.\n\n* Tab matching is based on Tab Labels, Tab Types and Documents. If a Tab Label matches but the Document is not supplied, the Tab is overlaid for all the Documents.\n\nFor example, if you have a simple inline template with only one tab in it with a label and a value, the Signature, Initial, Company, Envelope ID, User Name tabs will only be matched and collapsed if they fall in the exact same X and Y locations.\n\n* roleName and tabLabel matching is case sensitive.\n\n* The defaultRecipient field enables you to specify which recipient the generated tabs from a PDF form are mapped to. You can also set PDF form generated tabs to a recipient other than the DefaultRecipient by specifying the mapping of the tab label that is created to one of the template recipients.\n\n* You can use tabLabel wild carding to map a series of tabs from the PDF form. To use this you must end a tab label with “*” and then the system matches tabs that start with the label.\n\n* If no DefaultRecipient is specified, tabs must be explicitly mapped to recipients in order to be generated from the form. Unmapped form objects will not be generated into their DocuSign equivalents. (In the case of Signature/Initials, the tabs will be disregarded entirely; in the case of pdf text fields, the field data will be flattened on the Envelope document, but there will not be a corresponding DocuSign data tab.)\n\n### Including the Document Content for Composite Templates\nDocument content can be supplied inline, using the documentBase64 or can be included in a multi-part HTTP message. \nIf a multi-part message is used and there are multiple Composite Templates, the document content-disposition can include the compositeTemplateId to which the document should be added. Using the compositeTemplateId sets which documents are associated with particular composite templates. An example of this usage is:\n\n\n --5cd3320a-5aac-4453-b3a4-cbb52a4cba5d\n Content-Type: application/pdf\n Content-Disposition: file; filename=\"eula.pdf\"; documentId=1; compositeTemplateId=\"1\"\n Content-Transfer-Encoding: base64\n\n\n### PDF Form Field Transformation\nOnly the following PDF Form FieldTypes will be transformed to DocuSign tabs: CheckBox, DateTime, ListBox, Numeric, Password, Radio, Signature, and Text\n\nField Properties that will be transformed: Read Only, Required, Max Length, Positions, and Initial Data.\n\nWhen transforming a PDF Form Digital Signature Field, the following rules are used:\n\nIf the PDF Field Name Contains | Then the DocuSign Tab Will be\n——- | ——–\nDocuSignSignHere or eSignSignHere | Signature\nDocuSignSignHereOptional or eSignSignHereOptional | Optional Signature\nDocuSignInitialHere or eSignInitialHere | Initials\nDocuSignInitialHereOptional or eSignInitialHereOptional | Optional Initials\n\nAny other PDF Form Digital Signature Field will be transformed to a DocuSign Signature tab\n\nWhen transforming PDF Form Text Fields, the following rules are used:\n\nIf the PDF Field Name Contains | Then the DocuSign Tab Will be\n——- | ——–\nDocuSignSignHere or eSignSignHere | Signature\nDocuSignSignHereOptional or eSignSignHereOptional | Optional Signature\nDocuSignInitialHere or eSignInitialHere | Initials\nDocuSignInitialHereOptional or eSignInitialHereOptional | Optional Initials\nDocuSignEnvelopeID or eSignEnvelopeID | EnvelopeID\nDocuSignCompany or eSignCompany | Company\nDocuSignDateSigned or eSignDateSigned | Date Signed\nDocuSignTitle or eSignTitle | Title\nDocuSignFullName or eSignFullName | Full Name\nDocuSignSignerAttachmentOptional or eSignSignerAttachmentOptional | Optional Signer Attachment\n\nAny other PDF Form Text Field will be transformed to a DocuSign data (text) tab.\n\nPDF Form Field Names that include “DocuSignIgnoreTransform” or “eSignIgnoreTransform” will not be transformed.\n\nPDF Form Date fields will be transformed to Date Signed fields if their name includes DocuSignDateSigned or eSignDateSigned.\n\n## Template Email Subject Merge Fields\nThis feature enables you to insert recipient name and email address merge fields into the email subject line when creating or sending from a template.\n\nThe merge fields, based on the recipient’s roleName, are added to the emailSubject when the template is created or when the template is used to create an envelope. After a template sender adds the name and email information for the recipient and sends the envelope, the recipient information is automatically merged into the appropriate fields in the email subject line.\n\nBoth the sender and the recipients will see the information in the email subject line for any emails associated with the template. This provides an easy way for senders to organize their envelope emails without having to open an envelope to check the recipient.\n\nIf merging the recipient information into the subject line causes the subject line to exceed 100 characters, then any characters over the 100 character limit are not included in the subject line. For cases where the recipient name or email is expected to be long, you should consider placing the merge field at the start of the email subject.\n\n* To add a recipient’s name in the subject line add the following text in the emailSubject when creating the template or when sending an envelope from a template:\n\n <roleName>_UserName\n\n Example:\n\n \"emailSubject\":\"[[Signer 1_UserName]], Please sign this NDA\",\n\n* To add a recipient’s email address in the subject line add the following text in the emailSubject when creating the template or when sending an envelope from a template:\n\n <roleName>_Email\n\n Example:\n\n \"emailSubject\":\"[[Signer 1_Email]], Please sign this NDA\",\n\nIn both cases the <roleName> is the recipient’s roleName in the template.\n\nFor cases where another recipient (such as an Agent, Editor, or Intermediary recipient) is entering the name and email information for the recipient included in the email subject, then <roleName>_UserName or <roleName>_Email is shown in the email subject.\n\n## Branding an envelope\nThe following rules are used to determine the brandId used in an envelope:\n\n* If a brandId is specified in the envelope/template and that brandId is available to the account, that brand is used in the envelope.\n* If more than one template is used in an envelope and more than one brandId is specified, the first brandId specified is used throughout the envelope.\n* In cases where no brand is specified and the sender belongs to a Group; if there is only one brand associated with the Group, then that brand is used in the envelope. Otherwise, the account’s default signing brand is used.\n* For envelopes that do not meet any of the previous criteria, the account’s default signing brand is used for the envelope.\n\n## BCC Email address feature \nThe BCC Email address feature is designed to provide a copy of all email communications for external archiving purposes. DocuSign recommends that envelopes sent using the BCC for Email Archive feature, including the BCC Email Override option, include additional signer authentication options. To send a copy of the envelope to a recipient who does not need to sign, don’t use the BCC Email field. Use a Carbon Copy or Certified Delivery Recipient type.\n\n## Merge Recipient Roles for Draft Envelopes\nWhen an envelope with multiple templates is sent, the recipients from the templates are merged according to the template roles, and empty recipients are removed. When creating an envelope with multiple templates, but not sending it (keeping it in a created state), duplicate recipients are not merged, which could cause leave duplicate recipients in the envelope.\n\nTo prevent this, the query parameter merge_roles_on_draft should be added when posting a draft envelope (status=created) with multiple templates. Doing this will merge template roles and remove empty recipients.\n\n###### Note: DocuSign recommends that the merge_roles_on_draft query parameter be used anytime you are creating an envelope with multiple templates and keeping it in draft (created) status.
accountId - The external account number (int) or account ID Guid.ApiExceptionpublic EnvelopeSummary createEnvelope(String accountId, EnvelopeDefinition envelopeDefinition, EnvelopesApi.CreateEnvelopeOptions options) throws ApiException
Creates an envelope. Creates an envelope. \n\nUsing this function you can:\n* Create an envelope and send it.\n* Create an envelope from an existing template and send it.\n\nIn either case, you can choose to save the envelope as a draft envelope instead of sending it by setting the request’s status property to created instead of sent.\n\n## Sending Envelopes\n\nDocuments can be included with the Envelopes::create call itself or a template can include documents. Documents can be added by using a multi-part/form request or by using the documentBase64 field of the document object\n\n### Recipient Types\nAn envelopeDefinition object is used as the method’s body. Envelope recipients can be defined in the envelope or in templates. The envelopeDefinition object’s recipients field is an EnvelopeRecipients resource object. It includes arrays of the seven types of recipients defined by DocuSign:\n\nRecipient type | Object definition\n————– | —————–\nagent (can add name and email information for later recipients/signers) | agent\ncarbon copy (receives a copy of the documents) | carbonCopy\ncertified delivery (receives a copy of the documents and must acknowledge receipt) | certifiedDelivery\neditor (can change recipients and document fields for later recipients/signers) | editor\nin-person signer (“hosts” someone who signs in-person) | inPersonSigner\nintermediary (can add name and email information for some later recipients/signers.) | intermediary\nsigner (signs and/or updates document fields) | signer\n\nAdditional information about the different types of recipients is available from the EnvelopeRecipients resource page and from the Developer Center\n\n### Tabs\nTabs (also referred to as tags and as fields in the web sending user interface), can be defined in the envelopeDefinition, in templates, by transforming PDF Form Fields, or by using Composite Templates (see below).\n\nDefining tabs: the inPersonSigner, and signer recipient objects include a tabs field. It is an EnvelopeTabs resource object. It includes arrays of the 24 different tab types available. See the EnvelopeTabs resource for more information.\n\n## Using Templates\nEnvelopes use specific people or groups as recipients. Templates can specify a role, eg account_manager. When a template is used in an envelope, the roles must be replaced with specific people or groups.\n\nWhen you create an envelope using a templateId, the different recipient type objects within the EnvelopeRecipients object are used to assign recipients to the template’s roles via the roleName property. The recipient objects can also override settings that were specified in the template, and set values for tab fields that were defined in the template.\n\n### Message Lock\nWhen a template is added or applied to an envelope and the template has a locked email subject and message, that subject and message are used for the envelope and cannot be changed even if another locked template is subsequently added or applied to the envelope. The field messageLock is used to lock the email subject and message.\n\nIf an email subject or message is entered before adding or applying a template with messageLock true, the email subject and message is overwritten with the locked email subject and message from the template.\n\n## Envelope Status\nThe status of sent envelopes can be determined through the DocuSign webhook system or by polling. Webhooks are highly recommended: they provide your application with the quickest updates when an envelope’s status changes. DocuSign limits polling to once every 15 minutes or less frequently.\n\nWhen a webhook is used, DocuSign calls your application, via the URL you provide, with a notification XML message. \n\nSee the Webhook recipe for examples and live demos of using webhooks.\n\n## Webhook Options\nThe two webhook options, eventNotification and Connect use the same notification mechanism and message formats. eventNotification is used to create a webhook for a specific envelope sent via the API. Connect webhooks can be used for any envelope sent from an account, from any user, from any client. \n\n### eventNotification Webhooks\nThe Envelopes::create method includes an optional eventNotification object that adds a webhook to the envelope. eventNotification webhooks are available for all DocuSign accounts with API access.\n\n### Connect Webhooks\nConnect can be used to create a webhook for all envelopes sent by all users in an account, either through the API or via other DocuSign clients (web, mobile, etc). Connect configurations are independent of specific envelopes. A Connect configuration includes a filter that may be used to limit the webhook to specific users, envelope statuses, etc. \n\nConnect configurations may be created and managed using the ConnectConfigurations resource. Configurations can also be created and managed from the Administration tool accessed by selecting “Go to Admin” from the menu next to your picture on the DocuSign web app. See the Integrations/Connect section of the Admin tool. For repeatability, and to minimize support questions, creating Connect configurations via the API is recommended, especially for ISVs.\n\nConnect is available for some DocuSign account types. Please contact DocuSign Sales for more information.\n\n## Composite Templates\n\nThe Composite Templates feature, like compositing in film production, enables you to overlay document, recipient, and tab definitions from multiple sources, including PDF Form Field definitions, templates defined on the server, and more.\n\nEach Composite Template consists of optional elements: server templates, inline templates, PDF Metadata templates, and documents.\n\n* The Composite Template ID is an optional element used to identify the composite template. It is used as a reference when adding document object information via a multi-part HTTP message. If used, the document content-disposition must include the compositeTemplateId to which the document should be added. If compositeTemplateId is not specified in the content-disposition, the document is applied based on the documentId only. If no document object is specified, the composite template inherits the first document.\n\n* Server Templates are server-side templates stored on the DocuSign platform. If supplied, they are overlaid into the envelope in the order of their Sequence value.\n\n* Inline Templates provide a container to add documents, recipients, tabs, and custom fields. If inline templates are supplied, they are overlaid into the envelope in the order of their Sequence value.\n\n* Document objects are optional structures that provide a container to pass in a document or form. If this object is not included, the composite template inherits the first document it finds from a server template or inline template, starting with the lowest sequence value.\n\nPDF Form objects are only transformed from the document object. DocuSign does not derive PDF form properties from server templates or inline templates. To instruct DocuSign to transform fields from the PDF form, set transformPdfFields to "true" for the document. See the Transform PDF Fields section for more information about process.\n\n* PDF Metadata Templates provide a container to embed design-time template information into a PDF document. DocuSign uses this information when processing the Envelope. This convention allows the document to carry the signing instructions with it, so that less information needs to be provided at run-time through an inline template or synchronized with an external structure like a server template. PDF Metadata templates are stored in the Metadata layer of a PDF in accordance with Acrobat's XMP specification. DocuSign will only find PDF Metadata templates inside documents passed in the Document object (see below). If supplied, the PDF metadata template will be overlaid into the envelope in the order of its Sequence value.\n\n### Compositing the definitions\nEach Composite Template adds a new document and templates overlay into the envelope. For each Composite Template these rules are applied:\n\n* Templates are overlaid in the order of their Sequence value.\n* If Document is not passed into the Composite Template’s document field, the first template’s document (based on the template’s Sequence value) is used.\n* Last in wins in all cases except for the document (i.e. envelope information, recipient information, secure field information). There is no special casing.\n\nFor example, if you want higher security on a tab, then that needs to be specified in a later template (by sequence number) then where the tab is included. If you want higher security on a role recipient, then it needs to be in a later template then where that role recipient is specified.\n\n* Recipient matching is based on Recipient Role and Routing Order. If there are matches, the recipient information is merged together. A final pass is done on all Composite Templates, after all template overlays have been applied, to collapse recipients with the same email, username and routing order. This prevents having the same recipients at the same routing order.\n\n* If you specify in a template that a recipient is locked, once that recipient is overlaid the recipient attributes can no longer be changed. The only items that can be changed for the recipient in this case are the email, username, access code and IDCheckInformationInput.\n\n* Tab matching is based on Tab Labels, Tab Types and Documents. If a Tab Label matches but the Document is not supplied, the Tab is overlaid for all the Documents.\n\nFor example, if you have a simple inline template with only one tab in it with a label and a value, the Signature, Initial, Company, Envelope ID, User Name tabs will only be matched and collapsed if they fall in the exact same X and Y locations.\n\n* roleName and tabLabel matching is case sensitive.\n\n* The defaultRecipient field enables you to specify which recipient the generated tabs from a PDF form are mapped to. You can also set PDF form generated tabs to a recipient other than the DefaultRecipient by specifying the mapping of the tab label that is created to one of the template recipients.\n\n* You can use tabLabel wild carding to map a series of tabs from the PDF form. To use this you must end a tab label with “*” and then the system matches tabs that start with the label.\n\n* If no DefaultRecipient is specified, tabs must be explicitly mapped to recipients in order to be generated from the form. Unmapped form objects will not be generated into their DocuSign equivalents. (In the case of Signature/Initials, the tabs will be disregarded entirely; in the case of pdf text fields, the field data will be flattened on the Envelope document, but there will not be a corresponding DocuSign data tab.)\n\n### Including the Document Content for Composite Templates\nDocument content can be supplied inline, using the documentBase64 or can be included in a multi-part HTTP message. \nIf a multi-part message is used and there are multiple Composite Templates, the document content-disposition can include the compositeTemplateId to which the document should be added. Using the compositeTemplateId sets which documents are associated with particular composite templates. An example of this usage is:\n\n\n --5cd3320a-5aac-4453-b3a4-cbb52a4cba5d\n Content-Type: application/pdf\n Content-Disposition: file; filename=\"eula.pdf\"; documentId=1; compositeTemplateId=\"1\"\n Content-Transfer-Encoding: base64\n\n\n### PDF Form Field Transformation\nOnly the following PDF Form FieldTypes will be transformed to DocuSign tabs: CheckBox, DateTime, ListBox, Numeric, Password, Radio, Signature, and Text\n\nField Properties that will be transformed: Read Only, Required, Max Length, Positions, and Initial Data.\n\nWhen transforming a PDF Form Digital Signature Field, the following rules are used:\n\nIf the PDF Field Name Contains | Then the DocuSign Tab Will be\n——- | ——–\nDocuSignSignHere or eSignSignHere | Signature\nDocuSignSignHereOptional or eSignSignHereOptional | Optional Signature\nDocuSignInitialHere or eSignInitialHere | Initials\nDocuSignInitialHereOptional or eSignInitialHereOptional | Optional Initials\n\nAny other PDF Form Digital Signature Field will be transformed to a DocuSign Signature tab\n\nWhen transforming PDF Form Text Fields, the following rules are used:\n\nIf the PDF Field Name Contains | Then the DocuSign Tab Will be\n——- | ——–\nDocuSignSignHere or eSignSignHere | Signature\nDocuSignSignHereOptional or eSignSignHereOptional | Optional Signature\nDocuSignInitialHere or eSignInitialHere | Initials\nDocuSignInitialHereOptional or eSignInitialHereOptional | Optional Initials\nDocuSignEnvelopeID or eSignEnvelopeID | EnvelopeID\nDocuSignCompany or eSignCompany | Company\nDocuSignDateSigned or eSignDateSigned | Date Signed\nDocuSignTitle or eSignTitle | Title\nDocuSignFullName or eSignFullName | Full Name\nDocuSignSignerAttachmentOptional or eSignSignerAttachmentOptional | Optional Signer Attachment\n\nAny other PDF Form Text Field will be transformed to a DocuSign data (text) tab.\n\nPDF Form Field Names that include “DocuSignIgnoreTransform” or “eSignIgnoreTransform” will not be transformed.\n\nPDF Form Date fields will be transformed to Date Signed fields if their name includes DocuSignDateSigned or eSignDateSigned.\n\n## Template Email Subject Merge Fields\nThis feature enables you to insert recipient name and email address merge fields into the email subject line when creating or sending from a template.\n\nThe merge fields, based on the recipient’s roleName, are added to the emailSubject when the template is created or when the template is used to create an envelope. After a template sender adds the name and email information for the recipient and sends the envelope, the recipient information is automatically merged into the appropriate fields in the email subject line.\n\nBoth the sender and the recipients will see the information in the email subject line for any emails associated with the template. This provides an easy way for senders to organize their envelope emails without having to open an envelope to check the recipient.\n\nIf merging the recipient information into the subject line causes the subject line to exceed 100 characters, then any characters over the 100 character limit are not included in the subject line. For cases where the recipient name or email is expected to be long, you should consider placing the merge field at the start of the email subject.\n\n* To add a recipient’s name in the subject line add the following text in the emailSubject when creating the template or when sending an envelope from a template:\n\n <roleName>_UserName\n\n Example:\n\n \"emailSubject\":\"[[Signer 1_UserName]], Please sign this NDA\",\n\n* To add a recipient’s email address in the subject line add the following text in the emailSubject when creating the template or when sending an envelope from a template:\n\n <roleName>_Email\n\n Example:\n\n \"emailSubject\":\"[[Signer 1_Email]], Please sign this NDA\",\n\nIn both cases the <roleName> is the recipient’s roleName in the template.\n\nFor cases where another recipient (such as an Agent, Editor, or Intermediary recipient) is entering the name and email information for the recipient included in the email subject, then <roleName>_UserName or <roleName>_Email is shown in the email subject.\n\n## Branding an envelope\nThe following rules are used to determine the brandId used in an envelope:\n\n* If a brandId is specified in the envelope/template and that brandId is available to the account, that brand is used in the envelope.\n* If more than one template is used in an envelope and more than one brandId is specified, the first brandId specified is used throughout the envelope.\n* In cases where no brand is specified and the sender belongs to a Group; if there is only one brand associated with the Group, then that brand is used in the envelope. Otherwise, the account’s default signing brand is used.\n* For envelopes that do not meet any of the previous criteria, the account’s default signing brand is used for the envelope.\n\n## BCC Email address feature \nThe BCC Email address feature is designed to provide a copy of all email communications for external archiving purposes. DocuSign recommends that envelopes sent using the BCC for Email Archive feature, including the BCC Email Override option, include additional signer authentication options. To send a copy of the envelope to a recipient who does not need to sign, don’t use the BCC Email field. Use a Carbon Copy or Certified Delivery Recipient type.\n\n## Merge Recipient Roles for Draft Envelopes\nWhen an envelope with multiple templates is sent, the recipients from the templates are merged according to the template roles, and empty recipients are removed. When creating an envelope with multiple templates, but not sending it (keeping it in a created state), duplicate recipients are not merged, which could cause leave duplicate recipients in the envelope.\n\nTo prevent this, the query parameter merge_roles_on_draft should be added when posting a draft envelope (status=created) with multiple templates. Doing this will merge template roles and remove empty recipients.\n\n###### Note: DocuSign recommends that the merge_roles_on_draft query parameter be used anytime you are creating an envelope with multiple templates and keeping it in draft (created) status.
accountId - The external account number (int) or account ID Guid.EnvelopesApi.CreateEnvelopeOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopesInformation listStatus(String accountId, EnvelopeIdsRequest envelopeIdsRequest) throws ApiException
Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes.
accountId - The external account number (int) or account ID Guid.ApiExceptionpublic EnvelopesInformation listStatus(String accountId, EnvelopeIdsRequest envelopeIdsRequest, EnvelopesApi.ListStatusOptions options) throws ApiException
Gets the envelope status for the specified envelopes. Retrieves the envelope status for the specified envelopes.
accountId - The external account number (int) or account ID Guid.EnvelopesApi.ListStatusOptions - Options for modifying the method behavior.ApiExceptionpublic Envelope getEnvelope(String accountId, String envelopeId) throws ApiException
Gets the status of a envelope. Retrieves the overall status for the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.ApiExceptionpublic Envelope getEnvelope(String accountId, String envelopeId, EnvelopesApi.GetEnvelopeOptions options) throws ApiException
Gets the status of a envelope. Retrieves the overall status for the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.GetEnvelopeOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopeUpdateSummary update(String accountId, String envelopeId, Envelope envelope) throws ApiException
Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality:\n\n* Sends the specified single draft envelope.\nAdd {"status":"sent"} to the request body to send the envelope.\n\n* Voids the specified in-process envelope.\nAdd {"status":"voided", "voidedReason":"The reason for voiding the envelope"} to the request body to void the envelope.\n\n* Replaces the current email subject and message for a draft envelope.\nAdd {"emailSubject":"subject", "emailBlurb":"message"} to the request body to modify the subject and message.\n\n* Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system.\nAdd {"purgeState":"purge type"} to the request body.\n\n*Additional information on purging documents*\n\nThe purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of).\n\n###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. \n###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. \n###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents.\n\nWhen the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system.\n\nIf purgeState=\"documents_queued\" is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If purgeState= \"documents_and_metadata_queued\" is used in the request, then the documents, attachments, and tabs are deleted.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.ApiExceptionpublic EnvelopeUpdateSummary update(String accountId, String envelopeId, Envelope envelope, EnvelopesApi.UpdateOptions options) throws ApiException
Send Draft Envelope/Void Envelope/Move/Purge Envelope/Modify draft The Put Envelopes endpoint provides the following functionality:\n\n* Sends the specified single draft envelope.\nAdd {"status":"sent"} to the request body to send the envelope.\n\n* Voids the specified in-process envelope.\nAdd {"status":"voided", "voidedReason":"The reason for voiding the envelope"} to the request body to void the envelope.\n\n* Replaces the current email subject and message for a draft envelope.\nAdd {"emailSubject":"subject", "emailBlurb":"message"} to the request body to modify the subject and message.\n\n* Place the envelope documents and envelope metadata in a purge queue so that this information is removed from the DocuSign system.\nAdd {"purgeState":"purge type"} to the request body.\n\n*Additional information on purging documents*\n\nThe purge request can only be used for completed envelopes that are not marked as the authoritative copy. The requesting user must have permission to purge documents and must be the sender (the requesting user can act as the sender using Send On Behalf Of).\n\n###### Note: If you have set the Document Retention policy on your account, envelope documents are automatically placed in the purge queue and the warning emails are sent at the end of the retention period. \n###### Note: You can set the Document Retention policy in the Classic DocuSign Experience by specifying the number of days to retain documents. \n###### Note: Setting a Document Retention policy is the same as setting a schedule for purging documents.\n\nWhen the purge request is initiated the envelope documents, or documents and envelope metadata, are placed in a purge queue for deletion in 14 days. A warning email notification is sent to the sender and recipients associated with the envelope, notifying them that the envelope documents will be deleted in 14 days and providing a link to the documents. A second email is sent 7 days later with the same message. At the end of the 14-day period, the envelope documents are deleted from the system.\n\nIf purgeState=\"documents_queued\" is used in the request, then only the documents are deleted and any corresponding attachments and tabs remain in the DocuSign system. If purgeState= \"documents_and_metadata_queued\" is used in the request, then the documents, attachments, and tabs are deleted.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.UpdateOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopeAttachmentsResult getAttachments(String accountId, String envelopeId) throws ApiException
Returns a list of attachments associated with the specified envelope
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.GetAttachmentsOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopeAttachmentsResult putAttachments(String accountId, String envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest) throws ApiException
Add one or more attachments to a DRAFT or IN-PROCESS envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.PutAttachmentsOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopeAttachmentsResult deleteAttachments(String accountId, String envelopeId, EnvelopeAttachmentsRequest envelopeAttachmentsRequest) throws ApiException
Delete one or more attachments from a DRAFT envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.DeleteAttachmentsOptions - Options for modifying the method behavior.ApiExceptionpublic void getAttachment(String accountId, String envelopeId, String attachmentId) throws ApiException
Retrieves an attachment from the envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.attachmentId - EnvelopesApi.GetAttachmentOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopeAttachmentsResult putAttachment(String accountId, String envelopeId, String attachmentId, Attachment attachment) throws ApiException
Add an attachment to a DRAFT or IN-PROCESS envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.attachmentId - EnvelopesApi.PutAttachmentOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopeAuditEventResponse listAuditEvents(String accountId, String envelopeId) throws ApiException
Gets the envelope audit events for an envelope. Gets the envelope audit events for the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.ListAuditEventsOptions - Options for modifying the method behavior.ApiExceptionpublic CustomFieldsEnvelope listCustomFields(String accountId, String envelopeId) throws ApiException
Gets the custom field information for the specified envelope. Retrieves the custom field information for the specified envelope. You can use these fields in the envelopes for your account to record information about the envelope, help search for envelopes, and track information. The envelope custom fields are shown in the Envelope Settings section when a user is creating an envelope in the DocuSign member console. The envelope custom fields are not seen by the envelope recipients.\n\nThere are two types of envelope custom fields, text, and list. A text custom field lets the sender enter the value for the field. With a list custom field, the sender selects the value of the field from a pre-made list.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.ListCustomFieldsOptions - Options for modifying the method behavior.ApiExceptionpublic CustomFields updateCustomFields(String accountId, String envelopeId, CustomFields customFields) throws ApiException
Updates envelope custom fields in an envelope. Updates the envelope custom fields in draft and in-process envelopes.\n\nEach custom field used in an envelope must have a unique name.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.UpdateCustomFieldsOptions - Options for modifying the method behavior.ApiExceptionpublic CustomFields createCustomFields(String accountId, String envelopeId, CustomFields customFields) throws ApiException
Updates envelope custom fields for an envelope. Updates the envelope custom fields for draft and in-process envelopes.\n\nEach custom field used in an envelope must have a unique name.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.CreateCustomFieldsOptions - Options for modifying the method behavior.ApiExceptionpublic CustomFields deleteCustomFields(String accountId, String envelopeId, CustomFields customFields) throws ApiException
Deletes envelope custom fields for draft and in-process envelopes. Deletes envelope custom fields for draft and in-process envelopes.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.DeleteCustomFieldsOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopeDocumentsResult listDocuments(String accountId, String envelopeId) throws ApiException
Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.ApiExceptionpublic EnvelopeDocumentsResult listDocuments(String accountId, String envelopeId, EnvelopesApi.ListDocumentsOptions options) throws ApiException
Gets a list of envelope documents. Retrieves a list of documents associated with the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.ListDocumentsOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopeDocumentsResult updateDocuments(String accountId, String envelopeId, EnvelopeDefinition envelopeDefinition) throws ApiException
Adds one or more documents to an existing envelope document. Adds one or more documents to an existing envelope document.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.ApiExceptionpublic EnvelopeDocumentsResult updateDocuments(String accountId, String envelopeId, EnvelopeDefinition envelopeDefinition, EnvelopesApi.UpdateDocumentsOptions options) throws ApiException
Adds one or more documents to an existing envelope document. Adds one or more documents to an existing envelope document.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.UpdateDocumentsOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopeDocumentsResult deleteDocuments(String accountId, String envelopeId, EnvelopeDefinition envelopeDefinition) throws ApiException
Deletes documents from a draft envelope. Deletes one or more documents from an existing draft envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.DeleteDocumentsOptions - Options for modifying the method behavior.ApiExceptionpublic byte[] getDocument(String accountId, String envelopeId, String documentId) throws ApiException
Gets a document from an envelope. Retrieves the specified document from the envelope. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted.\n\nYou can also use this method to retrieve a PDF containing the combined content of all documents and the certificate. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted. \n\nTo retrieve the combined content replace the {documentId} parameter in the endpoint with combined.\n/accounts/{accountId}/envelopes/{envelopeId}/documents/combined
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.ApiExceptionpublic byte[] getDocument(String accountId, String envelopeId, String documentId, EnvelopesApi.GetDocumentOptions options) throws ApiException
Gets a document from an envelope. Retrieves the specified document from the envelope. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted.\n\nYou can also use this method to retrieve a PDF containing the combined content of all documents and the certificate. If the account has the Highlight Data Changes feature enabled, there is an option to request that any changes in the envelope be highlighted. \n\nTo retrieve the combined content replace the {documentId} parameter in the endpoint with combined.\n/accounts/{accountId}/envelopes/{envelopeId}/documents/combined
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.EnvelopesApi.GetDocumentOptions - Options for modifying the method behavior.ApiExceptionpublic void updateDocument(String accountId, String envelopeId, String documentId) throws ApiException
Adds a document to an existing draft envelope. Adds a document to an existing draft envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.ApiExceptionpublic void updateDocument(String accountId, String envelopeId, String documentId, EnvelopesApi.UpdateDocumentOptions options) throws ApiException
Adds a document to an existing draft envelope. Adds a document to an existing draft envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.EnvelopesApi.UpdateDocumentOptions - Options for modifying the method behavior.ApiExceptionpublic DocumentFieldsInformation listDocumentFields(String accountId, String envelopeId, String documentId) throws ApiException
Gets the custom document fields from an existing envelope document. Retrieves the custom document field information from an existing envelope document.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.EnvelopesApi.ListDocumentFieldsOptions - Options for modifying the method behavior.ApiExceptionpublic DocumentFieldsInformation updateDocumentFields(String accountId, String envelopeId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException
Updates existing custom document fields in an existing envelope document. Updates existing custom document fields in an existing envelope document.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.EnvelopesApi.UpdateDocumentFieldsOptions - Options for modifying the method behavior.ApiExceptionpublic DocumentFieldsInformation createDocumentFields(String accountId, String envelopeId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException
Creates custom document fields in an existing envelope document. Creates custom document fields in an existing envelope document.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.EnvelopesApi.CreateDocumentFieldsOptions - Options for modifying the method behavior.ApiExceptionpublic DocumentFieldsInformation deleteDocumentFields(String accountId, String envelopeId, String documentId, DocumentFieldsInformation documentFieldsInformation) throws ApiException
Deletes custom document fields from an existing envelope document. Deletes custom document fields from an existing envelope document.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.EnvelopesApi.DeleteDocumentFieldsOptions - Options for modifying the method behavior.ApiExceptionpublic void deleteDocumentPage(String accountId, String envelopeId, String documentId, String pageNumber) throws ApiException
Deletes a page from a document in an envelope. Deletes a page from a document in an envelope based on the page number.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.pageNumber - The page number being accessed.EnvelopesApi.DeleteDocumentPageOptions - Options for modifying the method behavior.ApiExceptionpublic byte[] getDocumentPageImage(String accountId, String envelopeId, String documentId, String pageNumber) throws ApiException
Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.pageNumber - The page number being accessed.ApiExceptionpublic byte[] getDocumentPageImage(String accountId, String envelopeId, String documentId, String pageNumber, EnvelopesApi.GetDocumentPageImageOptions options) throws ApiException
Gets a page image from an envelope for display. Retrieves a page image for display from the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.pageNumber - The page number being accessed.EnvelopesApi.GetDocumentPageImageOptions - Options for modifying the method behavior.ApiExceptionpublic void rotateDocumentPage(String accountId, String envelopeId, String documentId, String pageNumber, PageRequest pageRequest) throws ApiException
Rotates page image from an envelope for display. Rotates page image from an envelope for display. The page image can be rotated to the left or right.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.pageNumber - The page number being accessed.EnvelopesApi.RotateDocumentPageOptions - Options for modifying the method behavior.ApiExceptionpublic TemplateInformation listTemplatesForDocument(String accountId, String envelopeId, String documentId) throws ApiException
Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.ApiExceptionpublic TemplateInformation listTemplatesForDocument(String accountId, String envelopeId, String documentId, EnvelopesApi.ListTemplatesForDocumentOptions options) throws ApiException
Gets the templates associated with a document in an existing envelope. Retrieves the templates associated with a document in the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.EnvelopesApi.ListTemplatesForDocumentOptions - Options for modifying the method behavior.ApiExceptionpublic DocumentTemplateList applyTemplateToDocument(String accountId, String envelopeId, String documentId, DocumentTemplateList documentTemplateList) throws ApiException
Adds templates to a document in an envelope. Adds templates to a document in the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.EnvelopesApi.ApplyTemplateToDocumentOptions - Options for modifying the method behavior.ApiExceptionpublic void deleteTemplatesFromDocument(String accountId, String envelopeId, String documentId, String templateId) throws ApiException
Deletes a template from a document in an existing envelope. Deletes the specified template from a document in an existing envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.documentId - The ID of the document being accessed.templateId - The ID of the template being accessed.EnvelopesApi.DeleteTemplatesFromDocumentOptions - Options for modifying the method behavior.ApiExceptionpublic EmailSettings getEmailSettings(String accountId, String envelopeId) throws ApiException
Gets the email setting overrides for an envelope. Retrieves the email override settings for the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.GetEmailSettingsOptions - Options for modifying the method behavior.ApiExceptionpublic EmailSettings updateEmailSettings(String accountId, String envelopeId, EmailSettings emailSettings) throws ApiException
Updates the email setting overrides for an envelope. Updates the existing email override settings for the specified envelope. Note that modifying email settings will only affect email communications that occur after the modification was made.\n\nThis can also be used to delete an individual email override setting by using an empty string for the value to be deleted.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.UpdateEmailSettingsOptions - Options for modifying the method behavior.ApiExceptionpublic EmailSettings createEmailSettings(String accountId, String envelopeId, EmailSettings emailSettings) throws ApiException
Adds email setting overrides to an envelope. Adds email override settings, changing the email address to reply to an email address, name, or the BCC for email archive information, for the envelope. Note that adding email settings will only affect email communications that occur after the addition was made.\n\n### Important: The BCC Email address feature is designed to provide a copy of all email communications for external archiving purposes. DocuSign recommends that envelopes sent using the BCC for Email Archive feature, including the BCC Email Override option, include additional signer authentication options. To send a copy of the envelope to a recipient who does not need to sign, use a Carbon Copies or Certified Deliveries Recipient Type.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.CreateEmailSettingsOptions - Options for modifying the method behavior.ApiExceptionpublic EmailSettings deleteEmailSettings(String accountId, String envelopeId) throws ApiException
Deletes the email setting overrides for an envelope. Deletes all existing email override settings for the envelope. If you want to delete an individual email override setting, use the PUT and set the value to an empty string. Note that deleting email settings will only affect email communications that occur after the deletion and the normal account email settings are used for future email communications.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.DeleteEmailSettingsOptions - Options for modifying the method behavior.ApiExceptionpublic EnvelopeFormData getFormData(String accountId, String envelopeId) throws ApiException
Returns envelope form data for an existing envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.GetFormDataOptions - Options for modifying the method behavior.ApiExceptionpublic LockInformation getLock(String accountId, String envelopeId) throws ApiException
Gets envelope lock information. Retrieves general information about the envelope lock.\n\nIf the call is made by the locked by user and the request has the same integrator key as original, then the X-DocuSign-Edit header and additional lock information is included in the response. This allows users to recover a lost editing session token and the X-DocuSign-Edit header.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.GetLockOptions - Options for modifying the method behavior.ApiExceptionpublic LockInformation updateLock(String accountId, String envelopeId, LockRequest lockRequest) throws ApiException
Updates an envelope lock. Updates the lock duration time or update the lockedByApp property information for the specified envelope. The user and integrator key must match the user specified by the lockByUser property and integrator key information and the X-DocuSign-Edit header must be included or an error will be generated.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.UpdateLockOptions - Options for modifying the method behavior.ApiExceptionpublic LockInformation createLock(String accountId, String envelopeId, LockRequest lockRequest) throws ApiException
Lock an envelope. Locks the specified envelope, and sets the time until the lock expires, to prevent other users or recipients from accessing and changing the envelope.\n\n###### Note: Users must have envelope locking capability enabled to use this function (userSetting canLockEnvelopes must be set to true for the user).
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.CreateLockOptions - Options for modifying the method behavior.ApiExceptionpublic LockInformation deleteLock(String accountId, String envelopeId) throws ApiException
Deletes an envelope lock. Deletes the lock from the specified envelope. The X-DocuSign-Edit header must be included in the request.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.DeleteLockOptions - Options for modifying the method behavior.ApiExceptionpublic Notification getNotificationSettings(String accountId, String envelopeId) throws ApiException
Gets envelope notification information. Retrieves the envelope notification, reminders and expirations, information for an existing envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.GetNotificationSettingsOptions - Options for modifying the method behavior.ApiExceptionpublic Notification updateNotificationSettings(String accountId, String envelopeId, EnvelopeNotificationRequest envelopeNotificationRequest) throws ApiException
Sets envelope notification (Reminders/Expirations) structure for an existing envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.UpdateNotificationSettingsOptions - Options for modifying the method behavior.ApiExceptionpublic Recipients listRecipients(String accountId, String envelopeId) throws ApiException
Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. \n\nThe currentRoutingOrder property of the response contains the routingOrder value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.ApiExceptionpublic Recipients listRecipients(String accountId, String envelopeId, EnvelopesApi.ListRecipientsOptions options) throws ApiException
Gets the status of recipients for an envelope. Retrieves the status of all recipients in a single envelope and identifies the current recipient in the routing list. \n\nThe currentRoutingOrder property of the response contains the routingOrder value of the current recipient indicating that the envelope has been sent to the recipient, but the recipient has not completed their actions.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.ListRecipientsOptions - Options for modifying the method behavior.ApiExceptionpublic RecipientsUpdateSummary updateRecipients(String accountId, String envelopeId, Recipients recipients) throws ApiException
Updates recipients in a draft envelope or corrects recipient information for an in process envelope. Updates recipients in a draft envelope or corrects recipient information for an in process envelope. \n\nFor draft envelopes, you can edit the following properties: email, userName, routingOrder, faxNumber, deliveryMethod, accessCode, and requireIdLookup.\n\nOnce an envelope has been sent, you can only edit: email, userName, signerName, routingOrder, faxNumber, and deliveryMethod. You can also select to resend an envelope by using the resend_envelope option.\n\nIf you send information for a recipient that does not already exist in a draft envelope, the recipient is added to the envelope (similar to the POST).
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.ApiExceptionpublic RecipientsUpdateSummary updateRecipients(String accountId, String envelopeId, Recipients recipients, EnvelopesApi.UpdateRecipientsOptions options) throws ApiException
Updates recipients in a draft envelope or corrects recipient information for an in process envelope. Updates recipients in a draft envelope or corrects recipient information for an in process envelope. \n\nFor draft envelopes, you can edit the following properties: email, userName, routingOrder, faxNumber, deliveryMethod, accessCode, and requireIdLookup.\n\nOnce an envelope has been sent, you can only edit: email, userName, signerName, routingOrder, faxNumber, and deliveryMethod. You can also select to resend an envelope by using the resend_envelope option.\n\nIf you send information for a recipient that does not already exist in a draft envelope, the recipient is added to the envelope (similar to the POST).
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.UpdateRecipientsOptions - Options for modifying the method behavior.ApiExceptionpublic Recipients createRecipient(String accountId, String envelopeId, Recipients recipients) throws ApiException
Adds one or more recipients to an envelope. Adds one or more recipients to an envelope.\n\nFor an in process envelope, one that has been sent and has not been completed or voided, an email is sent to a new recipient when they are reached in the routing order. If the new recipient's routing order is before or the same as the envelope's next recipient, an email is only sent if the optional resend_envelope query string is set to true.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.ApiExceptionpublic Recipients createRecipient(String accountId, String envelopeId, Recipients recipients, EnvelopesApi.CreateRecipientOptions options) throws ApiException
Adds one or more recipients to an envelope. Adds one or more recipients to an envelope.\n\nFor an in process envelope, one that has been sent and has not been completed or voided, an email is sent to a new recipient when they are reached in the routing order. If the new recipient's routing order is before or the same as the envelope's next recipient, an email is only sent if the optional resend_envelope query string is set to true.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.CreateRecipientOptions - Options for modifying the method behavior.ApiExceptionpublic Recipients deleteRecipients(String accountId, String envelopeId, Recipients recipients) throws ApiException
Deletes recipients from an envelope. Deletes one or more recipients from a draft or sent envelope. Recipients to be deleted are listed in the request, with the recipientId being used as the key for deleting recipients.\n\nIf the envelope is In Process, meaning that it has been sent and has not been completed or voided, recipients that have completed their actions cannot be deleted.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.DeleteRecipientsOptions - Options for modifying the method behavior.ApiExceptionpublic DocumentVisibilityList updateRecipientsDocumentVisibility(String accountId, String envelopeId, DocumentVisibilityList documentVisibilityList) throws ApiException
Updates document visibility for the recipients
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.UpdateRecipientsDocumentVisibilityOptions - Options for modifying the method behavior.ApiExceptionpublic Recipients deleteRecipient(String accountId, String envelopeId, String recipientId) throws ApiException
Deletes a recipient from an envelope. Deletes the specified recipient file from the specified envelope. This cannot be used if the envelope has been sent.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.DeleteRecipientOptions - Options for modifying the method behavior.ApiExceptionpublic ConsumerDisclosure getConsumerDisclosureDefault(String accountId, String envelopeId, String recipientId) throws ApiException
Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.ApiExceptionpublic ConsumerDisclosure getConsumerDisclosureDefault(String accountId, String envelopeId, String recipientId, EnvelopesApi.GetConsumerDisclosureDefaultOptions options) throws ApiException
Gets the Electronic Record and Signature Disclosure associated with the account. Retrieves the Electronic Record and Signature Disclosure, with html formatting, associated with the account. You can use an optional query string to set the language for the disclosure.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.GetConsumerDisclosureDefaultOptions - Options for modifying the method behavior.ApiExceptionpublic ConsumerDisclosure getConsumerDisclosure(String accountId, String envelopeId, String recipientId, String langCode) throws ApiException
Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.langCode - The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.ApiExceptionpublic ConsumerDisclosure getConsumerDisclosure(String accountId, String envelopeId, String recipientId, String langCode, EnvelopesApi.GetConsumerDisclosureOptions options) throws ApiException
Reserved: Gets the Electronic Record and Signature Disclosure associated with the account. Reserved: Retrieves the Electronic Record and Signature Disclosure, with HTML formatting, associated with the account.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.langCode - The simple type enumeration the language used in the response. The supported languages, with the language value shown in parenthesis, are:Arabic (ar), Bulgarian (bg), Czech (cs), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW), Croatian (hr), Danish (da), Dutch (nl), English US (en), English UK (en_GB), Estonian (et), Farsi (fa), Finnish (fi), French (fr), French Canada (fr_CA), German (de), Greek (el), Hebrew (he), Hindi (hi), Hungarian (hu), Bahasa Indonesia (id), Italian (it), Japanese (ja), Korean (ko), Latvian (lv), Lithuanian (lt), Bahasa Melayu (ms), Norwegian (no), Polish (pl), Portuguese (pt), Portuguese Brazil (pt_BR), Romanian (ro), Russian (ru), Serbian (sr), Slovak (sk), Slovenian (sl), Spanish (es),Spanish Latin America (es_MX), Swedish (sv), Thai (th), Turkish (tr), Ukrainian (uk) and Vietnamese (vi). Additionally, the value can be set to �browser� to automatically detect the browser language being used by the viewer and display the disclosure in that language.EnvelopesApi.GetConsumerDisclosureOptions - Options for modifying the method behavior.ApiExceptionpublic DocumentVisibilityList getRecipientDocumentVisibility(String accountId, String envelopeId, String recipientId) throws ApiException
Returns document visibility for the recipients
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.GetRecipientDocumentVisibilityOptions - Options for modifying the method behavior.ApiExceptionpublic DocumentVisibilityList updateRecipientDocumentVisibility(String accountId, String envelopeId, String recipientId, DocumentVisibilityList documentVisibilityList) throws ApiException
Updates document visibility for the recipients
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.UpdateRecipientDocumentVisibilityOptions - Options for modifying the method behavior.ApiExceptionpublic byte[] getRecipientInitialsImage(String accountId, String envelopeId, String recipientId) throws ApiException
Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image.\n\nThe userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account.\n\nThe signatureIdOrName paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (signatureId), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. \n\nFor example: "Bob Smith" to "Bob%20Smith"\n\nOlder envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.ApiExceptionpublic byte[] getRecipientInitialsImage(String accountId, String envelopeId, String recipientId, EnvelopesApi.GetRecipientInitialsImageOptions options) throws ApiException
Gets the initials image for a user. Retrieves the initials image for the specified user. The image is returned in the same format as it was uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image.\n\nThe userId specified in the endpoint must match the authenticated user's user id and the user must be a member of the account.\n\nThe signatureIdOrName paramter accepts signature ID or signature name. DocuSign recommends you use signature ID (signatureId), since some names contain characters that do not properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. \n\nFor example: "Bob Smith" to "Bob%20Smith"\n\nOlder envelopes might only contain chromed images. If getting the non-chromed image fails, try getting the chromed image.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.GetRecipientInitialsImageOptions - Options for modifying the method behavior.ApiExceptionpublic void updateRecipientInitialsImage(String accountId, String envelopeId, String recipientId) throws ApiException
Sets the initials image for an accountless signer. Updates the initials image for a signer that does not have a DocuSign account. The supported image formats for this file are: gif, png, jpeg, and bmp. The file size must be less than 200K.\n\nFor the Authentication/Authorization for this call, the credentials must match the sender of the envelope, the recipient must be an accountless signer or in person signer. The account must have the CanSendEnvelope property set to true and the ExpressSendOnly property in SendingUser structure must be set to false.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.UpdateRecipientInitialsImageOptions - Options for modifying the method behavior.ApiExceptionpublic UserSignature getRecipientSignature(String accountId, String envelopeId, String recipientId) throws ApiException
Gets signature information for a signer or sign-in-person recipient. Retrieves signature information for a signer or sign-in-person recipient.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.GetRecipientSignatureOptions - Options for modifying the method behavior.ApiExceptionpublic byte[] getRecipientSignatureImage(String accountId, String envelopeId, String recipientId) throws ApiException
Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image.\n\nThe userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account.\n\nThe signatureIdOrName parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (signatureId), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. \n\nFor example: "Bob Smith" to "Bob%20Smith"\n\nOlder envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.ApiExceptionpublic byte[] getRecipientSignatureImage(String accountId, String envelopeId, String recipientId, EnvelopesApi.GetRecipientSignatureImageOptions options) throws ApiException
Retrieve signature image information for a signer/sign-in-person recipient. Retrieves the specified user signature image. The image is returned in the same format as uploaded. In the request you can specify if the chrome (the added line and identifier around the initial image) is returned with the image.\n\nThe userId specified in the endpoint must match the authenticated user's user ID and the user must be a member of the account.\n\nThe signatureIdOrName parameter accepts signature ID or signature name. DocuSign recommends you use signature ID (signatureId), since some names contain characters that don't properly URL encode. If you use the user name, it is likely that the name includes spaces and you might need to URL encode the name before using it in the endpoint. \n\nFor example: "Bob Smith" to "Bob%20Smith"\n\nOlder envelopes might only have chromed images. If getting the non-chromed image fails, try getting the chromed image.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.GetRecipientSignatureImageOptions - Options for modifying the method behavior.ApiExceptionpublic void updateRecipientSignatureImage(String accountId, String envelopeId, String recipientId) throws ApiException
Sets the signature image for an accountless signer. Updates the signature image for an accountless signer. The supported image formats for this file are: gif, png, jpeg, and bmp. The file size must be less than 200K.\n\nFor the Authentication/Authorization for this call, the credentials must match the sender of the envelope, the recipient must be an accountless signer or in person signer. The account must have the CanSendEnvelope property set to true and the ExpressSendOnly property in SendingUser structure must be set to false.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.UpdateRecipientSignatureImageOptions - Options for modifying the method behavior.ApiExceptionpublic Tabs listTabs(String accountId, String envelopeId, String recipientId) throws ApiException
Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.ApiExceptionpublic Tabs listTabs(String accountId, String envelopeId, String recipientId, EnvelopesApi.ListTabsOptions options) throws ApiException
Gets the tabs information for a signer or sign-in-person recipient in an envelope. Retrieves information about the tabs associated with a recipient in a draft envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.ListTabsOptions - Options for modifying the method behavior.ApiExceptionpublic Tabs updateTabs(String accountId, String envelopeId, String recipientId, Tabs tabs) throws ApiException
Updates the tabs for a recipient. Updates one or more tabs for a recipient in a draft envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.UpdateTabsOptions - Options for modifying the method behavior.ApiExceptionpublic Tabs createTabs(String accountId, String envelopeId, String recipientId, Tabs tabs) throws ApiException
Adds tabs for a recipient. Adds one or more tabs for a recipient.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.CreateTabsOptions - Options for modifying the method behavior.ApiExceptionpublic Tabs deleteTabs(String accountId, String envelopeId, String recipientId, Tabs tabs) throws ApiException
Deletes the tabs associated with a recipient. Deletes one or more tabs associated with a recipient in a draft envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.recipientId - The ID of the recipient being accessed.EnvelopesApi.DeleteTabsOptions - Options for modifying the method behavior.ApiExceptionpublic TemplateInformation listTemplates(String accountId, String envelopeId) throws ApiException
Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.ApiExceptionpublic TemplateInformation listTemplates(String accountId, String envelopeId, EnvelopesApi.ListTemplatesOptions options) throws ApiException
Get List of Templates used in an Envelope This returns a list of the server-side templates, their name and ID, used in an envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.ListTemplatesOptions - Options for modifying the method behavior.ApiExceptionpublic DocumentTemplateList applyTemplate(String accountId, String envelopeId, DocumentTemplateList documentTemplateList) throws ApiException
Adds templates to an envelope. Adds templates to the specified envelope.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.ApplyTemplateOptions - Options for modifying the method behavior.ApiExceptionpublic ViewUrl createCorrectView(String accountId, String envelopeId, CorrectViewRequest correctViewRequest) throws ApiException
Returns a URL to the envelope correction UI. Returns a URL that allows you to embed the envelope correction view of the DocuSign UI in your applications.\n\nImportant: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.CreateCorrectViewOptions - Options for modifying the method behavior.ApiExceptionpublic ViewUrl createEditView(String accountId, String envelopeId, ReturnUrlRequest returnUrlRequest) throws ApiException
Returns a URL to the edit view UI. Returns a URL that allows you to embed the edit view of the DocuSign UI in your applications. This is a one-time use login token that allows the user to be placed into the DocuSign editing view. \n\nUpon sending completion, the user is returned to the return URL provided by the API application.\n\nImportant: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.CreateEditViewOptions - Options for modifying the method behavior.ApiExceptionpublic ViewUrl createRecipientView(String accountId, String envelopeId, RecipientViewRequest recipientViewRequest) throws ApiException
Returns a URL to the recipient view UI. Returns a URL that allows you to embed the recipient view of the DocuSign UI in your applications. This call cannot be used to view draft envelopes, since those envelopes have not been sent. \n\nImportant: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView. \n\nAn entry is added into the Security Level section of the DocuSign Certificate of Completion that reflects the securityDomain and authenticationMethod properties used to verify the user identity.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.CreateRecipientViewOptions - Options for modifying the method behavior.ApiExceptionpublic ViewUrl createSenderView(String accountId, String envelopeId, ReturnUrlRequest returnUrlRequest) throws ApiException
Returns a URL to the sender view UI. Returns a URL that allows you to embed the sender view of the DocuSign UI in your applications. This is a one-time use login token that allows the user to be placed into the DocuSign sending view. \n\nUpon sending completion, the user is returned to the return URL provided by the API application.\n\nImportant: iFrames should not be used for embedded operations on mobile devices due to screen space issues. For iOS devices DocuSign recommends using a WebView.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.CreateSenderViewOptions - Options for modifying the method behavior.ApiExceptionpublic ViewUrl createViewLink(String accountId, String envelopeId, ViewLinkRequest viewLinkRequest) throws ApiException
Reserved: Returns a URL to the secure link view UI. Reserved: Returns a URL that allows you to embed the secure link view of the DocuSign UI in your applications.
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.CreateViewLinkOptions - Options for modifying the method behavior.ApiExceptionpublic void deleteViewLink(String accountId, String envelopeId) throws ApiException
Reserved: Expires a secure view link. Reserved: Expires a secure view link
accountId - The external account number (int) or account ID Guid.envelopeId - The envelopeId Guid of the envelope being accessed.EnvelopesApi.DeleteViewLinkOptions - Options for modifying the method behavior.ApiExceptionpublic TemplateDocumentVisibilityList updateTemplateRecipientsDocumentVisibility(String accountId, String templateId, TemplateDocumentVisibilityList templateDocumentVisibilityList) throws ApiException
Updates document visibility for the recipients
accountId - The external account number (int) or account ID Guid.templateId - The ID of the template being accessed.EnvelopesApi.UpdateTemplateRecipientsDocumentVisibilityOptions - Options for modifying the method behavior.ApiExceptionpublic DocumentVisibilityList getTemplateRecipientDocumentVisibility(String accountId, String templateId, String recipientId) throws ApiException
Returns document visibility for the recipients
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.EnvelopesApi.GetTemplateRecipientDocumentVisibilityOptions - Options for modifying the method behavior.ApiExceptionpublic TemplateDocumentVisibilityList updateTemplateRecipientDocumentVisibility(String accountId, String templateId, String recipientId, TemplateDocumentVisibilityList templateDocumentVisibilityList) throws ApiException
Updates document visibility for the recipients
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.EnvelopesApi.UpdateTemplateRecipientDocumentVisibilityOptions - Options for modifying the method behavior.ApiExceptionpublic ViewUrl createConsoleView(String accountId, ConsoleViewRequest consoleViewRequest) throws ApiException
Returns a URL to the authentication view UI. Returns a URL that allows you to embed the authentication view of the DocuSign UI in your applications.
accountId - The external account number (int) or account ID Guid.EnvelopesApi.CreateConsoleViewOptions - Options for modifying the method behavior.ApiExceptionCopyright © 2017. All Rights Reserved.