Can you please point me or give me example of json needs to be added to add signing date in a document (Using REST API)
June 22Created
January 21Last Updated
4 years agoLast Reply
13Replies
845Views
5Users
0Likes
0Links
Duo_Liang | Posts: 3777
Reply to: Add a signature date field
Saturday, June 23, 2018 at 05:05am
2
votes
Hi asingla,
I believe you must have tried the "Creating and Sending package(.Net REST way)" tutorial. So it may interest you to know that inside the Json body, the value of "approvals" attribute means the signature blocks, and this is where you may customize the signing fields. The following is the Json example I made for you, just for the approvals block:
As you can see, there's only two fields for this approval, one is a Signature field for signer to sign, one is the Date Label which would indicate the signing date after the document was signed.
What key-values you won't miss to add in this "Signing Date" block is:
"binding":"{approval.signed}", //this date field would only show when the approval has been signed
"subtype":"LABEL",
"type":"INPUT", //type and subtype should be a match
"value":"yyyy-MM-dd HH:mm:ss 'GMT'" //from my test, currently doesn't support customize the format of date
If it still doesn't work, I am more than willing to create a full C# example for you.
Hope you find this reply helpful!
Hi Duo,
Thanks for the reply.
I tried the document having only date bindings and it worked fine. Now, I have a document in which there are total 5 fields.
1 place for Rep to sign
1 date related to Rep field
2 places for Primary owner to sign
1 date related to Primary owner field
But somehow document is getting confused and showing me I have two signature fields, but taking me to only one place for signature and at date field i am getting something like "Signing Field" and I am not able to complete the signing ceremony.
I have attached the JSON which is getting generated and screenshot of document at eSignLive end while doing signing ceremony.
Please suggest if I am missing anything
Hi asingla,
From your Json format, I think you are probably using the "Position Extraction Feature", right?
I have created a sample JSON for you, which works fine at my side. The attachment is the pdf file I used in my test.
I think the problem in your JSON could be that you didn't put the "Date Field" with your last "Signature Field" in the same approval, as the trigger event is binded to the finish of this approval. Which is to say, there has to be a signature field in the approval.
In my example, I put different Signature Fields into different approvals.(Putting several signatures in same approval could cause overlap) And put the Date Field with the last Signature Field.
Hope you find this reply helpful!
As you noticed, the Field object should be added inside .WithSignature()function, that's the same idea that you should put fields block in an approval block in request JSON payload.
If you are using a REST way, you can use the attachment, replace the jsonString with the json payload above this thread and replace the placeholders with your own information.
Hope this could help you!
Hi Rich,
I'm afraid you can't set your date field format at the package level. But you have the capability to set this at your account level by contacting our support at [email protected], with the request and the format you want.
Hope this could help you!
Duo
Yes, unfortunately it's still NOT supported to specify the date format at field level or per language. I've found similar Enhancement Requests in the system and this new feature hasn't been on the roadmap yet.
Reply to: Add a signature date field
Saturday, June 23, 2018 at 05:05amReply to: Add a signature date field
Monday, June 25, 2018 at 07:24amReply to: Add a signature date field
Monday, June 25, 2018 at 09:39amReply to: Add a signature date field
Monday, June 25, 2018 at 09:42amReply to: Add a signature date field
Monday, June 25, 2018 at 11:06amReply to: Add a signature date field
Thursday, July 19, 2018 at 03:08pmReply to: Add a signature date field
Friday, July 20, 2018 at 07:34am.WithSignature()
function, that's the same idea that you should put fields block in an approval block in request JSON payload. If you are using a REST way, you can use the attachment, replace the jsonString with the json payload above this thread and replace the placeholders with your own information. Hope this could help you!Reply to: Add a signature date field
Friday, July 20, 2018 at 07:35amReply to: Add a signature date field
Friday, July 20, 2018 at 08:14amReply to: Add a signature date field
Wednesday, September 26, 2018 at 06:40amReply to: Add a signature date field
Wednesday, September 26, 2018 at 09:30amReply to: Add a signature date field
Friday, March 19, 2021 at 09:42amHello,
Are we still restricted with regards to date formats? We would need to use different date formats depending on the language of the document.
Thanks,
Patrick B.
Reply to: Hello, Are we still…
Friday, March 19, 2021 at 09:48amHi Patrick,
Yes, unfortunately it's still NOT supported to specify the date format at field level or per language. I've found similar Enhancement Requests in the system and this new feature hasn't been on the roadmap yet.
Duo