Text anchor full example
Friday, February 5, 2016 at 04:07amI have a client who is using REST API to create package. She is getting error 400 when using text anchor.
      
                                    {
	"name": "TEST2 32.pdf",
	"index": 0,
	"approvals": [{
		"fields": [{
			"type": "SIGNATURE",
			"width": 200,
			"height": 50,
			"extract": false,
			"extractAnchor": {
				"text": "Dealer Signature",
				"index": 0,
				"width": 150,
				"height": 40,
				"anchorPoint": "TOPRIGHT",
				"characterIndex": 16,
				"leftOffset": 10,
				"topOffset": -28
			},
			"left": 0,
			"subtype": "FULLNAME",
			"top": 0
		}],
		"role": "Dealer"
	}, {
		"fields": [{
			"type": "SIGNATURE",
			"width": 200,
			"height": 50,
			"extract": false,
			"extractAnchor": {
				"text": "Dealer Signature",
				"index": 1,
				"width": 150,
				"height": 40,
				"anchorPoint": "TOPRIGHT",
				"characterIndex": 16,
				"leftOffset": 10,
				"topOffset": -28
			},
			"left": 0,
			"subtype": "FULLNAME",
			"top": 0
		}],
		"role": "Dealer"
	}, {
		"fields": [{
			"type": "SIGNATURE",
			"width": 200,
			"height": 50,
			"extract": false,
			"extractAnchor": {
				"text": "Signed for and on behalf of Dealer\/Supplier",
				"index": 0,
				"width": 150,
				"height": 40,
				"anchorPoint": "BOTTOMLEFT",
				"characterIndex": 1,
				"leftOffset": -5,
				"topOffset": 3
			},
			"left": 0,
			"subtype": "FULLNAME",
			"top": 0
		}],
		"role": "Dealer"
	}, {
		"fields": [{
			"type": "SIGNATURE",
			"width": 200,
			"height": 50,
			"extract": false,
			"extractAnchor": {
				"text": "Customer Signature(s)",
				"index": 0,
				"width": 150,
				"height": 40,
				"anchorPoint": "TOPRIGHT",
				"characterIndex": 1,
				"leftOffset": 200,
				"topOffset": -10
			},
			"left": 0,
			"subtype": "FULLNAME",
			"top": 0
		}],
		"role": "Signer0"
	}, {
		"fields": [{
			"type": "SIGNATURE",
			"width": 200,
			"height": 50,
			"extract": false,
			"extractAnchor": {
				"text": "Signature of Customer(s)",
				"index": 0,
				"width": 150,
				"height": 40,
				"anchorPoint": "BOTTOMLEFT",
				"characterIndex": 0,
				"leftOffset": 0,
				"topOffset": 10
			},
			"left": 0,
			"subtype": "FULLNAME",
			"top": 0
		}],
		"role": "Signer0"
	}, {
		"fields": [{
			"type": "SIGNATURE",
			"width": 200,
			"height": 50,
			"extract": false,
			"extractAnchor": {
				"text": "Signature of Indemnifier",
				"index": 0,
				"width": 150,
				"height": 40,
				"anchorPoint": "TOPRIGHT",
				"characterIndex": 1,
				"leftOffset": 110,
				"topOffset": 5
			},
			"left": 0,
			"subtype": "FULLNAME",
			"top": 0
		}],
		"role": "Signer0"
	}, {
		"fields": [{
			"type": "SIGNATURE",
			"width": 200,
			"height": 50,
			"extract": false,
			"extractAnchor": {
				"text": "Signature(s) of Customer(s)",
				"index": 0,
				"width": 150,
				"height": 40,
				"anchorPoint": "TOPRIGHT",
				"characterIndex": 1,
				"leftOffset": 50,
				"topOffset": 20
			},
			"left": 0,
			"subtype": "FULLNAME",
			"top": 0
		}],
		"role": "Signer0"
	}, {
		"fields": [{
			"type": "SIGNATURE",
			"width": 200,
			"height": 50,
			"extract": false,
			"extractAnchor": {
				"text": "Customer Signature(s)",
				"index": 0,
				"width": 150,
				"height": 40,
				"anchorPoint": "TOPRIGHT",
				"characterIndex": 1,
				"leftOffset": 395,
				"topOffset": -10
			},
			"left": 0,
			"subtype": "FULLNAME",
			"top": 0
		}],
		"role": "Signer1"
	}, {
		"fields": [{
			"type": "SIGNATURE",
			"width": 200,
			"height": 50,
			"extract": false,
			"extractAnchor": {
				"text": "Signature of Customer(s)",
				"index": 1,
				"width": 150,
				"height": 40,
				"anchorPoint": "BOTTOMLEFT",
				"characterIndex": 0,
				"leftOffset": 0,
				"topOffset": 10
			},
			"left": 0,
			"subtype": "FULLNAME",
			"top": 0
		}],
		"role": "Signer1"
	}, {
		"fields": [{
			"type": "SIGNATURE",
			"width": 200,
			"height": 50,
			"extract": false,
			"extractAnchor": {
				"text": "Signature of Indemnifier",
				"index": 1,
				"width": 150,
				"height": 40,
				"anchorPoint": "TOPRIGHT",
				"characterIndex": 1,
				"leftOffset": 110,
				"topOffset": 5
			},
			"left": 0,
			"subtype": "FULLNAME",
			"top": 0
		}],
		"role": "Signer1"
	}, {
		"fields": [{
			"type": "SIGNATURE",
			"width": 200,
			"height": 50,
			"extract": false,
			"extractAnchor": {
				"text": "Signature(s) of Customer(s)",
				"index": 0,
				"width": 150,
				"height": 40,
				"anchorPoint": "TOPRIGHT",
				"characterIndex": 1,
				"leftOffset": 245,
				"topOffset": 20
			},
			"left": 0,
			"subtype": "FULLNAME",
			"top": 0
		}],
		"role": "Signer1"
	}],
	"extract": true
}
Can we please send the client a full code that includes: package create, add signers, add document, add signature fields using text anchor?
Reply to: Text anchor full example
Friday, February 5, 2016 at 05:14am