agagneja | Posts: 9

Package Modified Status

0 votes
Hi, we are evaluating the REST API for our use case. Is there a way to know that original package has been modified? For say, some new document has been added to the same package. We need this to ensure package integrity.

Approved Answer
harishaidary | Posts: 1812

Reply to: Package Modified Status

0 votes
Hi there, First of all, the package can only be modified by the owner or sender. Signers do not have this functionality. Our audit trail does not include owner/sender modifications on the package. However, what I can suggest is to retrieve the package json after you've sent your package for signing and store it in your own databases. Whenever you want to see if changes has been made on the package, you can retrieve the current package json and compare it against what you've stored. The package json also includes at "lastUpdatedDate" field, which tells you the date/time of the last time the package has been modified.

agagneja | Posts: 9

Reply to: Package Modified Status

0 votes
Thank you, Haris, for your prompt reply!

harishaidary | Posts: 1812

Reply to: Package Modified Status

0 votes
No problem. Let me know if you have any other questions :)

agagneja | Posts: 9

Reply to: Package Modified Status

0 votes
Hi Haris, what's the REST API call to get the package json?

harishaidary | Posts: 1812

Reply to: Package Modified Status

0 votes
It would be:
GET https://sandbox.esignlive.com/api/packages/{your package id}
You can have a look at our feature guides section, which shows you how to perform various tasks in esignlive: https://developer.esignlive.com/guides/feature-guides/ You can also have a look at our REST API documentation: http://docs.esignlive.com/content/c_integrator_s_guide/rest_api/rest_api.htm

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off