What route do I use to retrieve packages only with the status of 'DRAFT'?
November 26Created
January 21Last Updated
6 years agoLast Reply
1Replies
20Views
2Users
0Likes
0Links
Duo_Liang | Posts: 3777
Reply to: GET route by package status?
Monday, November 26, 2018 at 11:10am
0
votes
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.
Reply to: GET route by package status?
Monday, November 26, 2018 at 11:10amHTTP 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