Updating signatures per Package instead of per Document
Thursday, July 19, 2018 at 05:20amHi,
I'm looking for a way to add signatures to multiple documents in package in one API call instead of having to make separate calls for each individual document. We're looking to accomplish this so that we can reduce our total number of API calls to eSignLive and help our performance. Ideally the code below would run successfully, but unfortunately the updatePackage call does not affect the signatures within the documents and the second set of asserts all fail.
Assert.assertTrue(documentPackage.getDocuments().get(1).getSignatures().isEmpty()); Assert.assertTrue(documentPackage.getDocuments().get(2).getSignatures().isEmpty()); Assert.assertTrue(documentPackage.getDocuments().get(3).getSignatures().isEmpty()); documentPackage.getDocuments().get(1).addSignatures(signatures); documentPackage.getDocuments().get(2).addSignatures(signatures); documentPackage.getDocuments().get(3).addSignatures(signatures); eslClient.updatePackage(documentPackage.getId(), documentPackage); documentPackage = eslClient.getPackage(documentPackage.getId()); Assert.assertFalse(documentPackage.getDocuments().get(1).getSignatures().isEmpty()); Assert.assertFalse(documentPackage.getDocuments().get(2).getSignatures().isEmpty()); Assert.assertFalse(documentPackage.getDocuments().get(3).getSignatures().isEmpty());Is there some other call in the SDK that can accomplish this? Thanks.
Reply to: Updating signatures per Package instead of per Document
Thursday, July 19, 2018 at 07:56amReply to: Updating signatures per Package instead of per Document
Thursday, July 19, 2018 at 10:29amReply to: Updating signatures per Package instead of per Document
Thursday, July 19, 2018 at 11:42am