AvantGuard - WebhookSite icon

AvantGuard - WebhookSite

AvantGuard - WebhookSite

Actions100

Overview

This node operation updates an existing Rack Storage Item by its unique identifier. It is useful in scenarios where you need to modify details of a rack storage item such as its role, associated asset, physical location units, power specifications, status, or descriptive metadata. For example, you might use this node to update the power draw or status of a rack storage item after maintenance or to change the asset linked to a particular rack slot.

Properties

Name Meaning
Id The unique identifier of the Rack Storage Item to update (required).
Additional Body Fields Optional fields to update various attributes of the Rack Storage Item:
- id Unique ID of the rack storage item.
- rack_storage_role_id Unique ID of the rack storage role.
- asset_id Unique ID of the asset associated with the rack storage item.
- start_unit Starting unit position of the rack storage item within the rack.
- end_unit Ending unit position of the rack storage item within the rack.
- status Status code representing the current state of the rack storage item.
- side Side of the rack where the item is located.
- max_wattage Maximum wattage capacity of the rack storage item.
- power_draw Current power draw of the rack storage item.
- rack_storage_role_name Name of the rack storage role.
- reserved_message Reserved message or note for the rack storage item.
- rack_storage_role_description Description of the rack storage role.
- rack_storage_role_hex_color Hex color code representing the rack storage role visually.
- asset_name Name of the asset associated with the rack storage item.
- asset_url URL link related to the asset.
- url URL link related to the rack storage item itself.
- company_id Unique ID of the company owning or managing the rack storage item.

Output

The node outputs JSON data representing the updated Rack Storage Item. This output includes all the properties of the rack storage item after the update operation, reflecting any changes made. There is no binary data output.

Dependencies

  • Requires an API key credential for authentication to the AvantGuard service.
  • The node uses a base URL configured in the credentials to send HTTP requests.
  • The node depends on the @avantguardllc/n8n-openapi-node package and an OpenAPI specification (openapi.json) for request building and validation.

Troubleshooting

  • Missing or invalid Id: The update operation requires a valid Rack Storage Item ID. Ensure the "Id" property is set correctly; otherwise, the API will reject the request.
  • Invalid field values: Providing incorrect types or out-of-range values for numeric fields like start_unit, end_unit, or status may cause errors. Validate input data before execution.
  • Authentication errors: If the API key or base URL is misconfigured, the node will fail to authenticate. Verify credentials and endpoint settings.
  • Network issues: Connectivity problems can prevent the node from reaching the API. Check network access and proxy configurations if applicable.
  • API response errors: The API might return error messages if the resource does not exist or if there are permission issues. Review the error details returned by the node for guidance.

Links and References

Discussion