Detail
Call description
This request returns detailed data for a company specified by the companyId parameter. The return values contain all available information about the company. Users can only view the details of their companies or their company's subordinates (lower in the hierarchy).
•This API call requires authorization; the user has to be logged in.
•Request URL: https://mspapi.eset.com/api/Company/Detail
•This request is a POST call type.
Call structure
{
"companyId": "string"
}
Call parameters
Parameter |
Description |
---|---|
companyId |
companyId is a unique identifier of a company. To get the companyId of the logged in user, use /api/User/Current call. |
Response structure
The response contains data in the JSON format.
The id parameter in the ancestor section is the companyId of the ancestor. The id parameter in the main section, above the name parameter, is the companyId of the selected company.
Troubleshooting
ESET MSP Administrator 2 API uses standardized error codes. If you are getting errors or unexpected responses, see the Troubleshooting API for common problems and the list of error codes.