Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics
Here's the scenario. I have 2 Approvers (For example, Bob and Mary). Bob has just 1 signature field. Mary has a signature field and a Label. Bob signs first.
Greetings (again) Both programmatically and through the UI, I can not create a Label Field and associate it to a signature on the Fed Ramp Tenant.
Greetings I'm doing some scale testing and I've noticed that I can't programmatically upload data to a textarea using REST if the data is longer than 2100 characters (approximately).
Greetings We just got our prod and sandbox Fed Ramp tenant and I'm testing my code there. Getting errors.
Greetings There has to be an easy solution for this, but I can't figure it out. I have a textarea or textbox that fills an entire page.

Replies Created

Reply to: Looking for options for a multistep signing process

0 votes
Hi Michael Thanks for the quick reply. I use a direct REST call to update a label after user1 has signed. Note, the label that I update is tied to a signature for the account owner not user1. Here's the code private void SignMe(string PackID, string DocID, string approvalID, string fieldsID, string LabelText) { HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://sandbox.e-signlive.com/api/packages/" + PackID + "/documents/" + DocID + "/approvals/" + approvalID + "/fields/" + fieldsID); request.Method = "POST"; request.Accept = "application/json; esl-api-version=10.6"; request.ContentType = "application/json"; request.Headers["Authorization"] = "Basic " + API_KEY; using (var streamWriter = new StreamWriter(request.GetRequestStream())) { string json = "{\"id\":\"" + fieldsID + "\",\"value\":\"" + LabelText + "\"}"; streamWriter.Write(json); streamWriter.Flush(); streamWriter.Close(); } using (HttpWebResponse response = (HttpWebResponse)request.GetResponse()) { using (StreamReader sr = new StreamReader(response.GetResponseStream())) { if (sr.ReadToEnd() == "") { p("Update Worked", false); } } } } If I can't have a non Account owner update a label after a signature has occured, can I instead, have a Account owner have a signature field signed programmatically? That would also solve my problem Thanks again, Jim

Reply to: Looking for options for a multistep signing process

0 votes
Thanks Michael Yes I do need the signer to sign again 2 months later, but I'm using UpdateSigner to handle that, and it is working OK. Does the REST call above also work on Sandbox-E-SignLive.com as well? Thanks, Jim

Reply to: Looking for options for a multistep signing process

