Package com.docusign.esign.api
Class BulkEnvelopesApi
- java.lang.Object
-
- com.docusign.esign.api.BulkEnvelopesApi
-
public class BulkEnvelopesApi extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classBulkEnvelopesApi.GetBulkSendBatchEnvelopesOptionsclassBulkEnvelopesApi.GetBulkSendBatchesOptions
-
Constructor Summary
Constructors Constructor Description BulkEnvelopesApi()BulkEnvelopesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BulkSendingListcreateBulkSendList(String accountId, BulkSendingList bulkSendingList)Creates a new bulk send listBulkSendResponsecreateBulkSendRequest(String accountId, String bulkSendListId, BulkSendRequest bulkSendRequest)Uses the specified bulk send list to send the envelope specified in the payloadBulkSendTestResponsecreateBulkSendTestRequest(String accountId, String bulkSendListId, BulkSendRequest bulkSendRequest)Tests whether the specified bulk sending list can be used to send an envelopeBulkSendingListSummariesdeleteBulkSendList(String accountId, String bulkSendListId)Deletes an existing bulk send listApiClientgetApiClient()EnvelopesInformationgetBulkSendBatchEnvelopes(String accountId, String bulkSendBatchId)Gets envelopes from a specific bulk send batchEnvelopesInformationgetBulkSendBatchEnvelopes(String accountId, String bulkSendBatchId, BulkEnvelopesApi.GetBulkSendBatchEnvelopesOptions options)Gets envelopes from a specific bulk send batchBulkSendBatchSummariesgetBulkSendBatches(String accountId)Returns a list of bulk send batch satuses initiated by account.BulkSendBatchSummariesgetBulkSendBatches(String accountId, BulkEnvelopesApi.GetBulkSendBatchesOptions options)Returns a list of bulk send batch satuses initiated by account.BulkSendBatchStatusgetBulkSendBatchStatus(String accountId, String bulkSendBatchId)Gets a specific bulk send batch statusBulkSendingListgetBulkSendList(String accountId, String bulkSendListId)Gets a specific bulk send listBulkSendingListSummariesgetBulkSendLists(String accountId)Lists top-level details for all bulk send lists visible to the current uservoidsetApiClient(ApiClient apiClient)BulkSendBatchStatusupdateBulkSendBatchStatus(String accountId, String bulkSendBatchId, BulkSendBatchRequest bulkSendBatchRequest)Put/Update a specific bulk send batch statusBulkSendingListupdateBulkSendList(String accountId, String bulkSendListId, BulkSendingList bulkSendingList)Updates an existing bulk send list.
-
-
-
Constructor Detail
-
BulkEnvelopesApi
public BulkEnvelopesApi()
-
BulkEnvelopesApi
public BulkEnvelopesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
createBulkSendList
public BulkSendingList createBulkSendList(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(String accountId, 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(String accountId, 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(String accountId, 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(String accountId, 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(String accountId, 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(String accountId, 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(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(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(String accountId, 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(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
-
updateBulkSendBatchStatus
public BulkSendBatchStatus updateBulkSendBatchStatus(String accountId, 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(String accountId, 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
-
-