Jump to content
twok

EMA2 API - Pagination Issue - UsageReport/AllCompanies/products

Recommended Posts

When using /api/UsageReport/AllCompanies/products I can seemingly get the first 100 results without issue but when I try to get the second set of items, I sometimes get expected items but other times I get some duplicates of the first API call.

My API calls are going through https://mspapi.eset.com/.

API Request: https://mspapi.eset.com/api/UsageReport/AllCompanies/products with the following {"from":"2020-08-31","to":"2020-08-31","skip":0,"take":100} seems to work and be consistent.

API Request: https://mspapi.eset.com/api/UsageReport/AllCompanies/products with the following {"from":"2020-08-31","to":"2020-08-31","skip":100,"take":100} does not always seem to provide the expected results.

 

Looking at the details of the call on https://mspapi.eset.com/swagger/index.html and https://help.eset.com/ema/2/api/en-US/allcompanies_products.html, I’m not sure what I am missing to ensure the second call pulls back the expected info every time. Any guidance on what I should try or attempt will be greatly appreciated.

Share this post


Link to post
Share on other sites

Hello twok,

this might be a bug on our side. Let me check this internally with team and I will get back to you.

Share this post


Link to post
Share on other sites
On 9/4/2020 at 4:56 AM, emilota said:

this might be a bug on our side. Let me check this internally with team and I will get back to you.

Thanks emilota! Do you know how long it normally takes to hear back from something like that?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...