Jump to content

MSP API - list all companies?


Go to solution Solved by emilota,

Recommended Posts

Hi,

I'm trying to retrieve a list of all companies in our EMA. I managed to do it before, but I can't remember how. I tried the /api/Search/Companies endpoint with the following body:

{
  "search": {},
  "skip": 0,
  "take": 10
}

but this gives me the following response:

{"Error":{"Code":7,"SubCode":4,"Message":""}}

for which the subcode is not defined in the documentation.

Link to comment
Share on other sites

Thank you, that works! Is there a way to determine the total number of companies? I've noticed that there is no way to determine from the results whether there exists more companies than the value of your provided take parameter.

Edited by txfz
Link to comment
Share on other sites

  • ESET Staff

Unfortunately, there is no parameter indicating companies on the top of take parameter, however I take this to product team for consideration. 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...