mwilliams submitted March 8 2016

This example shows how to make a Multi-Part form POST request to create an OneSpan Sign document package using form field extraction. You can cross reference the field names with the JSON payload when modifying for your own use. This sample code is in C#, but the same JSON payload and other request info will be the same for any other language.  

Rate this Code Share

Comments

trevorewen | Posts: 43

Reply to: Document Extraction (REST API)

0 votes
When I open up the PDF with Acrobat Pro, while all the fields are available for edit, I am not able to find the names of each field. I used a command line utility called pdftk to dump the data fields, here is what I got. Do these names have to be of a specific format? --- FieldType: Text FieldName: [Signer.Capture1.label1.Name] FieldFlags: 0 FieldValue: FieldJustification: Left --- FieldType: Text FieldName: [Signer.Capture1.Textfield2] FieldFlags: 0 FieldValue: FieldJustification: Left
harishaidary | Posts: 1812

Reply to: Document Extraction (REST API)

0 votes
If you open up the PDF with Adobe Acrobat, there should be a menu on the right-hand side where it should have an option to "Prepare Form". Once you click that, you will see all the field names and you can simply double click on the field to edit the name. If you don't see that menu, you can go to View > Tools > Prepare Form > Open. The field names have to be in a specific format for eSignLive to recognize them when uploading your document to your package as per our documentation: http://docs.e-signlive.com/doku.php?id=esl:e-signlive_guide-working_with_documents#document_extraction

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off