NetBox icon

NetBox

Consume NetBox API

Actions243

Rack Type → Get Many

AI-generated

Overview

This node interacts with the NetBox API to retrieve multiple rack type records from the DCIM domain. It is useful for users who want to fetch a list of rack types with optional filtering and pagination controls. For example, a data center manager could use this node to get all rack types or filter them by manufacturer, form factor, or other attributes to manage rack inventory efficiently.

Use Case Examples

  1. Fetch all rack types from the DCIM domain.
  2. Retrieve rack types filtered by manufacturer ID or form factor.
  3. Limit the number of rack types returned to a specific count for pagination.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to interact with, here it is set to 'dcim' for data center infrastructure management.
Return All Determines whether to return all rack type results or limit the number of results.
Limit Maximum number of rack type results to return when 'Return All' is false.
Filters Optional filters to narrow down the rack types returned, such as manufacturer ID, name, form factor, width, U height, search query, ID, ordering, creation date, and last updated date.

Output

JSON

  • id - Unique identifier of the rack type
  • name - Name of the rack type
  • manufacturer_id - Identifier of the manufacturer associated with the rack type
  • form_factor - Form factor of the rack type
  • width - Width dimension of the rack type
  • u_height - Height in U units of the rack type
  • created - Timestamp when the rack type was created
  • last_updated - Timestamp when the rack type was last updated

Dependencies

  • NetBox API
  • An API key credential for authentication

Troubleshooting

  • Common issues include authentication failures due to invalid or missing API credentials. Ensure the API key credential is correctly configured.
  • Incorrect domain or resource selection can lead to no data being returned or errors. Verify the domain is set to 'dcim' and resource to 'rack-types' for this operation.
  • Filters must be correctly formatted; invalid filter values may cause the API to reject the request.
  • If 'Return All' is false and the limit is set too low, not all desired data may be retrieved. Adjust the limit or enable 'Return All' as needed.

Links

Discussion