/
XML Sample

XML Sample

XML structure for example with <DigSig> fields.
<DigSig> means the signature fields are already set in the origin PDF file

XML Sample
<ESign>
 <Signatures>
   <DigSig>
     <SignatureType>1</SignatureType> <!-- click signature / digital stamp -->
     <FieldName>Signature1</FieldName>
     <Mandatory>1</Mandatory>
   </DigSig>
   <DigSig>
     <SignatureType>2</SignatureType> <!-- html-signer signature-->
     <FieldName>Signature2</FieldName>
     <Mandatory>1</Mandatory>
   </DigSig>
   <DigSig>
     <SignatureType>3</SignatureType> <!-- pad signature -->
     <FieldName>Signature3</FieldName>
   </DigSig>
   <DigSig>
     <SignatureType>4</SignatureType> <!-- app / QR code signature -->
     <FieldName>Signature4</FieldName>
   </DigSig>
 </Signatures>
 <PDF>...</PDF> <!-- fill in the base64 encoded PDF file here -->
</ESign>


XML structure for example with <Placeholder> fields.
<Placeholder> means the signature fields are set using a placeholder in the document

XML Sample
<ESign>  
    <Signatures>
		<Signature>
			<Placeholder>Signatur 1</Placeholder> <!-- the document contains the placeholder "Signatur 1". A signature field is placed at this position in the document -->
			<Width>6</Width>
			<Height>3</Height>
			<Offset_X>0</Offset_X>
			<Offset_Y>-1</Offset_Y>
			<Mandatory>1</Mandatory>
		</Signature>
		<Signature>
			<Placeholder>Signatur 2</Placeholder>
			<Width>6</Width>
			<Height>3</Height>
			<Offset_X>0</Offset_X>
			<Offset_Y>-1</Offset_Y>
			<Mandatory>1</Mandatory>
		</Signature>
		<Signature>
			<Placeholder>Signatur 3</Placeholder>
			<Width>6</Width>
			<Height>2</Height>
			<Offset_X>0</Offset_X>
			<Offset_Y>-1</Offset_Y>
			<Mandatory>1</Mandatory>
		</Signature>
		<Signature>
			<Placeholder>Signatur 4</Placeholder>
			<Width>6</Width>
			<Height>2</Height>
			<Offset_X>0</Offset_X>
			<Offset_Y>-1</Offset_Y>
			<Mandatory>1</Mandatory>
		</Signature>
	</Signatures>
  <PDF>...</PDF> <!-- fill in the base64 encoded PDF file here -->
</ESign>


*) <SignatureType> 
This optional tag defines the way, how to sign the field.
The available values are:
0 = stamp data (text/image) without signature
1 = digital stamp (signature with user certificate instead of hand-written signature)
2 = html-signer signature only
3 = pad signature only
4 = app signature only (QR code)
If no signature type is defined, a selection window appears. The signer can choose between following types: StepOver signature pad OR one of our apps OR HTML-signer (with a pen or your finger on your mobile device)


Test documents for download:

DigSigExample.xml

PlaceholderExample.xml


For more XML tags and functionality see /wiki/spaces/PESO/pages/79200348.



Related content

b) ESign Input XML: Creating signature requests
b) ESign Input XML: Creating signature requests
More like this
XML Elements overview
XML Elements overview
More like this
d) Integration Document and Envelope Viewer
d) Integration Document and Envelope Viewer
Read with this
NextGen XML
NextGen XML
More like this
PadConnector Pro XML
PadConnector Pro XML
More like this
Input-XML - 2.Signature fields Definition and Text on LCD
Input-XML - 2.Signature fields Definition and Text on LCD
More like this