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

  • Author
    Posts
  • Participant
    nweese
    Newbie
    Member since: 06.11.2018
    Number of posts: 10

    What route do I use to retrieve packages only with the status of ‘DRAFT’?

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

    Score

    0

    Hi nweese,

    Below is the API you can use to retrieve packages with a status of “DRAFT”.
    Note, “from” and “to” parameters is needed otherwise response will only return one package. And you can refer to this document page for all query parameters.

    HTTP Request
    GET /api/packages?from=0&to=9&status=DRAFT
    
    HTTP Headers
    Accept: application/json
    Content-Type: application/json
    Authorization: Basic api_key
    
    Response Payload
    {
        "count": 1808,
        "results":[......]
    }

    Hope this could help!
    Duo


    Duo Liang
    OneSpan Junior Technical Evangelist

You must be logged in to reply to this topic.