missing package details when search package.
Wednesday, August 3, 2016 at 12:18amHi 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 pls help to check? Thanks a lot in advance.
Code segment:
http.url = 'https://sandbox.e-signlive.ca/api/packages';
http.followRedirects = true;
http.httpMethod = 'get';
.....
var response = http.retrieveWithoutException();
var pluto = response.getBodyAsText();
ret = 'Code:' + response.getStatusCode();
ret += '
pkgID:' + JSON.parse(pluto) ['id']; return ret. Result: pls refer the attachment
      
                                    pkgID:' + JSON.parse(pluto) ['id']; return ret. Result: pls refer the attachment
Reply to: missing package details when search package.
Wednesday, August 3, 2016 at 03:17amHey there, This question has already been answered in a previous post. Let me know if anything is unclear. https://community.onespan.com/forum/rest-api-packages-response-w-filters
Reply to: missing package details when search package.
Wednesday, August 3, 2016 at 06:12pmbody: " + pluto; return ret; }catch(e){ return e; } Result: Got response code 500. Pls refer the attachment.
Reply to: missing package details when search package.
Thursday, August 4, 2016 at 04:15amPOST /api/packages/19c4b6e4-3290-4fab-a938-0b88fd8edc7e/documents HTTP/1.1 Host: sanbox.e-signlive.ca Connection: keep-alive Content-Length: 80357 Accept: text/html Cache-Control: no-cache Authorization: Basic api_key Content-Type: multipart/form-data; boundary=----WebKitFormBoundarycywBKPMXcPHApu4C ------WebKitFormBoundarycywBKPMXcPHApu4C Content-Disposition: form-data; name="file"; filename="doc1.pdf" Content-Type: application/pdf %PDF-1.5 %µµµµ 1 0 obj >>> endobj.... ------WebKitFormBoundary7MA4YWxkTrZu0gW Content-Disposition: form-data; name="payload" {"name" : "document1"} ------WebKitFormBoundary7MA4YWxkTrZu0gW--