Account


Earned badges

Achievement: Latest Unlocked

Topic Started

Topics
Hi there, I just start to use this function in our platform, and when I try to fetch all packages' info, I notice the response only contains 1 package details even the "count" value is 2. Could you p

Replies Created

Reply to: missing package details when search package.

0 votes
Hi Haris, Thanks for your reply, I review the post you mentioned and it works now. Besides, when I move forward, encounter another issue with upload document to package, could you pls help to check? Thanks in advance. code segment: usingLibrary('WseExternal'); var http = new HttpConnection(); var ret = ''; http.url = 'https://sandbox.e-signlive.ca/api/packages/19c4b6e4-3290-4fab-a938-0b88fd8edc7e/documents'; http.followRedirects = true; http.httpMethod = 'POST'; // http body http.postBody = "hello world!!"; // http headers var myheaders = []; myheaders['Authorization'] = 'Basic ===='; myheaders['Content-type'] = ["text/plain"]; myheaders['Content-Disposition'] = ['form-data, name="files[]",filename="test01.txt"']; http.headers = myheaders; http.timeout = 0; try { var response = http.retrieveWithoutException(); var pluto = response.getBodyAsText(); ret = 'Code:' + response.getStatusCode(); ret += "
body: " + pluto; return ret; }catch(e){ return e; } Result: Got response code 500. Pls refer the attachment.

Attachments
M5.png19.61 KB

Subscriptions

Topics Replies Freshness Views Users
Hi there, I just start to use this function in our platform, and when I try to fetch all packages' info, I notice the response only contains 1 package details even the "count" value is 2. Could you p
3 7 years 9 months ago 17
Profile picture for user harishaidary

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.