Ajax icon

Ajax

Consume Ajax API (v.0.1.2)

Actions242

Overview

This node, named "Ajax," is designed to interact with a specific Ajax API (version indicated in the code). It provides a flexible interface to perform various operations on multiple resources exposed by the Ajax backend. In particular, for the Resource "Object" and Operation "Get Object Notes By Id," it retrieves detailed information about a specific note associated with an object within a company.

Common scenarios where this node is beneficial include:

  • Fetching notes or comments linked to objects managed in the Ajax system.
  • Integrating Ajax object notes into workflows for auditing, reporting, or further processing.
  • Automating retrieval of object-related metadata for synchronization with other systems.

Example use case: A user wants to automatically pull notes attached to a security device (object) identified by its ID within a company, to display or analyze them in another application.

Properties

Name Meaning
Company Id The unique identifier of the company that owns the object.
Object Id The unique identifier of the object whose note is being retrieved.
Note Id The unique identifier of the specific note to fetch from the object.

All three properties are required string inputs and must be provided to successfully retrieve the note.

Output

The node outputs JSON data representing the details of the requested note associated with the specified object. This typically includes fields such as note content, creation date, author, and any metadata defined by the Ajax API for object notes.

If the node supports binary data output, it would relate to attachments or media linked to the note, but based on the static analysis, the primary output is structured JSON data describing the note.

Dependencies

  • Requires an API key credential for authenticating with the Ajax API.
  • Depends on the Ajax backend services accessible via HTTP requests.
  • Uses internal helper classes for state management, operation resolution, and HTTP communication bundled within the node's implementation.
  • No additional external dependencies beyond the provided Ajax API credential and network access to the Ajax service.

Troubleshooting

  • Missing or invalid credentials: Ensure the API key credential is correctly configured and has sufficient permissions to access object notes.
  • Invalid IDs: Providing incorrect or non-existent Company Id, Object Id, or Note Id will result in errors or empty responses. Verify these identifiers before execution.
  • Network issues: Connectivity problems to the Ajax API endpoint can cause timeouts or failures. Check network settings and API availability.
  • API changes: If the Ajax API version changes, some operations or fields might become deprecated or altered, requiring node updates.

Common error messages may include authentication failures, resource not found, or permission denied. Resolving these involves checking credentials, input parameters, and user permissions.

Links and References

Discussion