Need help with getSigningUrl
Thursday, April 28, 2016 at 12:19pmI have some questions about creating the signing url in the .Net SDK and the REST API. Here is what I have so far.
I've created a package called "Test". I've added documents to Test. I've added Signers with just firstname, lastname and emailaddress to Test. I want to store the SignerId in my database, which I see that I can retrieve by using this:
string signerId = eslClient.GetPackage(pkgId).GetSigner(emailaddress).Id;. So far, so good. In our application, the user will then be shown the designer view in an iFrame to add the signers and signing types to the documents. Then they will click a "send" button on our site. I'll retrieve the Test package, change the package status to "sent" in your system, and then determine which signers need the email and create the signing URL. What information do I need to use to create the signing URL? The SDK has a method that uses the packageId and the signerId. But, our moblie developer pointed out that the REST API uses a roleId. So, is the roleId and the signerId the same thing? If not, where do I get the roleId from and what is it associated to? Thank you, Colleen
Reply to: Need help with getSigningUrl
Thursday, April 28, 2016 at 06:36pm{ "packageId":"{packageId}", "signerId":"[email protected]", "value":"" }The response payload would be the same as the request payload except the value would have the sessionToken in it to be used in the url sandbox.e-signlive.com/access?sessionToken={sessionToken} If you want to do the GET request for the signing URL, you do need to get the role ID which can be found by grabbing the roles for the package and locating the appropriate roleId. You can see more about this request in the documentation: http://docs.e-signlive.com/doku.php?id=esl:api:e-signlive_roles#get_packages_packageid_roles Hope this helps. Let me know.Reply to: Need help with getSigningUrl
Friday, April 29, 2016 at 04:04amReply to: Need help with getSigningUrl
Friday, April 29, 2016 at 05:56amReply to: Need help with getSigningUrl
Friday, April 29, 2016 at 06:02amPackageId packageId = new PackageId("e037d16d-6594-4344-b62d-d0de0d123457"); Signer sName = eslClient.GetPackage(packageId).GetSigner("[email protected]"); string sUrl = eslClient.PackageService.GetSigningUrl(packageId, sName.Id);Thank you, ColleenReply to: Need help with getSigningUrl
Friday, April 29, 2016 at 06:10amstring mySigner = eslClient.GetPackage(packageId).GetSigner("[email protected]").Id; string myURL = eslClient.PackageService.GetSigningUrl(packageId, mySigner);Reply to: Need help with getSigningUrl
Friday, April 29, 2016 at 06:12amReply to: Need help with getSigningUrl
Friday, April 29, 2016 at 06:30amSigner signer = SignerBuilder.NewSignerWithEmail(au.emailAddress) .WithFirstName(au.firstName) .WithLastName(au.lastName) .SigningOrder(au.sortOrder) .Build(); eslClient.PackageService.AddSigner(pkgId, signer); string signerId = eslClient.GetPackage(pkgId).GetSigner(au.emailAddress).Id;Thank you, ColleenReply to: Need help with getSigningUrl
Friday, April 29, 2016 at 06:31am.WithSigner(SignerBuilder.NewSignerWithEmail("[email protected]") .WithFirstName("Michael") .WithLastName("Williams") .WithCustomId("MySigner1"))Then, when you're using REST, you can do a GET call to:https://sandbox.e-signlive.com/api/packages/{packageId}/roles/MySigner1/signingUrlThis way, you don't have to find the Id anywhere. You created the ID in your code. The same will work for your SDK code:Reply to: Need help with getSigningUrl
Friday, April 29, 2016 at 06:38amReply to: Need help with getSigningUrl
Friday, April 29, 2016 at 06:43am