Package com.boldsign.api
Class DocumentApi
- java.lang.Object
-
- com.boldsign.api.DocumentApi
-
public class DocumentApi extends Object
-
-
Constructor Summary
Constructors Constructor Description DocumentApi()DocumentApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAuthentication(String documentId, AccessCodeDetail accessCodeDetail)The add authentication to recipient.okhttp3.CalladdAuthenticationAsync(String documentId, AccessCodeDetail accessCodeDetail, ApiCallback<Void> _callback)The add authentication to recipient.okhttp3.CalladdAuthenticationCall(String documentId, AccessCodeDetail accessCodeDetail, ApiCallback _callback)Build call for addAuthenticationApiResponse<Void>addAuthenticationWithHttpInfo(String documentId, AccessCodeDetail accessCodeDetail)The add authentication to recipient.voidaddTag(DocumentTags documentTags)Add the Tags in Documents.okhttp3.CalladdTagAsync(DocumentTags documentTags, ApiCallback<Void> _callback)Add the Tags in Documents.okhttp3.CalladdTagCall(DocumentTags documentTags, ApiCallback _callback)Build call for addTagApiResponse<Void>addTagWithHttpInfo(DocumentTags documentTags)Add the Tags in Documents.BehalfDocumentRecordsbehalfDocuments(Integer page, String pageType, List<String> emailAddress, List<String> signers, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds)Gets the behalf documents.okhttp3.CallbehalfDocumentsAsync(Integer page, String pageType, List<String> emailAddress, List<String> signers, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback<BehalfDocumentRecords> _callback)Gets the behalf documents.okhttp3.CallbehalfDocumentsCall(Integer page, String pageType, List<String> emailAddress, List<String> signers, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback _callback)Build call for behalfDocumentsApiResponse<BehalfDocumentRecords>behalfDocumentsWithHttpInfo(Integer page, String pageType, List<String> emailAddress, List<String> signers, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds)Gets the behalf documents.voidchangeAccessCode(String documentId, AccessCodeDetails accessCodeDetails, String emailId, Integer zorder)Changes the access code for the given document signer.okhttp3.CallchangeAccessCodeAsync(String documentId, AccessCodeDetails accessCodeDetails, String emailId, Integer zorder, ApiCallback<Void> _callback)Changes the access code for the given document signer.okhttp3.CallchangeAccessCodeCall(String documentId, AccessCodeDetails accessCodeDetails, String emailId, Integer zorder, ApiCallback _callback)Build call for changeAccessCodeApiResponse<Void>changeAccessCodeWithHttpInfo(String documentId, AccessCodeDetails accessCodeDetails, String emailId, Integer zorder)Changes the access code for the given document signer.voidchangeRecipient(String documentId, ChangeRecipient changeRecipient)Change recipient details of a document.okhttp3.CallchangeRecipientAsync(String documentId, ChangeRecipient changeRecipient, ApiCallback<Void> _callback)Change recipient details of a document.okhttp3.CallchangeRecipientCall(String documentId, ChangeRecipient changeRecipient, ApiCallback _callback)Build call for changeRecipientApiResponse<Void>changeRecipientWithHttpInfo(String documentId, ChangeRecipient changeRecipient)Change recipient details of a document.EmbeddedSendCreatedcreateEmbeddedRequestUrlDocument(EmbeddedDocumentRequest embeddedDocumentRequest)Generates a send URL which embeds document sending process into your application.okhttp3.CallcreateEmbeddedRequestUrlDocumentAsync(EmbeddedDocumentRequest embeddedDocumentRequest, ApiCallback<EmbeddedSendCreated> _callback)Generates a send URL which embeds document sending process into your application.okhttp3.CallcreateEmbeddedRequestUrlDocumentCall(EmbeddedDocumentRequest embeddedDocumentRequest, ApiCallback _callback)Build call for createEmbeddedRequestUrlDocumentApiResponse<EmbeddedSendCreated>createEmbeddedRequestUrlDocumentWithHttpInfo(EmbeddedDocumentRequest embeddedDocumentRequest)Generates a send URL which embeds document sending process into your application.voiddeleteDocument(String documentId, Boolean deletePermanently)Delete the document.okhttp3.CalldeleteDocumentAsync(String documentId, Boolean deletePermanently, ApiCallback<Void> _callback)Delete the document.okhttp3.CalldeleteDocumentCall(String documentId, Boolean deletePermanently, ApiCallback _callback)Build call for deleteDocumentApiResponse<Void>deleteDocumentWithHttpInfo(String documentId, Boolean deletePermanently)Delete the document.voiddeleteTag(DocumentTags documentTags)Delete the Tags in Documents.okhttp3.CalldeleteTagAsync(DocumentTags documentTags, ApiCallback<Void> _callback)Delete the Tags in Documents.okhttp3.CalldeleteTagCall(DocumentTags documentTags, ApiCallback _callback)Build call for deleteTagApiResponse<Void>deleteTagWithHttpInfo(DocumentTags documentTags)Delete the Tags in Documents.FiledownloadAttachment(String documentId, String attachmentId, String onBehalfOf)Download the Attachment.okhttp3.CalldownloadAttachmentAsync(String documentId, String attachmentId, String onBehalfOf, ApiCallback<File> _callback)Download the Attachment.okhttp3.CalldownloadAttachmentCall(String documentId, String attachmentId, String onBehalfOf, ApiCallback _callback)Build call for downloadAttachmentApiResponse<File>downloadAttachmentWithHttpInfo(String documentId, String attachmentId, String onBehalfOf)Download the Attachment.FiledownloadAuditLog(String documentId, String onBehalfOf)Download the audit trail document.okhttp3.CalldownloadAuditLogAsync(String documentId, String onBehalfOf, ApiCallback<File> _callback)Download the audit trail document.okhttp3.CalldownloadAuditLogCall(String documentId, String onBehalfOf, ApiCallback _callback)Build call for downloadAuditLogApiResponse<File>downloadAuditLogWithHttpInfo(String documentId, String onBehalfOf)Download the audit trail document.FiledownloadDocument(String documentId, String onBehalfOf)Download the document.okhttp3.CalldownloadDocumentAsync(String documentId, String onBehalfOf, ApiCallback<File> _callback)Download the document.okhttp3.CalldownloadDocumentCall(String documentId, String onBehalfOf, ApiCallback _callback)Build call for downloadDocumentApiResponse<File>downloadDocumentWithHttpInfo(String documentId, String onBehalfOf)Download the document.voidextendExpiry(String documentId, ExtendExpiry extendExpiry)Extends the expiration date of the document.okhttp3.CallextendExpiryAsync(String documentId, ExtendExpiry extendExpiry, ApiCallback<Void> _callback)Extends the expiration date of the document.okhttp3.CallextendExpiryCall(String documentId, ExtendExpiry extendExpiry, ApiCallback _callback)Build call for extendExpiryApiResponse<Void>extendExpiryWithHttpInfo(String documentId, ExtendExpiry extendExpiry)Extends the expiration date of the document.ApiClientgetApiClient()StringgetCustomBaseUrl()EmbeddedSigningLinkgetEmbeddedSignLink(String documentId, String signerEmail, String countryCode, String phoneNumber, OffsetDateTime signLinkValidTill, URI redirectUrl)Get sign link for Embedded Sign.okhttp3.CallgetEmbeddedSignLinkAsync(String documentId, String signerEmail, String countryCode, String phoneNumber, OffsetDateTime signLinkValidTill, URI redirectUrl, ApiCallback<EmbeddedSigningLink> _callback)Get sign link for Embedded Sign.okhttp3.CallgetEmbeddedSignLinkCall(String documentId, String signerEmail, String countryCode, String phoneNumber, OffsetDateTime signLinkValidTill, URI redirectUrl, ApiCallback _callback)Build call for getEmbeddedSignLinkApiResponse<EmbeddedSigningLink>getEmbeddedSignLinkWithHttpInfo(String documentId, String signerEmail, String countryCode, String phoneNumber, OffsetDateTime signLinkValidTill, URI redirectUrl)Get sign link for Embedded Sign.intgetHostIndex()DocumentPropertiesgetProperties(String documentId)Get summary of the document.okhttp3.CallgetPropertiesAsync(String documentId, ApiCallback<DocumentProperties> _callback)Get summary of the document.okhttp3.CallgetPropertiesCall(String documentId, ApiCallback _callback)Build call for getPropertiesApiResponse<DocumentProperties>getPropertiesWithHttpInfo(String documentId)Get summary of the document.DocumentRecordslistDocuments(Integer page, List<String> sentBy, List<String> recipients, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds)List user documents.okhttp3.CalllistDocumentsAsync(Integer page, List<String> sentBy, List<String> recipients, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback<DocumentRecords> _callback)List user documents.okhttp3.CalllistDocumentsCall(Integer page, List<String> sentBy, List<String> recipients, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback _callback)Build call for listDocumentsApiResponse<DocumentRecords>listDocumentsWithHttpInfo(Integer page, List<String> sentBy, List<String> recipients, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds)List user documents.voidprefillFields(String documentId, PrefillFieldRequest prefillFieldRequest)Updates the value (prefill) of the fields in the document.okhttp3.CallprefillFieldsAsync(String documentId, PrefillFieldRequest prefillFieldRequest, ApiCallback<Void> _callback)Updates the value (prefill) of the fields in the document.okhttp3.CallprefillFieldsCall(String documentId, PrefillFieldRequest prefillFieldRequest, ApiCallback _callback)Build call for prefillFieldsApiResponse<Void>prefillFieldsWithHttpInfo(String documentId, PrefillFieldRequest prefillFieldRequest)Updates the value (prefill) of the fields in the document.voidremindDocument(String documentId, List<String> receiverEmails, ReminderMessage reminderMessage)Send reminder to pending signers.okhttp3.CallremindDocumentAsync(String documentId, List<String> receiverEmails, ReminderMessage reminderMessage, ApiCallback<Void> _callback)Send reminder to pending signers.okhttp3.CallremindDocumentCall(String documentId, List<String> receiverEmails, ReminderMessage reminderMessage, ApiCallback _callback)Build call for remindDocumentApiResponse<Void>remindDocumentWithHttpInfo(String documentId, List<String> receiverEmails, ReminderMessage reminderMessage)Send reminder to pending signers.voidremoveAuthentication(String documentId, RemoveAuthentication removeAuthentication)Remove the access code for the given document signer.okhttp3.CallremoveAuthenticationAsync(String documentId, RemoveAuthentication removeAuthentication, ApiCallback<Void> _callback)Remove the access code for the given document signer.okhttp3.CallremoveAuthenticationCall(String documentId, RemoveAuthentication removeAuthentication, ApiCallback _callback)Build call for removeAuthenticationApiResponse<Void>removeAuthenticationWithHttpInfo(String documentId, RemoveAuthentication removeAuthentication)Remove the access code for the given document signer.voidrevokeDocument(String documentId, RevokeDocument revokeDocument)Revoke the document.okhttp3.CallrevokeDocumentAsync(String documentId, RevokeDocument revokeDocument, ApiCallback<Void> _callback)Revoke the document.okhttp3.CallrevokeDocumentCall(String documentId, RevokeDocument revokeDocument, ApiCallback _callback)Build call for revokeDocumentApiResponse<Void>revokeDocumentWithHttpInfo(String documentId, RevokeDocument revokeDocument)Revoke the document.DocumentCreatedsendDocument(SendForSign sendForSign)Sends the document for sign.okhttp3.CallsendDocumentAsync(SendForSign sendForSign, ApiCallback<DocumentCreated> _callback)Sends the document for sign.okhttp3.CallsendDocumentCall(SendForSign sendForSign, ApiCallback _callback)Build call for sendDocumentApiResponse<DocumentCreated>sendDocumentWithHttpInfo(SendForSign sendForSign)Sends the document for sign.voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(String customBaseUrl)voidsetHostIndex(int hostIndex)TeamDocumentRecordsteamDocuments(Integer page, List<String> userId, List<String> teamId, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds)Get user Team documents.okhttp3.CallteamDocumentsAsync(Integer page, List<String> userId, List<String> teamId, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback<TeamDocumentRecords> _callback)Get user Team documents.okhttp3.CallteamDocumentsCall(Integer page, List<String> userId, List<String> teamId, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback _callback)Build call for teamDocumentsApiResponse<TeamDocumentRecords>teamDocumentsWithHttpInfo(Integer page, List<String> userId, List<String> teamId, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds)Get user Team documents.
-
-
-
Constructor Detail
-
DocumentApi
public DocumentApi()
-
DocumentApi
public DocumentApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(String customBaseUrl)
-
addAuthenticationCall
public okhttp3.Call addAuthenticationCall(String documentId, AccessCodeDetail accessCodeDetail, ApiCallback _callback) throws ApiException
Build call for addAuthentication- Parameters:
documentId- The DocumentId. (required)accessCodeDetail- Access code details. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
addAuthentication
public void addAuthentication(String documentId, AccessCodeDetail accessCodeDetail) throws ApiException
The add authentication to recipient.- Parameters:
documentId- The DocumentId. (required)accessCodeDetail- Access code details. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
addAuthenticationWithHttpInfo
public ApiResponse<Void> addAuthenticationWithHttpInfo(String documentId, AccessCodeDetail accessCodeDetail) throws ApiException
The add authentication to recipient.- Parameters:
documentId- The DocumentId. (required)accessCodeDetail- Access code details. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
addAuthenticationAsync
public okhttp3.Call addAuthenticationAsync(String documentId, AccessCodeDetail accessCodeDetail, ApiCallback<Void> _callback) throws ApiException
The add authentication to recipient. (asynchronously)- Parameters:
documentId- The DocumentId. (required)accessCodeDetail- Access code details. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
addTagCall
public okhttp3.Call addTagCall(DocumentTags documentTags, ApiCallback _callback) throws ApiException
Build call for addTag- Parameters:
documentTags- Contains DocumentId and LabelNames for Adding Tags. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized -
-
addTag
public void addTag(DocumentTags documentTags) throws ApiException
Add the Tags in Documents.- Parameters:
documentTags- Contains DocumentId and LabelNames for Adding Tags. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized -
-
addTagWithHttpInfo
public ApiResponse<Void> addTagWithHttpInfo(DocumentTags documentTags) throws ApiException
Add the Tags in Documents.- Parameters:
documentTags- Contains DocumentId and LabelNames for Adding Tags. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized -
-
addTagAsync
public okhttp3.Call addTagAsync(DocumentTags documentTags, ApiCallback<Void> _callback) throws ApiException
Add the Tags in Documents. (asynchronously)- Parameters:
documentTags- Contains DocumentId and LabelNames for Adding Tags. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 400 Bad Request - 401 Unauthorized -
-
behalfDocumentsCall
public okhttp3.Call behalfDocumentsCall(Integer page, String pageType, List<String> emailAddress, List<String> signers, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback _callback) throws ApiException
Build call for behalfDocuments- Parameters:
page- Page index specified in get document list request. (required)pageType- The filter used to differentiate between documents sent on the user's behalf and documents sent by the user on behalf of others. The API will return documents based on the specified value. (optional)emailAddress- The sender identity's email used to filter the documents returned in the API. The API will return documents that were sent on behalf of the specified email address. (optional)signers- A list of signer email addresses used to filter the documents returned in the API. The API will return documents where the signer's email address matches one of the email addresses provided in this list (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
behalfDocuments
public BehalfDocumentRecords behalfDocuments(Integer page, String pageType, List<String> emailAddress, List<String> signers, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds) throws ApiException
Gets the behalf documents.- Parameters:
page- Page index specified in get document list request. (required)pageType- The filter used to differentiate between documents sent on the user's behalf and documents sent by the user on behalf of others. The API will return documents based on the specified value. (optional)emailAddress- The sender identity's email used to filter the documents returned in the API. The API will return documents that were sent on behalf of the specified email address. (optional)signers- A list of signer email addresses used to filter the documents returned in the API. The API will return documents where the signer's email address matches one of the email addresses provided in this list (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)- Returns:
- BehalfDocumentRecords
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
behalfDocumentsWithHttpInfo
public ApiResponse<BehalfDocumentRecords> behalfDocumentsWithHttpInfo(Integer page, String pageType, List<String> emailAddress, List<String> signers, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds) throws ApiException
Gets the behalf documents.- Parameters:
page- Page index specified in get document list request. (required)pageType- The filter used to differentiate between documents sent on the user's behalf and documents sent by the user on behalf of others. The API will return documents based on the specified value. (optional)emailAddress- The sender identity's email used to filter the documents returned in the API. The API will return documents that were sent on behalf of the specified email address. (optional)signers- A list of signer email addresses used to filter the documents returned in the API. The API will return documents where the signer's email address matches one of the email addresses provided in this list (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)- Returns:
- ApiResponse<BehalfDocumentRecords>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
behalfDocumentsAsync
public okhttp3.Call behalfDocumentsAsync(Integer page, String pageType, List<String> emailAddress, List<String> signers, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback<BehalfDocumentRecords> _callback) throws ApiException
Gets the behalf documents. (asynchronously)- Parameters:
page- Page index specified in get document list request. (required)pageType- The filter used to differentiate between documents sent on the user's behalf and documents sent by the user on behalf of others. The API will return documents based on the specified value. (optional)emailAddress- The sender identity's email used to filter the documents returned in the API. The API will return documents that were sent on behalf of the specified email address. (optional)signers- A list of signer email addresses used to filter the documents returned in the API. The API will return documents where the signer's email address matches one of the email addresses provided in this list (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
changeAccessCodeCall
public okhttp3.Call changeAccessCodeCall(String documentId, AccessCodeDetails accessCodeDetails, String emailId, Integer zorder, ApiCallback _callback) throws ApiException
Build call for changeAccessCode- Parameters:
documentId- (required)accessCodeDetails- The new access code. (required)emailId- (optional)zorder- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
changeAccessCode
public void changeAccessCode(String documentId, AccessCodeDetails accessCodeDetails, String emailId, Integer zorder) throws ApiException
Changes the access code for the given document signer.- Parameters:
documentId- (required)accessCodeDetails- The new access code. (required)emailId- (optional)zorder- (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
changeAccessCodeWithHttpInfo
public ApiResponse<Void> changeAccessCodeWithHttpInfo(String documentId, AccessCodeDetails accessCodeDetails, String emailId, Integer zorder) throws ApiException
Changes the access code for the given document signer.- Parameters:
documentId- (required)accessCodeDetails- The new access code. (required)emailId- (optional)zorder- (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
changeAccessCodeAsync
public okhttp3.Call changeAccessCodeAsync(String documentId, AccessCodeDetails accessCodeDetails, String emailId, Integer zorder, ApiCallback<Void> _callback) throws ApiException
Changes the access code for the given document signer. (asynchronously)- Parameters:
documentId- (required)accessCodeDetails- The new access code. (required)emailId- (optional)zorder- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
changeRecipientCall
public okhttp3.Call changeRecipientCall(String documentId, ChangeRecipient changeRecipient, ApiCallback _callback) throws ApiException
Build call for changeRecipient- Parameters:
documentId- The documentID details. (required)changeRecipient- The new recipient details. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
changeRecipient
public void changeRecipient(String documentId, ChangeRecipient changeRecipient) throws ApiException
Change recipient details of a document.- Parameters:
documentId- The documentID details. (required)changeRecipient- The new recipient details. (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
changeRecipientWithHttpInfo
public ApiResponse<Void> changeRecipientWithHttpInfo(String documentId, ChangeRecipient changeRecipient) throws ApiException
Change recipient details of a document.- Parameters:
documentId- The documentID details. (required)changeRecipient- The new recipient details. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
changeRecipientAsync
public okhttp3.Call changeRecipientAsync(String documentId, ChangeRecipient changeRecipient, ApiCallback<Void> _callback) throws ApiException
Change recipient details of a document. (asynchronously)- Parameters:
documentId- The documentID details. (required)changeRecipient- The new recipient details. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
createEmbeddedRequestUrlDocumentCall
public okhttp3.Call createEmbeddedRequestUrlDocumentCall(EmbeddedDocumentRequest embeddedDocumentRequest, ApiCallback _callback) throws ApiException
Build call for createEmbeddedRequestUrlDocument- Parameters:
embeddedDocumentRequest- The embedded send document request body. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request - 422 Unprocessable Content -
-
createEmbeddedRequestUrlDocument
public EmbeddedSendCreated createEmbeddedRequestUrlDocument(EmbeddedDocumentRequest embeddedDocumentRequest) throws ApiException
Generates a send URL which embeds document sending process into your application.- Parameters:
embeddedDocumentRequest- The embedded send document request body. (optional)- Returns:
- EmbeddedSendCreated
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request - 422 Unprocessable Content -
-
createEmbeddedRequestUrlDocumentWithHttpInfo
public ApiResponse<EmbeddedSendCreated> createEmbeddedRequestUrlDocumentWithHttpInfo(EmbeddedDocumentRequest embeddedDocumentRequest) throws ApiException
Generates a send URL which embeds document sending process into your application.- Parameters:
embeddedDocumentRequest- The embedded send document request body. (optional)- Returns:
- ApiResponse<EmbeddedSendCreated>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request - 422 Unprocessable Content -
-
createEmbeddedRequestUrlDocumentAsync
public okhttp3.Call createEmbeddedRequestUrlDocumentAsync(EmbeddedDocumentRequest embeddedDocumentRequest, ApiCallback<EmbeddedSendCreated> _callback) throws ApiException
Generates a send URL which embeds document sending process into your application. (asynchronously)- Parameters:
embeddedDocumentRequest- The embedded send document request body. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request - 422 Unprocessable Content -
-
deleteDocumentCall
public okhttp3.Call deleteDocumentCall(String documentId, Boolean deletePermanently, ApiCallback _callback) throws ApiException
Build call for deleteDocument- Parameters:
documentId- Document Id. (required)deletePermanently- Delete Permanently. (optional, default to false)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
deleteDocument
public void deleteDocument(String documentId, Boolean deletePermanently) throws ApiException
Delete the document.- Parameters:
documentId- Document Id. (required)deletePermanently- Delete Permanently. (optional, default to false)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
deleteDocumentWithHttpInfo
public ApiResponse<Void> deleteDocumentWithHttpInfo(String documentId, Boolean deletePermanently) throws ApiException
Delete the document.- Parameters:
documentId- Document Id. (required)deletePermanently- Delete Permanently. (optional, default to false)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
deleteDocumentAsync
public okhttp3.Call deleteDocumentAsync(String documentId, Boolean deletePermanently, ApiCallback<Void> _callback) throws ApiException
Delete the document. (asynchronously)- Parameters:
documentId- Document Id. (required)deletePermanently- Delete Permanently. (optional, default to false)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
deleteTagCall
public okhttp3.Call deleteTagCall(DocumentTags documentTags, ApiCallback _callback) throws ApiException
Build call for deleteTag- Parameters:
documentTags- Contains DocumentId and LabelNames for Adding Tags. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 400 Bad Request -
-
deleteTag
public void deleteTag(DocumentTags documentTags) throws ApiException
Delete the Tags in Documents.- Parameters:
documentTags- Contains DocumentId and LabelNames for Adding Tags. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 400 Bad Request -
-
deleteTagWithHttpInfo
public ApiResponse<Void> deleteTagWithHttpInfo(DocumentTags documentTags) throws ApiException
Delete the Tags in Documents.- Parameters:
documentTags- Contains DocumentId and LabelNames for Adding Tags. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 400 Bad Request -
-
deleteTagAsync
public okhttp3.Call deleteTagAsync(DocumentTags documentTags, ApiCallback<Void> _callback) throws ApiException
Delete the Tags in Documents. (asynchronously)- Parameters:
documentTags- Contains DocumentId and LabelNames for Adding Tags. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 400 Bad Request -
-
downloadAttachmentCall
public okhttp3.Call downloadAttachmentCall(String documentId, String attachmentId, String onBehalfOf, ApiCallback _callback) throws ApiException
Build call for downloadAttachment- Parameters:
documentId- Document Id. (required)attachmentId- Attachment Id(Get attachment ID from Properties API). (required)onBehalfOf- The on behalfof email address. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
downloadAttachment
public File downloadAttachment(String documentId, String attachmentId, String onBehalfOf) throws ApiException
Download the Attachment.- Parameters:
documentId- Document Id. (required)attachmentId- Attachment Id(Get attachment ID from Properties API). (required)onBehalfOf- The on behalfof email address. (optional)- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
downloadAttachmentWithHttpInfo
public ApiResponse<File> downloadAttachmentWithHttpInfo(String documentId, String attachmentId, String onBehalfOf) throws ApiException
Download the Attachment.- Parameters:
documentId- Document Id. (required)attachmentId- Attachment Id(Get attachment ID from Properties API). (required)onBehalfOf- The on behalfof email address. (optional)- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
downloadAttachmentAsync
public okhttp3.Call downloadAttachmentAsync(String documentId, String attachmentId, String onBehalfOf, ApiCallback<File> _callback) throws ApiException
Download the Attachment. (asynchronously)- Parameters:
documentId- Document Id. (required)attachmentId- Attachment Id(Get attachment ID from Properties API). (required)onBehalfOf- The on behalfof email address. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
downloadAuditLogCall
public okhttp3.Call downloadAuditLogCall(String documentId, String onBehalfOf, ApiCallback _callback) throws ApiException
Build call for downloadAuditLog- Parameters:
documentId- Document Id. (required)onBehalfOf- The on behalfof email address. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
downloadAuditLog
public File downloadAuditLog(String documentId, String onBehalfOf) throws ApiException
Download the audit trail document.- Parameters:
documentId- Document Id. (required)onBehalfOf- The on behalfof email address. (optional)- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
downloadAuditLogWithHttpInfo
public ApiResponse<File> downloadAuditLogWithHttpInfo(String documentId, String onBehalfOf) throws ApiException
Download the audit trail document.- Parameters:
documentId- Document Id. (required)onBehalfOf- The on behalfof email address. (optional)- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
downloadAuditLogAsync
public okhttp3.Call downloadAuditLogAsync(String documentId, String onBehalfOf, ApiCallback<File> _callback) throws ApiException
Download the audit trail document. (asynchronously)- Parameters:
documentId- Document Id. (required)onBehalfOf- The on behalfof email address. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
downloadDocumentCall
public okhttp3.Call downloadDocumentCall(String documentId, String onBehalfOf, ApiCallback _callback) throws ApiException
Build call for downloadDocument- Parameters:
documentId- Document Id. (required)onBehalfOf- The on behalfof email address. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
downloadDocument
public File downloadDocument(String documentId, String onBehalfOf) throws ApiException
Download the document.- Parameters:
documentId- Document Id. (required)onBehalfOf- The on behalfof email address. (optional)- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
downloadDocumentWithHttpInfo
public ApiResponse<File> downloadDocumentWithHttpInfo(String documentId, String onBehalfOf) throws ApiException
Download the document.- Parameters:
documentId- Document Id. (required)onBehalfOf- The on behalfof email address. (optional)- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
downloadDocumentAsync
public okhttp3.Call downloadDocumentAsync(String documentId, String onBehalfOf, ApiCallback<File> _callback) throws ApiException
Download the document. (asynchronously)- Parameters:
documentId- Document Id. (required)onBehalfOf- The on behalfof email address. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
extendExpiryCall
public okhttp3.Call extendExpiryCall(String documentId, ExtendExpiry extendExpiry, ApiCallback _callback) throws ApiException
Build call for extendExpiry- Parameters:
documentId- Document Id. (required)extendExpiry- The new expiry value should be specified in yyyy-MM-dd format for days type, ISO date time format for specific date time and integer for hours type. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
extendExpiry
public void extendExpiry(String documentId, ExtendExpiry extendExpiry) throws ApiException
Extends the expiration date of the document.- Parameters:
documentId- Document Id. (required)extendExpiry- The new expiry value should be specified in yyyy-MM-dd format for days type, ISO date time format for specific date time and integer for hours type. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
extendExpiryWithHttpInfo
public ApiResponse<Void> extendExpiryWithHttpInfo(String documentId, ExtendExpiry extendExpiry) throws ApiException
Extends the expiration date of the document.- Parameters:
documentId- Document Id. (required)extendExpiry- The new expiry value should be specified in yyyy-MM-dd format for days type, ISO date time format for specific date time and integer for hours type. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
extendExpiryAsync
public okhttp3.Call extendExpiryAsync(String documentId, ExtendExpiry extendExpiry, ApiCallback<Void> _callback) throws ApiException
Extends the expiration date of the document. (asynchronously)- Parameters:
documentId- Document Id. (required)extendExpiry- The new expiry value should be specified in yyyy-MM-dd format for days type, ISO date time format for specific date time and integer for hours type. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getPropertiesCall
public okhttp3.Call getPropertiesCall(String documentId, ApiCallback _callback) throws ApiException
Build call for getProperties- Parameters:
documentId- Document Id. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getProperties
public DocumentProperties getProperties(String documentId) throws ApiException
Get summary of the document.- Parameters:
documentId- Document Id. (required)- Returns:
- DocumentProperties
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getPropertiesWithHttpInfo
public ApiResponse<DocumentProperties> getPropertiesWithHttpInfo(String documentId) throws ApiException
Get summary of the document.- Parameters:
documentId- Document Id. (required)- Returns:
- ApiResponse<DocumentProperties>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getPropertiesAsync
public okhttp3.Call getPropertiesAsync(String documentId, ApiCallback<DocumentProperties> _callback) throws ApiException
Get summary of the document. (asynchronously)- Parameters:
documentId- Document Id. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getEmbeddedSignLinkCall
public okhttp3.Call getEmbeddedSignLinkCall(String documentId, String signerEmail, String countryCode, String phoneNumber, OffsetDateTime signLinkValidTill, URI redirectUrl, ApiCallback _callback) throws ApiException
Build call for getEmbeddedSignLink- Parameters:
documentId- (required)signerEmail- (optional)countryCode- (optional)phoneNumber- (optional)signLinkValidTill- (optional)redirectUrl- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getEmbeddedSignLink
public EmbeddedSigningLink getEmbeddedSignLink(String documentId, String signerEmail, String countryCode, String phoneNumber, OffsetDateTime signLinkValidTill, URI redirectUrl) throws ApiException
Get sign link for Embedded Sign.- Parameters:
documentId- (required)signerEmail- (optional)countryCode- (optional)phoneNumber- (optional)signLinkValidTill- (optional)redirectUrl- (optional)- Returns:
- EmbeddedSigningLink
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getEmbeddedSignLinkWithHttpInfo
public ApiResponse<EmbeddedSigningLink> getEmbeddedSignLinkWithHttpInfo(String documentId, String signerEmail, String countryCode, String phoneNumber, OffsetDateTime signLinkValidTill, URI redirectUrl) throws ApiException
Get sign link for Embedded Sign.- Parameters:
documentId- (required)signerEmail- (optional)countryCode- (optional)phoneNumber- (optional)signLinkValidTill- (optional)redirectUrl- (optional)- Returns:
- ApiResponse<EmbeddedSigningLink>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
getEmbeddedSignLinkAsync
public okhttp3.Call getEmbeddedSignLinkAsync(String documentId, String signerEmail, String countryCode, String phoneNumber, OffsetDateTime signLinkValidTill, URI redirectUrl, ApiCallback<EmbeddedSigningLink> _callback) throws ApiException
Get sign link for Embedded Sign. (asynchronously)- Parameters:
documentId- (required)signerEmail- (optional)countryCode- (optional)phoneNumber- (optional)signLinkValidTill- (optional)redirectUrl- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
listDocumentsCall
public okhttp3.Call listDocumentsCall(Integer page, List<String> sentBy, List<String> recipients, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback _callback) throws ApiException
Build call for listDocuments- Parameters:
page- Page index specified in get document list request. (required)sentBy- (optional)recipients- (optional)transmitType- (optional)dateFilterType- Date Filter as SentBetween and ExpiresOn. (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listDocuments
public DocumentRecords listDocuments(Integer page, List<String> sentBy, List<String> recipients, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds) throws ApiException
List user documents.- Parameters:
page- Page index specified in get document list request. (required)sentBy- (optional)recipients- (optional)transmitType- (optional)dateFilterType- Date Filter as SentBetween and ExpiresOn. (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)- Returns:
- DocumentRecords
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listDocumentsWithHttpInfo
public ApiResponse<DocumentRecords> listDocumentsWithHttpInfo(Integer page, List<String> sentBy, List<String> recipients, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds) throws ApiException
List user documents.- Parameters:
page- Page index specified in get document list request. (required)sentBy- (optional)recipients- (optional)transmitType- (optional)dateFilterType- Date Filter as SentBetween and ExpiresOn. (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)- Returns:
- ApiResponse<DocumentRecords>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
listDocumentsAsync
public okhttp3.Call listDocumentsAsync(Integer page, List<String> sentBy, List<String> recipients, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback<DocumentRecords> _callback) throws ApiException
List user documents. (asynchronously)- Parameters:
page- Page index specified in get document list request. (required)sentBy- (optional)recipients- (optional)transmitType- (optional)dateFilterType- Date Filter as SentBetween and ExpiresOn. (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized -
-
prefillFieldsCall
public okhttp3.Call prefillFieldsCall(String documentId, PrefillFieldRequest prefillFieldRequest, ApiCallback _callback) throws ApiException
Build call for prefillFields- Parameters:
documentId- The DocumentId. (required)prefillFieldRequest- The prefill field request. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
prefillFields
public void prefillFields(String documentId, PrefillFieldRequest prefillFieldRequest) throws ApiException
Updates the value (prefill) of the fields in the document.- Parameters:
documentId- The DocumentId. (required)prefillFieldRequest- The prefill field request. (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
prefillFieldsWithHttpInfo
public ApiResponse<Void> prefillFieldsWithHttpInfo(String documentId, PrefillFieldRequest prefillFieldRequest) throws ApiException
Updates the value (prefill) of the fields in the document.- Parameters:
documentId- The DocumentId. (required)prefillFieldRequest- The prefill field request. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
prefillFieldsAsync
public okhttp3.Call prefillFieldsAsync(String documentId, PrefillFieldRequest prefillFieldRequest, ApiCallback<Void> _callback) throws ApiException
Updates the value (prefill) of the fields in the document. (asynchronously)- Parameters:
documentId- The DocumentId. (required)prefillFieldRequest- The prefill field request. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
remindDocumentCall
public okhttp3.Call remindDocumentCall(String documentId, List<String> receiverEmails, ReminderMessage reminderMessage, ApiCallback _callback) throws ApiException
Build call for remindDocument- Parameters:
documentId- Document Id. (required)receiverEmails- Signer emails. (optional)reminderMessage- Reminder Message for signers. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
remindDocument
public void remindDocument(String documentId, List<String> receiverEmails, ReminderMessage reminderMessage) throws ApiException
Send reminder to pending signers.- Parameters:
documentId- Document Id. (required)receiverEmails- Signer emails. (optional)reminderMessage- Reminder Message for signers. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
remindDocumentWithHttpInfo
public ApiResponse<Void> remindDocumentWithHttpInfo(String documentId, List<String> receiverEmails, ReminderMessage reminderMessage) throws ApiException
Send reminder to pending signers.- Parameters:
documentId- Document Id. (required)receiverEmails- Signer emails. (optional)reminderMessage- Reminder Message for signers. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
remindDocumentAsync
public okhttp3.Call remindDocumentAsync(String documentId, List<String> receiverEmails, ReminderMessage reminderMessage, ApiCallback<Void> _callback) throws ApiException
Send reminder to pending signers. (asynchronously)- Parameters:
documentId- Document Id. (required)receiverEmails- Signer emails. (optional)reminderMessage- Reminder Message for signers. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
removeAuthenticationCall
public okhttp3.Call removeAuthenticationCall(String documentId, RemoveAuthentication removeAuthentication, ApiCallback _callback) throws ApiException
Build call for removeAuthentication- Parameters:
documentId- Document ID of the signature request (required)removeAuthentication- To remove access code. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
removeAuthentication
public void removeAuthentication(String documentId, RemoveAuthentication removeAuthentication) throws ApiException
Remove the access code for the given document signer.- Parameters:
documentId- Document ID of the signature request (required)removeAuthentication- To remove access code. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
removeAuthenticationWithHttpInfo
public ApiResponse<Void> removeAuthenticationWithHttpInfo(String documentId, RemoveAuthentication removeAuthentication) throws ApiException
Remove the access code for the given document signer.- Parameters:
documentId- Document ID of the signature request (required)removeAuthentication- To remove access code. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
removeAuthenticationAsync
public okhttp3.Call removeAuthenticationAsync(String documentId, RemoveAuthentication removeAuthentication, ApiCallback<Void> _callback) throws ApiException
Remove the access code for the given document signer. (asynchronously)- Parameters:
documentId- Document ID of the signature request (required)removeAuthentication- To remove access code. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
revokeDocumentCall
public okhttp3.Call revokeDocumentCall(String documentId, RevokeDocument revokeDocument, ApiCallback _callback) throws ApiException
Build call for revokeDocument- Parameters:
documentId- Document Id. (required)revokeDocument- RevokeDetails. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
revokeDocument
public void revokeDocument(String documentId, RevokeDocument revokeDocument) throws ApiException
Revoke the document.- Parameters:
documentId- Document Id. (required)revokeDocument- RevokeDetails. (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
revokeDocumentWithHttpInfo
public ApiResponse<Void> revokeDocumentWithHttpInfo(String documentId, RevokeDocument revokeDocument) throws ApiException
Revoke the document.- Parameters:
documentId- Document Id. (required)revokeDocument- RevokeDetails. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
revokeDocumentAsync
public okhttp3.Call revokeDocumentAsync(String documentId, RevokeDocument revokeDocument, ApiCallback<Void> _callback) throws ApiException
Revoke the document. (asynchronously)- Parameters:
documentId- Document Id. (required)revokeDocument- RevokeDetails. (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 204 No Content - 401 Unauthorized - 403 Forbidden -
-
sendDocumentCall
public okhttp3.Call sendDocumentCall(SendForSign sendForSign, ApiCallback _callback) throws ApiException
Build call for sendDocument- Parameters:
sendForSign- The send for sign request body. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request - 422 Unprocessable Content -
-
sendDocument
public DocumentCreated sendDocument(SendForSign sendForSign) throws ApiException
Sends the document for sign.- Parameters:
sendForSign- The send for sign request body. (optional)- Returns:
- DocumentCreated
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request - 422 Unprocessable Content -
-
sendDocumentWithHttpInfo
public ApiResponse<DocumentCreated> sendDocumentWithHttpInfo(SendForSign sendForSign) throws ApiException
Sends the document for sign.- Parameters:
sendForSign- The send for sign request body. (optional)- Returns:
- ApiResponse<DocumentCreated>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request - 422 Unprocessable Content -
-
sendDocumentAsync
public okhttp3.Call sendDocumentAsync(SendForSign sendForSign, ApiCallback<DocumentCreated> _callback) throws ApiException
Sends the document for sign. (asynchronously)- Parameters:
sendForSign- The send for sign request body. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 201 Created - 401 Unauthorized - 403 Forbidden - 400 Bad Request - 422 Unprocessable Content -
-
teamDocumentsCall
public okhttp3.Call teamDocumentsCall(Integer page, List<String> userId, List<String> teamId, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback _callback) throws ApiException
Build call for teamDocuments- Parameters:
page- Page index specified in get document list request. (required)userId- UserId of the Team document. (optional)teamId- TeamId of the Team document. (optional)transmitType- Transmit type as Sent, Received and Both. (optional)dateFilterType- Date Filter as SentBetween and Expiring. (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
teamDocuments
public TeamDocumentRecords teamDocuments(Integer page, List<String> userId, List<String> teamId, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds) throws ApiException
Get user Team documents.- Parameters:
page- Page index specified in get document list request. (required)userId- UserId of the Team document. (optional)teamId- TeamId of the Team document. (optional)transmitType- Transmit type as Sent, Received and Both. (optional)dateFilterType- Date Filter as SentBetween and Expiring. (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)- Returns:
- TeamDocumentRecords
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
teamDocumentsWithHttpInfo
public ApiResponse<TeamDocumentRecords> teamDocumentsWithHttpInfo(Integer page, List<String> userId, List<String> teamId, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds) throws ApiException
Get user Team documents.- Parameters:
page- Page index specified in get document list request. (required)userId- UserId of the Team document. (optional)teamId- TeamId of the Team document. (optional)transmitType- Transmit type as Sent, Received and Both. (optional)dateFilterType- Date Filter as SentBetween and Expiring. (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)- Returns:
- ApiResponse<TeamDocumentRecords>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
teamDocumentsAsync
public okhttp3.Call teamDocumentsAsync(Integer page, List<String> userId, List<String> teamId, String transmitType, String dateFilterType, Integer pageSize, OffsetDateTime startDate, List<String> status, OffsetDateTime endDate, String searchKey, List<String> labels, Long nextCursor, List<String> brandIds, ApiCallback<TeamDocumentRecords> _callback) throws ApiException
Get user Team documents. (asynchronously)- Parameters:
page- Page index specified in get document list request. (required)userId- UserId of the Team document. (optional)teamId- TeamId of the Team document. (optional)transmitType- Transmit type as Sent, Received and Both. (optional)dateFilterType- Date Filter as SentBetween and Expiring. (optional)pageSize- Page size specified in get document list request. (optional, default to 10)startDate- Start date of the document (optional)status- Status of the document such as In-progress, Completed, Decline, Expired, Revoked, Draft. (optional)endDate- End date of the document (optional)searchKey- Documents can be listed by the search key present in the document like document title, document ID, sender or recipient(s) name, etc., (optional)labels- Labels of the document. (optional)nextCursor- Next cursor value for pagination, required for fetching the next set of documents beyond 10,000 records. (optional)brandIds- BrandId(s) of the document. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 OK - 401 Unauthorized - 403 Forbidden -
-
-