Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics
Get sender ids by owner’s api key API Call : https://sandbox.e-signlive.com/api/account/senders We are trying to retrieve the senders by owners API key.
Hi, We are getting the below error when trying to retrieve documents zip. I have copied my code below. We are using a proxy to connect to one span sandbox url.
Hi, Do you have a sample code on how we can convert the byte stream response returned by GET /packages/{packageId}/documents/zip API into a zip file from the returned bytes. Thanks Rajesh
Hi, I am trying to retrieve the packages which are in "DRAFT" status , below is API url.
Hi, We are calling the OneSpan API to retrieve a single PDF document. In the response we are getting a byte stream for the pdf document.

Replies Created

Reply to: Unable to retrieve package information

0 votes
Thanks Duo for the reply. I have made the changes and below is the error message. The API key i am passing is the one which is assigned to our bank which i believe is encrypted. 404 : {"technical":"Could not find user with uid 'BGVhg2EB9lQT'","messageKey":"error.notFound.userNotFound","message":"The specified user cannot be found.","code":404,"name":"Resource Not Found"} This is how i am sending key in the header. Could you please share a sample code on how to pass the api key in the header. String encodedAuth = “*****”; // for security reason i am not mentioning the actual api key while posting it in the forum. String authHeader = IWebserviceConstants.BASIC + encodedAuth; headers.set(IWebserviceConstants.AUTHORIZATION , authHeader); Thanks Rajesh

Reply to: Unable to retrieve package information

0 votes
Hi Duo, it worked after updating url to sandbox.esignlive.com . In the API documentation it was given as sandbox.e-signlive.com. So i was using that. Thanks Duo for your help. RETRIEVE INFORMATION ABOUT A PACKAGE GET /packages/{packageId} Description Retrieve information about a single document package. Example Request GET https://sandbox.e-signlive.com/api/packages/84174f44-74f0-4e35-af45-6f1792df5972

Reply to: Retrieve PDF Document

0 votes
Hi Duo, Thank you for the example. I used the same example . I used the generated encoded String in the html file you sent . When i ran it i get "Failed to load PDF document." error in the browser. Please find the attached html file.

Attachments

Reply to: Retrieve PDF Document

0 votes
Yes Duo, now i tried with a different package and documentId. Can you please from your end. https://sandbox.esignlive.com/api/packages/iUIj7pdXJPeZskbfi3EPupFyc6I=/documents/e7dcfc7138902f876cd3b5682fa3125e3e6996637b3e023d/pdf Below is encoded string PC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2cvanMvMzUuMC9kZXBsb3ltZW50LmpzIj48L3NjcmlwdD4KICAKCiAgCgogIAogICAgPCEtLSBHbG9iYWwgU2l0ZSBUYWcgKGd0YWcuanMpIC0gR29vZ2xlIEFuYWx5dGljcyAtLT4KICAgIDxzY3JpcHQgYXN5bmMgc3JjPSJodHRwczovL3d3dy5nb29nbGV0YWdtYW5hZ2VyLmNvbS9ndGFnL2pzP2lkPVVBLTI5NTAzMTAtMTQiPjwvc2NyaXB0PgogICAgPHNjcmlwdD4KICAgICAgd2luZG93LmRhdGFMYXllciA9IHdpbmRvdy5kYXRhTGF5ZXIgfHwgW107CiAgICAgIGZ1bmN0aW9uIGd0YWcoKXtkYXRhTGF5ZXIucHVzaChhcmd1bWVudHMpO30KICAgICAgZ3RhZygnanMnLCBuZXcgRGF0ZSgpKTsKCiAgICAgIGd0YWcoJ2NvbmZpZycsICdVQS0yOTUwMzEwLTE0JywgewogICAgICAgICdhbm9ueW1pemVfaXAnOiB0cnVlLAogICAgICAgICdzZW5kX3BhZ2Vfdmlldyc6IGZhbHNlCiAgICAgIH0pOwogICAgPC9zY3JpcHQ+CiAgCgogIDxzY3JpcHQgc3JjPSIvYS92ZW5kb3JzL3BvbHlmaWxsLm1pbi43NWI0ZmY2LmpzIj48L3NjcmlwdD4KICA8c2NyaXB0IHNyYz0iL2Evc2NyaXB0cy92ZW5kb3JzLmNodW5rLmQ4NGFlYTMuanMiPjwvc2NyaXB0PgogIDxzY3JpcHQgc3JjPSIvYS9zY3JpcHRzL2NsaWVudC5kN2Y3ZmY2LmpzIj48L3NjcmlwdD4KCjwvYm9keT4KPC9odG1sPgo=

Reply to: Retrieve PDF Document

0 votes
sorry Duo, i didn't understand what you said. Are you saying if i use sandbox url i cannot download? Can you please be more clear.

Subscriptions

Topics Replies Freshness Views Users
Get sender ids by owner’s api key API Call : https://sandbox.e-signlive.com/api/account/senders We are trying to retrieve the senders by owners API key.
2 3 years 1 month ago 27
Hi, We are getting the below error when trying to retrieve documents zip. I have copied my code below. We are using a proxy to connect to one span sandbox url.
12 3 years 1 month ago 116
Hi, Do you have a sample code on how we can convert the byte stream response returned by GET /packages/{packageId}/documents/zip API into a zip file from the returned bytes. Thanks Rajesh
3 3 years 1 month ago 137
Hi, I am trying to retrieve the packages which are in "DRAFT" status , below is API url.
3 3 years 1 month ago 25
Hi, We are calling the OneSpan API to retrieve a single PDF document. In the response we are getting a byte stream for the pdf document.
8 3 years 3 months ago 89

Code Share

This user has not submitted any code shares.