0 votes
Hi Michael Thanks again for the quick responses Both https://sandbox.e-signlive.com and https://sandbox.esignlive.com are running version are running "sdk": ".NET v11.0", so I assume this should work there, but I can't seem to programmatically sign a document with REST. Here is my JSON package
{"documents":[{"status":"","approvals":[{"signed":null,"accepted":null,"role":"a6bb49aa-565b-4b76-81ba-53310e769d2f","id":"MySiggy0","data":null,"fields":[{"subtype":"LABEL","height":29.999969482421875,"extractAnchor":null,"left":615.0000610351562,"top":780,"validation":null,"width":80.00004577636719,"extract":false,"binding":"{approval.signed}","page":0,"id":"TmSq3op92qsX","data":null,"type":"INPUT","value":"yyyy-MM-dd","name":""},{"subtype":"LABEL","height":29.999969482421875,"extractAnchor":null,"left":515.0001831054688,"top":710.0001831054688,"validation":null,"width":39.99995803833008,"extract":false,"binding":null,"page":0,"id":"Col3","data":null,"type":"INPUT","value":"","name":""},{"subtype":"FULLNAME","height":39.99995803833008,"extractAnchor":null,"left":261.9993896484375,"top":759.9994506835938,"validation":null,"width":199.99978637695312,"extract":false,"binding":null,"page":0,"id":"koRZAMyptYIC","data":null,"type":"SIGNATURE","value":"","name":"koRZAMyptYIC"}],"name":""}],"pages":[{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_1.png","index":0,"version":748099},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_2.png","index":1,"version":748100},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_3.png","index":2,"version":748101},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_4.png","index":3,"version":748102},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_5.png","index":4,"version":748103},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_6.png","index":5,"version":748104},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_7.png","index":6,"version":748105},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_8.png","index":7,"version":748106},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_9.png","index":8,"version":748107},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_10.png","index":9,"version":748108},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_11.png","index":10,"version":748109},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_12.png","index":11,"version":748110},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_13.png","index":12,"version":748111},{"height":1030,"left":0,"width":796,"top":0,"id":"e1a1acd27a3ce9dc_14.png","index":13,"version":748112},{"height":1030,"left":0,"width":796,"top":0,"id":"146349bb607a57db_15.png","index":14,"version":723824},{"height":1030,"left":0,"width":796,"top":0,"id":"146349bb607a57db_16.png","index":15,"version":723825},{"height":1030,"left":0,"width":796,"top":0,"id":"146349bb607a57db_17.png","index":16,"version":723826},{"height":1030,"left":0,"width":796,"top":0,"id":"146349bb607a57db_18.png","index":17,"version":723827},{"height":1030,"left":0,"width":796,"top":0,"id":"146349bb607a57db_19.png","index":18,"version":723828}],"external":null,"extract":false,"description":"","id":"c9425617034d9442","data":null,"index":0,"fields":[],"name":"CD-430Lianna1","size":609752}]}
Here's my call, where jgot is the JSON shown above
HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://sandbox.e-signlive.com/api/packages/e8ff205f-d582-4136-95cb-8d80076ade26/documents/signed_documents");
request.Method = "POST";
request.Accept = "application/json; esl-api-version=10.6";
request.ContentType = "application/json";
request.Headers["Authorization"] = "Basic " + API_KEY;
using (var streamWriter = new StreamWriter(request.GetRequestStream()))
{
    streamWriter.Write(jgot);
    streamWriter.Flush();
    streamWriter.Close();
}
using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
{
    using (StreamReader sr = new StreamReader(response.GetResponseStream()))
    {
        if (sr.ReadToEnd() == "")
        {
            p("Update Worked", false);
        }
    }
}
I get this error: "The remote server returned an error: (400) Bad Request."

Reply to: Looking for options for a multistep signing process

0 votes
Hi Michael I was able to get the REST call to accept my JSON package. This works if I set the approvals to a blank array ("approvals":[]), which is how it is shown in rest_api_documents.pdf, but my document does not get signed. So if you can make a working example, that would be great Thanks Jim

Reply to: Looking for options for a multistep signing process

0 votes
Hi Michael This makes sense, but I was not able to make it work for me. Perhaps it is due to the fact that I'm using https://sandbox.e-signlive.com/api. I'll create an ID on https://sandbox.esignlive.com/api and try again. I'll tell you how it goes Thanks Jim

Subscriptions

Topics Replies Freshness Views Users
Here's the scenario. I have 2 Approvers (For example, Bob and Mary). Bob has just 1 signature field. Mary has a signature field and a Label. Bob signs first.
2 7 years 3 months ago 10
Profile picture for user harishaidary
Greetings (again) Both programmatically and through the UI, I can not create a Label Field and associate it to a signature on the Fed Ramp Tenant.
2 7 years 7 months ago 3
Profile picture for user mwilliams
Greetings I'm doing some scale testing and I've noticed that I can't programmatically upload data to a textarea using REST if the data is longer than 2100 characters (approximately).
5 7 years 7 months ago 9
Profile picture for user mwilliams
Greetings We just got our prod and sandbox Fed Ramp tenant and I'm testing my code there. Getting errors.
8 7 years 8 months ago 13
Profile picture for user harishaidary
Greetings There has to be an easy solution for this, but I can't figure it out. I have a textarea or textbox that fills an entire page.
7 7 years 8 months ago 114
Profile picture for user harishaidary
Profile picture for user mwilliams

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.