Account
Earned badges
Achievement: Latest Unlocked
Replies
Preferences
Topics Started
Topic Started
Replies Created
Reply to: RequiredFields not working
Tuesday, November 26, 2019 at 05:36amReply to: Update Expiration Date
Thursday, January 16, 2020 at 11:03pmReply to: Archive Transaction - default behaviour
Tuesday, February 18, 2020 at 11:11amThanks for the feedback.
I was hopping there where the "Auto Archive Transaction" to skip the plan B - task to archive.
Reply to: Get all Trashed packages
Friday, October 2, 2020 at 09:26amHello Duo_Liang.
Im interested on getting the transactions trashed on the account (from all users) and runned into this post.
When I use the eslClient.ReportService.DownloadCompletionReport I iterate throw all senders and get all the packages, execept the the TRASHED.
I thought that this post was the answer, but according to the script you shared, doing the "REST API: GET /api/packages?query=trashed" I only getting the packages from the administrator. How can I get all trashed packages from all users using the REST API?
Thanks in advanced.
Reply to: Get all Trashed packages
Friday, October 2, 2020 at 01:06pmHello, thanks for the reply
"A more thorough solution is to use package retrieval API instead. But as you've mentioned, it only returns packages created by the API Key holder. So you need to first retrieve API Keys of each senders, then retrieve their respective trashed packages...."
Not a solution having to retrieve API Keys of each senders.
The completionReport solution you recomended, seemed more friendly. I know trashed is a attribute and not a Status, but for CompletionReport effects I think is the best aproach, getting all transactions form all senders.
So the aproach
"PackageStatus trashed = PackageStatus.UNRECOGNIZED("trashed");
// Download the completion report for all senders
CompletionReport sdkCompletionReport = eslClient.getReportService().downloadCompletionReport(trashed, from, to);
"
seem to be the best but Im not getting the PackageStatus.UNRECOGNIZED("trashed"); using C# and SDK (11.23.0.0).
Can you help?
Subscriptions
Topics | Replies | Freshness | Views | Users |
---|---|---|---|---|
Should I be able to view current packages for all senders under the same account using the API key and .NET SDK?
I have created a Sandbox account with an additional sender and can successfully create
|
5 | 4 years 3 months ago | 126 |