Account


Earned badges

Achievement: Latest Unlocked

Topic Started

This user has not created any forum posts.

Replies Created

Reply to: RequiredFields not working

0 votes
Worked but it wasn't suppose to be that hard!!! If I CreatePackageFromTemplate, then set Attributes of my package and later UploadDocument, it didnt work!!! For it to work i had to CreatePackageFromTemplate and then immediately do the UploadDocument. Why is this so tricky!!!?

Reply to: Update Expiration Date

0 votes
Hello Duo, thanks for the answer, it was very useful. Now we will implement via API the package 1 case.

Reply to: Get all Trashed packages

0 votes

Hello 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

0 votes

Hello, 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
Profile picture for user Duo_Liang
Profile picture for user harishaidary

Code Share

This user has not submitted any code shares.

Subscriptions Release Notes

This user is not subscribed to any release notes.