Set package Expiry Date In Rest API
Sunday, April 28, 2019 at 09:54pmHi,
I have a requirement to set the package expiry date during creation of the package itself.
The problem is I cannot identify the suitable Json field where the expiry date can be set so that Onespan can automatically take the necessary actions on it.
The java sdk has the solution. But we are using Rest API for our integration.
I have gone through the request and response of the API but could not identify the field.
API: https://sandbox.e-signlive.com/api/packages/
Need help in resolving the issue.
Thanks,
Suman
Reply to: Set package Expiry Date In Rest API
Monday, April 29, 2019 at 02:57am{yyyy}-{MM}-{dd}T{HH}:{mm}:{ss}Z
which is in GMT timezone. So if you want to set the timezone, you’d first convert your target local expiry time to GMT time then format it accordingly. Or simply if you are not sensitive to the exact time,yyyy-MM-dd
would work. Hope this could help! Duo