Skip to content

Latest commit

 

History

History
162 lines (112 loc) · 4.98 KB

BulkSendJobApi.md

File metadata and controls

162 lines (112 loc) · 4.98 KB

BulkSendJobApi

All URIs are relative to https://api.hellosign.com/v3

Method HTTP request Description
bulkSendJobGet GET /bulk_send_job/{bulk_send_job_id} Get Bulk Send Job
bulkSendJobList GET /bulk_send_job/list List Bulk Send Jobs

bulkSendJobGet

BulkSendJobGetResponse bulkSendJobGet(bulkSendJobId, page, pageSize)

Get Bulk Send Job

Returns the status of the BulkSendJob and its SignatureRequests specified by the bulk_send_job_id parameter.

Example

import com.dropbox.sign.ApiException;
import com.dropbox.sign.Configuration;
import com.dropbox.sign.api.*;
import com.dropbox.sign.auth.*;
import com.dropbox.sign.model.*;

public class Example {
    public static void main(String[] args) {
        var apiClient = Configuration.getDefaultApiClient()
            .setApiKey("YOUR_API_KEY");

        // or, configure Bearer (JWT) authorization: oauth2
        /*
        var apiClient = Configuration.getDefaultApiClient()
            .setBearerToken("YOUR_ACCESS_TOKEN");
        */

        var bulkSendJobApi = new BulkSendJobApi(apiClient);

        var bulkSendJobId = "6e683bc0369ba3d5b6f43c2c22a8031dbf6bd174";

        try {
            BulkSendJobGetResponse result = bulkSendJobApi.bulkSendJobGet(bulkSendJobId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#accountCreate");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
bulkSendJobId String The id of the BulkSendJob to retrieve.
page Integer Which page number of the BulkSendJob list to return. Defaults to 1. [optional] [default to 1]
pageSize Integer Number of objects to be returned per page. Must be between 1 and 100. Default is 20. [optional] [default to 20]

Return type

BulkSendJobGetResponse

Authorization

api_key, oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 successful operation * X-RateLimit-Limit -
* X-RateLimit-Remaining -
* X-Ratelimit-Reset -
4XX failed_operation -

bulkSendJobList

BulkSendJobListResponse bulkSendJobList(page, pageSize)

List Bulk Send Jobs

Returns a list of BulkSendJob that you can access.

Example

import com.dropbox.sign.ApiException;
import com.dropbox.sign.Configuration;
import com.dropbox.sign.api.*;
import com.dropbox.sign.auth.*;
import com.dropbox.sign.model.*;

public class Example {
    public static void main(String[] args) {
        var apiClient = Configuration.getDefaultApiClient()
            .setApiKey("YOUR_API_KEY");

        // or, configure Bearer (JWT) authorization: oauth2
        /*
        var apiClient = Configuration.getDefaultApiClient()
            .setBearerToken("YOUR_ACCESS_TOKEN");
        */

        var bulkSendJobApi = new BulkSendJobApi(apiClient);

        var page = 1;
        var pageSize = 20;

        try {
            BulkSendJobListResponse result = bulkSendJobApi.bulkSendJobList(page, pageSize);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountApi#accountCreate");
            System.err.println("Status code: " + e.getCode());
            System.err.println("Reason: " + e.getResponseBody());
            System.err.println("Response headers: " + e.getResponseHeaders());
            e.printStackTrace();
        }
    }
}

Parameters

Name Type Description Notes
page Integer Which page number of the BulkSendJob List to return. Defaults to 1. [optional] [default to 1]
pageSize Integer Number of objects to be returned per page. Must be between 1 and 100. Default is 20. [optional] [default to 20]

Return type

BulkSendJobListResponse

Authorization

api_key, oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 successful operation * X-RateLimit-Limit -
* X-RateLimit-Remaining -
* X-Ratelimit-Reset -
4XX failed_operation -