Divisions Under Selected Distributor
Call description
This request gets a billing report for specific divisions.
•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/DivisionsUnderSelectedDistributor
•This request is a POST call type.
Call structure
{
"divisionIds": [
"string"
],
"year": 0,
"month": 0
}
Call parameters
Parameter |
Description |
---|---|
divisionIds |
Type in one or more publicId codes of your divisions. The report is completed only for the listed divisions. To enter more IDs, use the following syntax: "divisionIds": ["divisionID_1","divisionID_2","divisionID_3"] Replace the divisionID_x placeholders with the actual values. You can get publicID codes for your divisions using the call Company/Descendants with the Division entity type. Mandatory input parameter. A proper value must be set. |
year |
Use an integer value to select a single year. For example, 2018. Mandatory input parameter. A proper value must be set. |
month |
Use an integer value to select a single month. For example, use 1 for January. Mandatory input parameter. A proper value must be set. |
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.