How to send the bulk Fields value to eSignLive via POST method
Wednesday, August 24, 2016 at 12:41pmI have a document that has got like 200 fields.
I have made a web page that contains a web form with all those 200 fields.
When user submits the form I would want all the fields to be populated in the eSignLive form.
Is this possible via eSignLive API without having to post individual field values to eSignLive.
I want something like this that could solve by problem
document.forms[0].method = "POST";
document.forms[0].action = urlESignLive;
document.forms[0].submit();
I don't want something like this where I have type each and every field name in the code . That would take us a lot of time.
var jsonPayload = '{ "roles": [ { "id": "Signer1", "type": "SIGNER", "signers": [ { "firstName": "' + fields.firstName + '", "lastName": "' + fields.lastName+ '", "email": "' + fields.emailAddress + '", "id": "Signer1" } ] }, { "id": "Sender1", "type": "SIGNER", "signers": [ { "firstName": "Haris", "lastName": "Haidary", "email": "[email protected]", "id": "Sender1" } ] } ], "documents": [ { "fields": [ { "value": "' + fields.firstName + '", "name": "first_name" }, { "value": "' + fields.lastName + '", "name": "last_name" }, { "value": "' + fields.address + '", "name": "address" }, { "value": "' + fields.city + '", "name": "city" }, { "value": "' + fields.zip + '", "name": "zip" }, { "value": "' + fields.state + '", "name": "state" }, { "value": "' + fields.country + '", "name": "country" }, { "value": "' + fields.phoneNumber + '", "name": "phone_number" }, { "value": "' + fields.emailAddress + '", "name": "email" }, { "value": "' + fields.company + '", "name": "company" }, { "value": "' + fields.policyNumber + '", "name": "policy_number" } ], "name": "Sample Contract", "id" : "contract", "extract": true } ], "name": "NodeJS Example", "type": "PACKAGE", "status": "SENT" }';
Is it something that we can achieve from eSignLive API.
Thanks,
Sumit
Reply to: How to send the bulk Fields value to eSignLive via POST method
Thursday, August 25, 2016 at 03:28amReply to: How to send the bulk Fields value to eSignLive via POST method
Thursday, August 25, 2016 at 06:11amReply to: How to send the bulk Fields value to eSignLive via POST method
Thursday, August 25, 2016 at 07:22am