Package com.docusign.esign.api
Class BulkEnvelopesApi
- java.lang.Object
-
- com.docusign.esign.api.BulkEnvelopesApi
-
public class BulkEnvelopesApi extends java.lang.ObjectBulkEnvelopesApi class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classBulkEnvelopesApi.GetBulkSendBatchEnvelopesOptionsGetBulkSendBatchEnvelopesOptions Class.classBulkEnvelopesApi.GetBulkSendBatchesOptionsGetBulkSendBatchesOptions Class.
-
Constructor Summary
Constructors Constructor Description BulkEnvelopesApi()BulkEnvelopesApi.BulkEnvelopesApi(ApiClient apiClient)BulkEnvelopesApi.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkSendingListcreateBulkSendList(java.lang.String accountId, BulkSendingList bulkSendingList)Creates a new bulk send list.BulkSendResponsecreateBulkSendRequest(java.lang.String accountId, java.lang.String bulkSendListId, BulkSendRequest bulkSendRequest)Uses the specified bulk send list to send the envelope specified in the payload.BulkSendTestResponsecreateBulkSendTestRequest(java.lang.String accountId, java.lang.String bulkSendListId, BulkSendRequest bulkSendRequest)Tests whether the specified bulk sending list can be used to send an envelope.BulkSendingListSummariesdeleteBulkSendList(java.lang.String accountId, java.lang.String bulkSendListId)Deletes an existing bulk send list.ApiClientgetApiClient()getApiClient Method.EnvelopesInformationgetBulkSendBatchEnvelopes(java.lang.String accountId, java.lang.String bulkSendBatchId)Gets envelopes from a specific bulk send batch.EnvelopesInformationgetBulkSendBatchEnvelopes(java.lang.String accountId, java.lang.String bulkSendBatchId, BulkEnvelopesApi.GetBulkSendBatchEnvelopesOptions options)Gets envelopes from a specific bulk send batch.BulkSendBatchSummariesgetBulkSendBatches(java.lang.String accountId)Returns a list of bulk send batch satuses initiated by account..BulkSendBatchSummariesgetBulkSendBatches(java.lang.String accountId, BulkEnvelopesApi.GetBulkSendBatchesOptions options)Returns a list of bulk send batch satuses initiated by account..BulkSendBatchStatusgetBulkSendBatchStatus(java.lang.String accountId, java.lang.String bulkSendBatchId)Gets a specific bulk send batch status.BulkSendingListgetBulkSendList(java.lang.String accountId, java.lang.String bulkSendListId)Gets a specific bulk send list.BulkSendingListSummariesgetBulkSendLists(java.lang.String accountId)Lists top-level details for all bulk send lists visible to the current user.voidsetApiClient(ApiClient apiClient)setApiClient Method.BulkSendBatchStatusupdateBulkSendBatchAction(java.lang.String accountId, java.lang.String bulkSendBatchId, java.lang.String bulkAction, BulkSendBatchActionRequest bulkSendBatchActionRequest)Initiate a specific bulk send batch action.BulkSendBatchStatusupdateBulkSendBatchStatus(java.lang.String accountId, java.lang.String bulkSendBatchId, BulkSendBatchRequest bulkSendBatchRequest)Put/Update a specific bulk send batch status.BulkSendingListupdateBulkSendList(java.lang.String accountId, java.lang.String bulkSendListId, BulkSendingList bulkSendingList)Updates an existing bulk send list.
-
-
-
Constructor Detail
-
BulkEnvelopesApi
public BulkEnvelopesApi()
BulkEnvelopesApi.
-
BulkEnvelopesApi
public BulkEnvelopesApi(ApiClient apiClient)
BulkEnvelopesApi.
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
getApiClient Method.- Returns:
- ApiClient
-
setApiClient
public void setApiClient(ApiClient apiClient)
setApiClient Method.
-
createBulkSendList
public BulkSendingList createBulkSendList(java.lang.String accountId, BulkSendingList bulkSendingList) throws ApiException
Creates a new bulk send list.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)bulkSendingList- (optional)- Returns:
- BulkSendingList
- Throws:
ApiException- if fails to make API call
-
createBulkSendRequest
public BulkSendResponse createBulkSendRequest(java.lang.String accountId, java.lang.String bulkSendListId, BulkSendRequest bulkSendRequest) throws ApiException
Uses the specified bulk send list to send the envelope specified in the payload.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)bulkSendListId- (required)bulkSendRequest- (optional)- Returns:
- BulkSendResponse
- Throws:
ApiException- if fails to make API call
-
createBulkSendTestRequest
public BulkSendTestResponse createBulkSendTestRequest(java.lang.String accountId, java.lang.String bulkSendListId, BulkSendRequest bulkSendRequest) throws ApiException
Tests whether the specified bulk sending list can be used to send an envelope.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)bulkSendListId- (required)bulkSendRequest- (optional)- Returns:
- BulkSendTestResponse
- Throws:
ApiException- if fails to make API call
-
deleteBulkSendList
public BulkSendingListSummaries deleteBulkSendList(java.lang.String accountId, java.lang.String bulkSendListId) throws ApiException
Deletes an existing bulk send list.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)bulkSendListId- (required)- Returns:
- BulkSendingListSummaries
- Throws:
ApiException- if fails to make API call
-
getBulkSendBatchEnvelopes
public EnvelopesInformation getBulkSendBatchEnvelopes(java.lang.String accountId, java.lang.String bulkSendBatchId) throws ApiException
Gets envelopes from a specific bulk send batch.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)bulkSendBatchId- (required)- Returns:
- EnvelopesInformation
- Throws:
ApiException
-
getBulkSendBatchEnvelopes
public EnvelopesInformation getBulkSendBatchEnvelopes(java.lang.String accountId, java.lang.String bulkSendBatchId, BulkEnvelopesApi.GetBulkSendBatchEnvelopesOptions options) throws ApiException
Gets envelopes from a specific bulk send batch.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)bulkSendBatchId- (required)options- for modifying the method behavior.- Returns:
- EnvelopesInformation
- Throws:
ApiException- if fails to make API call
-
getBulkSendBatchStatus
public BulkSendBatchStatus getBulkSendBatchStatus(java.lang.String accountId, java.lang.String bulkSendBatchId) throws ApiException
Gets a specific bulk send batch status.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)bulkSendBatchId- (required)- Returns:
- BulkSendBatchStatus
- Throws:
ApiException- if fails to make API call
-
getBulkSendBatches
public BulkSendBatchSummaries getBulkSendBatches(java.lang.String accountId) throws ApiException
Returns a list of bulk send batch satuses initiated by account..- Parameters:
accountId- The external account number (int) or account ID Guid. (required)- Returns:
- BulkSendBatchSummaries
- Throws:
ApiException
-
getBulkSendBatches
public BulkSendBatchSummaries getBulkSendBatches(java.lang.String accountId, BulkEnvelopesApi.GetBulkSendBatchesOptions options) throws ApiException
Returns a list of bulk send batch satuses initiated by account..- Parameters:
accountId- The external account number (int) or account ID Guid. (required)options- for modifying the method behavior.- Returns:
- BulkSendBatchSummaries
- Throws:
ApiException- if fails to make API call
-
getBulkSendList
public BulkSendingList getBulkSendList(java.lang.String accountId, java.lang.String bulkSendListId) throws ApiException
Gets a specific bulk send list.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)bulkSendListId- (required)- Returns:
- BulkSendingList
- Throws:
ApiException- if fails to make API call
-
getBulkSendLists
public BulkSendingListSummaries getBulkSendLists(java.lang.String accountId) throws ApiException
Lists top-level details for all bulk send lists visible to the current user.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)- Returns:
- BulkSendingListSummaries
- Throws:
ApiException- if fails to make API call
-
updateBulkSendBatchAction
public BulkSendBatchStatus updateBulkSendBatchAction(java.lang.String accountId, java.lang.String bulkSendBatchId, java.lang.String bulkAction, BulkSendBatchActionRequest bulkSendBatchActionRequest) throws ApiException
Initiate a specific bulk send batch action.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)bulkSendBatchId- (required)bulkAction- (required)bulkSendBatchActionRequest- (optional)- Returns:
- BulkSendBatchStatus
- Throws:
ApiException- if fails to make API call
-
updateBulkSendBatchStatus
public BulkSendBatchStatus updateBulkSendBatchStatus(java.lang.String accountId, java.lang.String bulkSendBatchId, BulkSendBatchRequest bulkSendBatchRequest) throws ApiException
Put/Update a specific bulk send batch status.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)bulkSendBatchId- (required)bulkSendBatchRequest- (optional)- Returns:
- BulkSendBatchStatus
- Throws:
ApiException- if fails to make API call
-
updateBulkSendList
public BulkSendingList updateBulkSendList(java.lang.String accountId, java.lang.String bulkSendListId, BulkSendingList bulkSendingList) throws ApiException
Updates an existing bulk send list. If send_envelope query string value is provided, will accept an empty payload and try to send the specified envelope.- Parameters:
accountId- The external account number (int) or account ID Guid. (required)bulkSendListId- (required)bulkSendingList- (optional)- Returns:
- BulkSendingList
- Throws:
ApiException- if fails to make API call
-
-