Class BulkEnvelopesApi


  • public class BulkEnvelopesApi
    extends java.lang.Object
    BulkEnvelopesApi class.
    • 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