AvantGuard - NinjaOne icon

AvantGuard - NinjaOne

AvantGuard - NinjaOne

Actions159

Overview

This node integrates with the AvantGuard NinjaOne API to retrieve usage data for a specific location within an organization. The "Get Location Usage" operation fetches detailed information about resource consumption or activity metrics tied to a particular location identified by its ID. This is useful for monitoring and managing organizational resources on a per-location basis, such as tracking software deployments, hardware usage, or service consumption.

Practical examples include:

  • Fetching usage statistics for a branch office to analyze resource allocation.
  • Monitoring software license usage at a specific site.
  • Auditing hardware or service utilization per location for cost management.

Properties

Name Meaning
Id Organization identifier (number)
Location Id Location identifier within the organization (number)

Both properties are required inputs to specify exactly which organization's location usage data to retrieve.

Output

The node outputs JSON data containing the usage details for the specified location. The exact structure depends on the API response but typically includes metrics or records related to resource consumption at that location.

No binary data output is indicated in the source code.

Dependencies

  • Requires an API key credential for authenticating with the AvantGuard NinjaOne API.
  • The base URL for the API must be configured in the node credentials.
  • Depends on the @avantguardllc/n8n-openapi-node package and the OpenAPI specification defined in openapi.json.

Troubleshooting

  • Missing or invalid credentials: Ensure the API key and base URL are correctly set in the node credentials.
  • Invalid organization or location IDs: Verify that the provided numeric IDs correspond to existing entities in the AvantGuard NinjaOne system.
  • Network or API errors: Check network connectivity and API availability; handle rate limits or permission issues as per API documentation.
  • Unexpected response format: Confirm that the API version matches the OpenAPI spec used by the node.

Links and References

Discussion