Missing fields
Friday, June 10, 2016 at 12:35amHello all,
Thank you for the good forum, and your help here!
I'm trying to integrate our systems with you, and I'm sending a JSON object trying to clone a template with 1 pdf document inside, but by some reason all the fields are not listed.
First thing I've noticed is that when you create the package via your website using the designer, I've noticed that in "approvals" the name field is identical with the signature field ID, and I thought that's it! But unfortunately it didn't worked! I'm sure I'm missing something and I do hope you can point me the light!
So here are some details:
I'm testing on your sandbox server: sandbox.esignlive.com
Trying to clone template with ID: jzEAvMZJFi0v4egwfRiQwJEbVlQ=
I'm sending the following headers:
Content-Type: application/json;
Accept: application/json; esl-api-version=10.7
+ the authentication of course!
And the following JSON:
{"language":"en","type":"PACKAGE","autocomplete":"true","visibility":"SENDER","notarized":"false","status":"DRAFT","name":"Booking XXXX / 20/02/2016 for 7nights","roles":[{"id":"33DC3891-521A-4429-9414-99915B91E919","reassign":"false","locked":"false","type":"SIGNER","name":"Mr James Smith","signers":[{"title":"Mr","firstName":"James","lastName":"Smith","email":"[email protected]","emailMessage":"Dear James,\nThank you for booking your respite break with us.\nEnclosed to this email, you will find your booking form for you to sign.","delivery":{"email":"true","download":"true","provider":"false"}}]},{"id":"8EAF36EF-CF81-4E3A-920F-FCF633F73F0A","reassign":"false","locked":"false","type":"SIGNER","name":"Mrs Helen Smith","signers":[{"title":"Mrs","firstName":"Helen","lastName":"Smith","email":"[email protected]","emailMessage":"Dear Helen,\nThank you for booking your respite break with us.\nEnclosed to this email, you will find your booking form for you to sign.","delivery":{"email":"true","download":"true","provider":"false"}}]}],"settings":{"ceremony":{"inPerson":"false"}},"documents":[{"name":"Booking Form","id":"a556d793d6481ffa","approvals":[{"role":"33DC3891-521A-4429-9414-99915B91E919","name":"iiBzSrwbziQW","fields":[{"name":"iiBzSrwbziQW","type":"SIGNATURE","subtype":"FULLNAME","page":"2","left":"77.277458190918","top":"887.181091308594","width":"305.518188476563","height":"37.3937187194824"},{"name":"lbl_sign_date","type":"INPUT","subtype":"LABEL","binding":"{approval.signed}","page":"2","left":"947.415283203125","top":"75.9303970336914","width":"305.272491455078","height":"35.0258979797363","value":"yyyy-MM-dd HH:mm:ss 'GMT'"},{"name":"lbl_date","type":"INPUT","subtype":"LABEL","page":"0","left":"434.333892822266","top":"122.22339630127","width":"260.122192382813","height":"36.9853897094727","value":"20Feb16"},{"name":"lbl_bookno","type":"INPUT","subtype":"LABEL","page":"0","left":"193.84","top":"275.1658","width":"494.28","height":"27","value":"Booking XXXX / 20/02/2016 for 7nights"},{"name":"lbl_aline1","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"112.466","width":"263.16","height":"133","value":"Mr James Smith"},{"name":"lbl_aline2","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"247.466","width":"263.16","height":"133","value":"XXXXXX"},{"name":"lbl_aline3","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"382.466","width":"263.16","height":"133","value":"XXXXXXX"},{"name":"lbl_aline4","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"517.466","width":"263.16","height":"133","value":"XXXXXX"},{"name":"lbl_aline55","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"517.466","width":"263.16","height":"133"},{"name":"lbl_zip","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"652.466","width":"263.16","height":"133","value":"XXX XXX"},{"name":"txt_catering_notes","type":"INPUT","subtype":"TEXTFIELD","page":"0","left":"402.145874023438","top":"885.916137695313","width":"290.495391845703","height":"43.4150543212891","value":"20Feb16"}]},{"role":"8EAF36EF-CF81-4E3A-920F-FCF633F73F0A","name":"hCVwzBANoBJE","fields":[{"name":"hCVwzBANoBJE","type":"SIGNATURE","subtype":"FULLNAME","page":"2","left":"77.277458190918","top":"887.181091308594","width":"305.518188476563","height":"37.3937187194824"},{"name":"lbl_sign_date","type":"INPUT","subtype":"LABEL","binding":"{approval.signed}","page":"2","left":"947.415283203125","top":"75.9303970336914","width":"305.272491455078","height":"35.0258979797363","value":"yyyy-MM-dd HH:mm:ss 'GMT'"},{"name":"lbl_date","type":"INPUT","subtype":"LABEL","page":"0","left":"434.333892822266","top":"122.22339630127","width":"260.122192382813","height":"36.9853897094727","value":"20Feb16"},{"name":"lbl_bookno","type":"INPUT","subtype":"LABEL","page":"0","left":"193.84","top":"275.1658","width":"494.28","height":"27","value":"Booking XXXX / 20/02/2016 for 7nights"},{"name":"lbl_aline1","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"112.466","width":"263.16","height":"133","value":"Mrs Helen Smith"},{"name":"lbl_aline2","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"247.466","width":"263.16","height":"133","value":"XXXXXXX"},{"name":"lbl_aline3","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"382.466","width":"263.16","height":"133","value":"XXXXX"},{"name":"lbl_aline4","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"517.466","width":"263.16","height":"133","value":"XXXXX"},{"name":"lbl_aline55","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"517.466","width":"263.16","height":"133"},{"name":"lbl_zip","type":"INPUT","subtype":"LABEL","page":"0","left":"96.566","top":"652.466","width":"263.16","height":"133","value":"XXX XXX"},{"name":"txt_catering_notes","type":"INPUT","subtype":"TEXTFIELD","page":"0","left":"402.145874023438","top":"885.916137695313","width":"290.495391845703","height":"43.4150543212891","value":"20Feb16"}]}]}]}
I'm getting an ID as a return, and I can see the transaction in DRAFTS, but when I enter the details :
1) I see that you system is automatically adding me as OWNER - which is fine I guess.
2) All fields are missing, and looking at firebug and the result of requesting this transaction details, there are no approvals inside "documents" object at all.
So by some reason your system is not accepting or deleting the approvals, and I have no idea why.
I've made a manual transaction with 2 recipients, and a couple of fields, ID: W-BKP_qULyHovPS8Z4vK6ynx6Uo=
and I'm trying to produce the same json (see above) and send it to your API but its not working :)
Please HELP! :)
Thank you in advance!
Kamen
Reply to: Missing fields
Friday, June 10, 2016 at 06:14amReply to: Missing fields
Friday, June 10, 2016 at 04:08amReply to: Missing fields
Friday, June 10, 2016 at 04:11amReply to: Missing fields
Friday, June 10, 2016 at 04:19amReply to: Missing fields
Friday, June 10, 2016 at 04:21amReply to: Missing fields
Friday, June 10, 2016 at 04:43amReply to: Missing fields
Friday, June 10, 2016 at 04:56amReply to: Missing fields
Friday, June 10, 2016 at 05:00amReply to: Missing fields
Friday, June 10, 2016 at 05:43amReply to: Missing fields
Friday, June 10, 2016 at 06:11amReply to: Missing fields
Friday, June 10, 2016 at 06:25amReply to: Missing fields
Friday, June 10, 2016 at 06:26am