Is it possible to break down the date into Year, Month and Date into 3 different columns using REST APIs?
July 10Created
January 21Last Updated
6 years agoLast Reply
3Replies
10Views
2Users
0Likes
0Links
Duo_Liang | Posts: 3776
Reply to: Year in Date Field
Tuesday, July 10, 2018 at 06:14am
0
votes
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!
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!
Reply to: Year in Date Field
Tuesday, July 10, 2018 at 06:14amReply to: Year in Date Field
Tuesday, July 10, 2018 at 06:41amReply to: Year in Date Field
Tuesday, July 10, 2018 at 08:17am