Druva MSP icon

Druva MSP

Interact with the Druva MSP API

Actions79

Report - Endpoint → Get License Usage Report

AI-generated

Overview

The Druva MSP node's 'Get License Usage Report' operation under the 'Report - Endpoint' resource retrieves license usage data from the Druva MSP API. It supports filtering the report by date using specific dates, relative date ranges, or including all dates. Additionally, it can filter results by specific customer IDs, control the number of results returned, and optionally wrap the output items into a single array to streamline downstream processing. This operation is useful for MSP administrators or analysts who need to monitor and analyze license usage over various time periods and customer segments.

Use Case Examples

  1. An MSP administrator wants to generate a license usage report for the previous month for all customers to assess overall license consumption.
  2. A user needs to get license usage data for a specific date range and filter the report to include only selected customers.
  3. A report is required for the current quarter's license usage, with all results returned and wrapped into a single output item for easier handling in subsequent workflow nodes.

Properties

Name Meaning
Date Selection Method Choose whether to use specific dates, relative date ranges, or include all dates (no date filter). Options: All Dates, Specific Dates, Relative Date Range.
Start Date Start date for the report period. Required if 'Specific Dates' is selected.
End Date End date for the report period. Required if 'Specific Dates' is selected.
Date Range Select a predefined relative date range for the report when 'Relative Date Range' is selected. Options include current month, previous months, quarters, years, and common ranges like last 30, 60, or 90 days.
Filter by Customers Boolean flag to indicate whether to filter the report results by specific customer IDs.
Customer IDs List of customer IDs to include in the report. Required if 'Filter by Customers' is true.
Return All Boolean flag to indicate whether to return all results or limit the number of results.
Limit Maximum number of results to return if 'Return All' is false.
Wrap Output Items When enabled, wraps all output items into a single item containing an array to prevent the next node from executing multiple times.
Wrapper Property Name The property name to use for the wrapped array of items in the output. Default is 'items'.

Output

JSON

  • json - The main output data containing the license usage report details.

Dependencies

  • Druva MSP API
  • An API key credential for authentication

Troubleshooting

  • Ensure the API credentials are correctly configured and have sufficient permissions to access license usage reports.
  • If filtering by specific customers, verify that the customer IDs are valid and accessible by the authenticated user.
  • Check date parameters for correctness, especially when using specific dates to avoid invalid or empty date ranges.
  • If the node returns an error about an unimplemented resource, verify that the resource and operation names are correctly set.

Links

Discussion