Account
Earned badges
Achievement: Latest Unlocked
Replies
Topics Started
Preferences
Topic Started
Topics |
---|
HI! I would like to ask if exists a way to sent an SMS with the transaction created instead of redirect from the current site. |
There is any specification about the fields that came on the response body of this service? |
Replies Created
Reply to: Hi rodrigo.carmona, Yes,…
Friday, June 18, 2021 at 09:37amHi Duo!
The main difference between your snippet and my actual code it's I was creating the DocumentPackage like this:
private DocumentPackage createPackage(String name, Signer signer, Document document, DocumentPackageSettings settings) {
PackageBuilder builder = PackageBuilder.newPackageNamed(name).withSigner(signer).withDocument(document).withSettings(settings).autocomplete(true);
return builder.build();
}
Then:
PackageId packageId = client.getTemplateService().createPackageFromTemplate(new PackageId("Ug_EIC8CCV8md-Jc7PJCHkEnrx0="), documentPackage);
client.uploadDocuments(packageId, document);
The document that I'm uploading it's created on the app like this (from a file):
DocumentBuilder builder = DocumentBuilder.newDocumentWithName(name).fromStream(input, DocumentType.PDF) .withExtractionType(ExtractionType.TEXT_TAGS).enableExtraction();
The signer is created like this:
SignerBuilder builder = SignerBuilder.newSignerWithEmail(email).withFirstName(firstName).withLastName(lastName) .withCustomId("Signer1").withAttachmentRequirement(atteachment1Req()) .withAttachmentRequirement(attachment2Req()) .withSmsSentTo(phoneNumber); .replacing(new Placeholder("901da53c-9bd8-43ff-8b63-460a5cccd95f"));
And has this to locate the signature for the Signer:
Maybe I need to change the order or to modify my custom document creation.
Not all the use cases have to use the template.
------
The transaction that I've used is on the sandbox:
TemplateID: Ug_EIC8CCV8md-Jc7PJCHkEnrx0=
PackageID: SouOnYztjTy2RvoD6n_TPh2gPKA=
Thanks for your response.
Reply to: Create Package from template and adding another document to sign
Friday, June 18, 2021 at 02:32pmOh! but it's good news then if I can use the Signer1 as the placeholder.
I will try this and get back to you with any news.
Thanks Duo!
Reply to: how to download a attachment via JAVA SDK call when the package is complete
Thursday, June 24, 2021 at 09:42pmHi Duo!
I was facing a similar issue and take the AttachmentRequirement creation using a custom id.
In what state should the transaction be to get the attachement downloaded by the custom id?
I've created a transaction with id t-7Yt2FLAruJWcik9dd2ESFV28s=, but when try to download, get an 404 exception:
com.silanis.esl.sdk.internal.RequestException: HTTP GET on URI https://sandbox.esignlive.com/api/packages/t-7Yt2FLAruJWcik9dd2ESFV28s=/attachment/41ee5ebe-01b1-432c-b915-183d5fb6ef67popa resulted in response with status code: [404, Not Found]. Optional details: {"technical":"Attachment requirement with uid [41ee5ebe-01b1-432c-b915-183d5fb6ef67popa] doesn't exist.","messageKey":"error.notFound.attachmentRequirementNotFound","message":"[error.notFound.attachmentRequirementNotFound]","code":404,"name":"Resource Not Found"}
Thanks in advance.
RC.
Reply to: how to download a attachment via JAVA SDK call when the package is complete
Tuesday, June 29, 2021 at 08:29amHi Duo.
Email sent
Cheers.
Reply to: Create Package from template and adding another document to sign
Monday, July 5, 2021 at 06:07pmHi Duo!
I've do this and it's work. I was strugling a bit because I was misunderstanding this but happens to work. You can see it here in this transaction: dJU2HhLmJuzRKtrtgQybs1s5uBo=.
Now, I know there the SDK have a method to download all signed docs. Exists anyway to loop over it, one by one?
Thanks in advance.
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
HI! I would like to ask if exists a way to sent an SMS with the transaction created instead of redirect from the current site. |
9 | 2 years 2 months ago | 105 | ![]() ![]() |
5 | 2 years 4 months ago | 82 | ![]() |
|
There is any specification about the fields that came on the response body of this service? |
1 | 3 years ago | 112 | ![]() |
Hi, Could you please let me know how to download a attachment via JAVA SDK call when the package is complete?
Thanks Wendy |
8 | 2 years 4 months ago | 77 | ![]() |