Hudu icon

Hudu

Interact with Hudu REST API

Asset → Update

AI-generated

Overview

This node operation updates one or more fields of an existing asset in the Hudu system. It is useful for scenarios where you need to modify asset details such as name, status, or other standard properties programmatically. For example, you can update the asset's name, archive status, or custom fields in bulk or individually through this operation.

Use Case Examples

  1. Updating the name and archived status of a specific asset by its unique ID.
  2. Modifying multiple fields of an asset in one operation to keep asset information current.

Properties

Name Meaning
Asset ID The unique ID or slug of the asset to operate on. This identifies which asset will be updated.
Asset Fields Map one or more asset fields to update, including name and other standard properties. Allows updating a single field or multiple fields in one operation.

Output

JSON

  • id - The unique identifier of the updated asset.
  • name - The name of the updated asset.
  • archived - The archived status of the updated asset.
  • primary_serial - The primary serial number of the updated asset.
  • primary_model - The primary model of the updated asset.
  • primary_manufacturer - The primary manufacturer of the updated asset.
  • primary_mail - The primary mail associated with the updated asset.

Dependencies

  • Requires an API key credential for authenticating with the Hudu REST API.

Troubleshooting

  • Common issues include providing an invalid or non-existent Asset ID, which will cause the update operation to fail. Verify the Asset ID before running the node.
  • Incorrect mapping of asset fields can lead to partial or failed updates. Ensure the fields are correctly mapped according to the asset layout.
  • API authentication errors may occur if the API key credential is missing or invalid. Confirm the credential configuration in the node settings.

Discussion