This topic contains 1 reply, has 2 voices, and was last updated by  Duo_Liang 1 week ago.

  • Author
    Posts
  • Participant
    almyryan3
    Member since: 02.10.2018
    Number of posts: 1

    Hello,

    Is there a REST API call to GET a zip file containing all packages from the eSignLive account? Main reasons would be for pdf archival of all the transactions flowing through the system.

    I’m using Postman and curious what the GET call would be.

    Thanks in advance.

    Ryan

    Keymaster
    Duo_Liang
    Guru
    Member since: 14.06.2018
    Number of posts: 469

    Score

    0

    Hi Ryan,

    There’s no direct API to download ZIP file containing ALL packages, but you can download each package separately by calling

    Download Documents Zip
    
    HTTP Request
    GET /api/packages/{packageId}/documents/zip
    
    HTTP Headers
    Accept: application/zip
    Authorization: Basic api_key

    And you can use this API

    GET /packages 
    Authorization: Basic api_key
    Content-type:application/json
    Accept:application/json

    to retrieve multiple package IDs(at most 100 packages per return) of an account by adding query parameters like:
    GET /packages?from=0&to=99
    You can find all Query Parameters in this guide

    Hope this could help!
    Duo


    Duo Liang
    OneSpan Junior Technical Evangelist
    • This reply was modified 1 week ago by  Duo_Liang.
    • This reply was modified 1 week ago by  Duo_Liang.
    • This reply was modified 1 week ago by  Duo_Liang.

You must be logged in to reply to this topic.