Hi asingla,
I am afraid we don't have a direct API call for retrieving date field value. But you can build this capability in your own system. First, you can use following call to retrieve the approval info where your date field is binding to:
GET /api/packages/{packageId}/documents/{documentId}/approvals/{approvalId}
As you noticed, the "accepted" attribute is the date stamp shown on the document.( not signed attribute)
Then you can deal with the String with the programming language your system is using to retrieve the Year/Month/Date.
Hope this reply could help you!
Duo LiangOneSpan Evangelism and Partner Integrations Developer
Hi Duo,
Let me put my question again. What I want is while doing signature, signature date field is populated automatically.
Is it possible that instead of date in format ' yyyy-MM-dd HH:mm:ss 'GMT'' in single field. We can have year, month and date populated in 3 different fields?
Hi singla,
Sorry for missing your point. If you want to have three fields and after the signature approval is finished, the date would inject into the three fields automatically instead of the original timestamp, I am afraid we don't have this feature so far. What you can do is modify the time format. You can send an email to [email protected], with the request and the format you want.
Hope you find this reply helpful!
Duo LiangOneSpan Evangelism and Partner Integrations Developer
Reply to: Year in Date Field
Tuesday, July 10, 2018 at 06:14amDuo Liang OneSpan Evangelism and Partner Integrations Developer
Reply to: Year in Date Field
Tuesday, July 10, 2018 at 06:41amReply to: Year in Date Field
Tuesday, July 10, 2018 at 08:17amDuo Liang OneSpan Evangelism and Partner Integrations Developer