Account


Earned badges

Achievement: Latest Unlocked

Topic Started

This user has not created any forum posts.

Replies Created

Approved Answer

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

0 votes
The only workaround I would have for you is to use the sample code above and set START_DATE to something like the last 30 days (or more). This way, you would be able to determine the status of each package in the last 30 days.

Reply to: Creating Groups

0 votes
The code below will do trick. Let me know if you run into any issues.
public static void Main(string[] args)
        {
            EslClient eslClient = new EslClient(apiKey, apiUrl);

            Group emptyGroup = GroupBuilder.NewGroup(Guid.NewGuid().ToString())
                .WithEmail("[email protected]")
                .WithoutIndividualMemberEmailing()
                .Build();
            Group createdEmptyGroup = eslClient.GroupService.CreateGroup(emptyGroup);

            eslClient.GroupService.InviteMember(createdEmptyGroup.Id,
                GroupMemberBuilder.NewGroupMember("[email protected]")
                 .AsMemberType(GroupMemberType.MANAGER)
                .Build());
        }

Approved Answer

Reply to: Set up Package for Review

0 votes
When creating a new package in your Sandbox account, click on the "Advanced options" tab. Then, click on the "Do not auto-complete the Package" checkbox. This will give you a chance to review the package before marking it COMPLETE.

Reply to: Set the package expiry date programmaticaly

0 votes
It is definitely possible to set the expiry date with the Java SDK. The sample code below sets the expiry date to two weeks from today:
public class expiryDate {

    public static final String API_KEY = "your_api_key";
    public static final String API_URL = "https://sandbox.esignlive.com/api"; 
    // USE https://apps.e-signlive.com/api FOR PRODUCTION
 
    public static void main( String[] args ) {
    	
    	Calendar cal = Calendar.getInstance();
	cal.add(Calendar.DATE, +14);
		
	Date expiryDate = cal.getTime();
		
    	//connect to e-SignLive
    	EslClient eslClient = new EslClient( API_KEY, API_URL );

    	//create a packageId using your packageId string
    	PackageId packageId = new PackageId("472b7114-9478-493d-bd3c-2367a0cdab4e");
    	
    	//get your package
    	DocumentPackage myPackage = eslClient.getPackage(packageId);
    	
    	myPackage.setExpiryDate(expiryDate);
    	
    	eslClient.getPackageService().updatePackage(packageId, myPackage);
    }
}

Approved Answer

Reply to: Set the package expiry date programmaticaly

0 votes
I apologize if it wasn't clear in the API documentation. When creating a new package, you have the option of setting the expiry date. An example is shown in "Custom Package Data" in the "Document Package Configuration" section of the API documentation.
DocumentPackage superDuperPackage1 = newPackageNamed( "Policy " + new SimpleDateFormat( "HH:mm:ss" ).format( new Date() ) )
        	     .describedAs( "This is a package created using the e-SignLive SDK" )
        	     .expiresAt( new Date() )
        	     .withEmailMessage( "This message should be delivered to all signers" )
        	     .withSigner( newSignerWithEmail( "[email protected]" )
        	          .withCustomId( "Client1" )
        	          .withFirstName( "John" )
        	          .withLastName( "Smith" )
        	          .withTitle( "Managing Director" )
        	          .withCompany( "Acme Inc." ) )
        	     .withDocument( newDocumentWithName( "First Document" )
        	          .fromStream( new java.io.FileInputStream(DOCUMENT_PATH), DocumentType.PDF )
        	          .withSignature( signatureFor( "[email protected]" )
        	               .onPage( 0 )
        	               .withField( FieldBuilder.checkBox()
        	                    .onPage( 0 )
        	                    .atPosition( 400, 200 )
        	                    .withValue( "x" ) )
        	               .atPosition( 100, 100 ) ) )
        	          .withAttributes(newDocumentPackageAttributes()
        	               .withAttribute( "First Name", "Bill" )
        	               .withAttribute("Last Name", "Johnson")
        	               .withAttribute("Signing Order", "1")
        	               .build())
        	          .build();
 
PackageId packageId = eslClient.createPackage( superDuperPackage );
eslClient.sendPackage( packageId );
In the sample code I provided earlier, I set the expiry date on an already created package. It is indeed not covered in the documentation.

Subscriptions

Topics Replies Freshness Views Users
Hi, I want to extract ip address, geolocation and signature date of a signer. Can you help me please? Thank you.
4 5 years 10 months ago 91
Profile picture for user harishaidary
Hi, I am trying to find my API Key that is mentioned in the following step by step guide. https://developer.esignlive.com/guides/quick-start/creating-and-sending-a-package-java/ The first few lines
5 5 years 2 months ago 504
Profile picture for user Duo_Liang
Profile picture for user harishaidary
Hi Team, I have Created a package using "REST API" which has two signers , And when any one of the signer is "Decline" the document the other signer status is also getting "Decline" Basically i s
5 5 years 10 months ago 36
Profile picture for user harishaidary
Hi Team, I am Creating some application to Perform Operation on the Packages and Since Last two Hours The API is not working Below URL i have tried https://sandbox.esignlive.com https://sandbox.e-si
2 5 years 5 months ago 99
Profile picture for user harishaidary
Hi, We are unable to remove all the documents from the package when document visibility settings are enabled.
3 5 years 10 months ago 42
Profile picture for user harishaidary

Code Share

Notify Signer Example (Java SDK)

Submitted on
Example code to notify signer of a pending signature.
  • Java
  • notifications
  • Java SDK
  • email
40 views
6 downloads
Example code to create a signing session with the Java SDK.
  • Java
  • Session Token
  • Java SDK
13 views
3 downloads
Example code to download your documents.
  • Java
  • document
  • Java SDK
  • download
24 views
3 downloads

In-Person Example (Java SDK)

Submitted on
Example code to request in-person signing.
  • Java
  • in-person
  • Java SDK
41 views
11 downloads
Example code to create a reminder schedule.
  • Java
  • Java SDK
  • email
  • reminder
  • schedule
16 views
2 downloads

Subscriptions Release Notes

This user is not subscribed to any release notes.