Create package on behalf of another user
Tuesday, March 26, 2019 at 08:18amHey team,
I found the API call creating a package (or template ) on behalf of another user in your account in this documentation:
https://docs.esignlive.com/content/c_integrator_s_guide/rest_api/packages.htm#Create2
But there's no Java implementation. Any examples in Java SDK?
Thanks in advance!
      
                                    
Reply to: Create package on behalf of another user
Tuesday, March 26, 2019 at 08:43amDocumentPackage pkg1 = PackageBuilder.newPackageNamed("Create on behalf of " + System.currentTimeMillis()) .withSigner(SignerBuilder.newSignerWithEmail("[email protected]" ) .withFirstName("John") .withLastName("Smith")) .withDocument(DocumentBuilder.newDocumentWithName("document 1") .fromFile("your_file_path") .withSignature(SignatureBuilder.signatureFor("[email protected]") .onPage(0) .atPosition(100, 100) .withSize(250, 75))) .withSenderInfo(SenderInfoBuilder.newSenderInfo("[email protected]")) .build();And there's few points that may interest you with this feature: • In Web UI, either package or template will only show up in your sender’s folder because it’s your sender that has the ownership of the package/template. • Your actual creator of the package/template won’t be added to the package/template as a signer whereas your sender will. • If you’ve set Account Visibility to your template, it appears at the “Use Template†drop-down list in all account user’s dashboard. Hope this could help! Duo