Earned badges

Achievement: Latest Unlocked

Topic Started

This user has not created any forum posts.

Replies Created

Reply to: Create Package with options

0 votes
Hey Eugene, You can definitely have a look at this blog for a step-by-step tutorial on how to create and send a package in the REST API. It includes the JSON payload format in order to create and send a package. Also, the setting part of the payload would look something like this:
"optOutButton":true,"optOutReasons":["Reason 1","Reason 2","No Reason"]}}

Reply to: Acquiring the Authentication Token

0 votes
When making POST requests using WebClient, you should try to do it this way:
using (var client = new WebClient())
            byte[] response =
       client.UploadValues("", new NameValueCollection()
           { "Content-Type", "application/json" },
           { "Accept", "application/json" },
           { "Authorization", "Basic " + apiKey}
            string result = System.Text.Encoding.UTF8.GetString(response);
            Debug.WriteLine("Result: " + result);
Hope it helps!

Reply to: Querying for Packages Recently Completed, Expired, Etc.

0 votes
Here is a sample code on how to retrieve package statuses in a give date range:
public class StatusPackage {
	static String API_KEY = "your_api_key";
	static String url = "";
	static EslClient eslClient = new EslClient( API_KEY, url );
	public static void main(String[] args) {
		Calendar cal = Calendar.getInstance();
		cal.add(Calendar.DATE, -10);
		final Date START_DATE = cal.getTime();
	    final Date END_DATE = new DateTime().toDate();
	    int record = 1;
	    int j = 1;
	    Page completedPackages;
        completedPackages = getPackagesByPackageStatus(PackageStatus.COMPLETED, START_DATE, END_DATE, record);    
        while (record  index = completedPackages.iterator();
        	//Number of completed packages in current page. I set mine to display 10 packages at a time a the bottom (e.g. new PageRequest(i, 10))
        	System.out.println("COMPLETED Packages in page " + j);
        	while (index.hasNext()){
        		DocumentPackage myPackage =;
        		//Do what you want here with the current package (e.g. get packageId etc...)
        	 //make another call from new page start point
            completedPackages = getPackagesByPackageStatus(PackageStatus.COMPLETED, START_DATE, END_DATE, record);
	private static Page getPackagesByPackageStatus(PackageStatus packageStatus, Date startDate, Date endDate, int i) {
		Page resultPage = eslClient.getPackageService().getUpdatedPackagesWithinDateRange(packageStatus, new PageRequest(i, 5), startDate, endDate);
        return resultPage;
You can do the same for DRAFT, EXPIRED, SENT, DECLINED, and ARCHIVED packages. Let me know if it works for you :)


Topics Replies Freshness Views Users
Hi, I am unable to create a package with the JAVA sdk for the attached document. I am getting an eslServerException with a technical message ' error.eslx.inputValidation.documentPreverifyError'.
21 4 years 3 months ago 147
Hello, Is there a way to find the document in the package on which we received signer_complete or package_complete event? Thanks, Sushma
4 4 years 6 months ago 102
We receive the following error message if the package is signed by the one individual and not the other when we do a check status call. Could not get signing status.
5 4 years 7 months ago 134
Is it possible to have an area on a form where the signer can free form draw?
1 4 years 7 months ago 8
Is there a way to turn off signing order when creating the package in the .NET SDK?
1 4 years 7 months ago 51

Code Share

Document Extraction (Java SDK)

Submitted on April 22
Sample PDF file to use with the Document Extraction example guide.
  • Java
  • document
  • eSignLive
  • Java SDK
  • extraction
Example code to create a simple document package.
  • Java
  • Create Package
  • Java SDK

Document Package Settings (REST API)

Submitted on February 29
JSON payload to create a document package with configurable settings.
  • REST
  • API
  • json
  • Create Package
Example code to delete a document package.
  • Java
  • Java SDK
  • delete package
Example code to create a document package from a template.
  • Java
  • Create Package
  • Java SDK
  • template