Single Managed Company
Call description
Gets the billing report for a one specified (second-level) managed company.
•This call is available only to Distributor and HQ accounts.
•This API call requires authorization; the user has to be logged in.
•Request URL: https://mspapi.eset.com/api/BillingReport/SingleManagedCompany
•This request is a POST call type.
Call structure
{
"companyId": "string",
"year": 0,
"month": 0
}
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. |
year |
Use an integer value to select a single year. For example, 2018. |
month |
Use an integer value to select a single month. For example, use 1 for January. |
Response structure
The response contains data in the JSON format.
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.