mikcanf

Deleted Pkgs returned from API with query=trashed vs Deleted Pkgs in OneSpan xls rpt

0 votes

All pkg's are marked as deleted, all are for same person (owner/sender).

We don't understand why lists seem exclusive of each other???

Seems OneSpan reporting is including pkg's not in return set from API call

and conversely API return set is not including OneSpan reporting items.

We want to be able query of ALL deleted times.  Is there some other kind 

of query for deleted pkg's we don't know about or ? ? ?

Below from OneSpan xls report (7 Pkg Ids below )
py_JJnP8l8gOmDUYG1KdjSZ21wo=
a_3x5rGiXqb0flBGihRBEYLsvME=
Kou0VMyys9ytOzDwiVgCPWfI0tA=
SoAuRZjhLMIn5D8658f5Sajdgsg=
zF9gOH-RFoMbSJAnznaKhAWpC1Q=
0Pw0B32A8NqdG-8yb7w_TDDjELQ=
N6S_T7FcQtth4mUWP0ljU-wNnRo=
 

Below from API pkg call with parm query=trashed (4 Pkg Ids below2)
ITyOmGaO1v_QzYkt-MOfihnxTHs=
rJbAKZr-j_QWY8hguHM8KY6Ywwg=
ULnQGAZAxxzFne3Ya3SgmHfNpi8=
P4e8uxnFnFEKylQ-FIG2-KnxXh0=
 

 

 


Reply to: Deleted Pkgs returned from API with query=trashed vs Deleted Pkgs in OneSpan xls rpt

0 votes

Hi Mike,

 

I knew I may have already asked, but just want to double confirm, where or how you received this "OneSpan xls report", which includes the deleted packages? 

 

Also I have some background information to share with you about the difference between Trash Action and Delete Action:

The Trash action is used to move a selected transaction from your Inbox/Drafts/Archived Folder to the Trash Folder. It's a package flag "trashed" : true. Once trashed, API still has access to trashed packages (by using the parameter &query=trashed) and possible to restore the flag.

The Delete action is done by the API "DELETE /api/packages/{packages}". Once a package is deleted, the package won't be exposed by API and cannot be reinstated. Therefore if your goal is to "query of ALL deleted times", it's NOT possible to achieve it via API.

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Deleted Pkgs returned from API with query=trashed vs Deleted Pkgs in OneSpan xls rpt

0 votes

I believe we were provided the information via xlsx spreadsheet from Maria.

We are not sure how the data in the xlsx sheet is being generated, hence the inquiry.

We've been trying to "match" counts and status's etc between API calls (we know about) and xlsx sheet data.

We were told the pkg counts in xlsx sheet included deleted items but, given your comments above, that may mean trashed items, or not, hard for us to know.

It may help us if you can provide a "solid" count of "senders/owns" and a "solid" count of "Packages", for a current date so we can be confident of our numbers for reporting...

Maria Pia Marro

OneSpan Customer Success Representative


Reply to: Deleted Pkgs returned from API with query=trashed vs Deleted Pkgs in OneSpan xls rpt

0 votes

My understanding, after reading your comments is:

A person can cause Package trashed=true via the UI (User Interface) itself.

API use can cause Package trashed=true

API use can cause Package to be deleted ( not reinstatable and not accessible via UI  )

Can a person delete Package via UI ( i.e. without API, or is deletion only via API ? )


Reply to: Deleted Pkgs returned from API with query=trashed vs Deleted Pkgs in OneSpan xls rpt

0 votes

Hi Mike,

 

Yes, a person can delete package via UI - the first time the person click the trash bin button moves the package to Trashed folder. Switch to Trashed tab, and the second time hitting the trash button means to delete the package permanently.

All the rest assumptions are correct.

And in terms of the reports, the rule of the thumb is: exclude deleted packages from the report you received from CSR (because the report is generated internally, therefore includes deleted packages), the amount of rest packages (including trashed packages) should match the amount you received from API.

 

Duo

 

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: Deleted Pkgs returned from API with query=trashed vs Deleted Pkgs in OneSpan xls rpt

0 votes

Can you explaining what you mean by "report is generated internally", i.e. is it produced via API or ? ? ?


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off