neelsp | Posts: 77

REST API to retrieve a package

0 votes
Hi, I have looked at the REST API documentation (http://docs.e-signlive.com/mc/content/c_esignlive_integrator_s_guide/rest_api/packages.htm#) but it doesn't seem to have a REST API to retrieve a package from eSignLive say based on the package id Can you please confirm on this and suggest alternates. thanks Neel

harishaidary | Posts: 1812

Reply to: REST API to retrieve a package

0 votes
Hey Neel, In the link you posted, if you scroll down, there is a request you can make to retrieve a package based on the package id (e.g. Retrieve information about a single document package). The request is:
GET https://sandbox.esignlive.com/api/packages/{packageId}

neelsp | Posts: 77

Reply to: REST API to retrieve a package

0 votes
Thanks Haris for your response. The API responds with "information about the package" / the metadata but it doesn't seem to return back the actual package. I want to find out if there is any API exposed for retrieving the package. thanks Neel

harishaidary | Posts: 1812

Reply to: REST API to retrieve a package

0 votes
By actual package, do you mean you want to download the signed documents?

neelsp | Posts: 77

Reply to: REST API to retrieve a package

0 votes
Yes, that is what I am intending to do.

harishaidary | Posts: 1812

Reply to: REST API to retrieve a package

0 votes
You can download the signed documents by making the following request:
GET https://sandbox.esignlive.com/api/packages/{packageId}/documents/zip
You can find more information about the call here: http://docs.esignlive.com/content/c_esignlive_integrator_s_guide/rest_api/documents.htm (scroll to "Retrieve a zipped document").

neelsp | Posts: 77

Reply to: REST API to retrieve a package

0 votes
Thanks Haris. And just to confirm, the zip fill will contain all the documents that were part of the package & plus the evidence summary?

harishaidary | Posts: 1812

Reply to: REST API to retrieve a package

0 votes
The zip file will contain all signed documents but not the evidence summary. You will have to do a separate call to retrieve it. You can follow this quick start guide we have on how to download your files (it includes how to retrieve the evidence summary): https://developer.esignlive.com/guides/quick-start/check-package-status-and-download-documents-rest/

neelsp | Posts: 77

Reply to: REST API to retrieve a package

0 votes
Thanks Haris for your prompt responses & your help :) regards Neel

harishaidary | Posts: 1812

Reply to: REST API to retrieve a package

0 votes
My pleasure :)

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