JetNet Tool icon

JetNet Tool

Access JetNet aviation data for AI Agents

Overview

This node provides access to JetNet aviation industry data, specifically for the "Company" resource with the "Get Company History Paged" operation. It retrieves paginated historical and transaction records related to a company from the JetNet database.

Typical use cases include:

  • Fetching detailed company history in manageable pages for analysis or reporting.
  • Integrating company transaction data into aviation market intelligence workflows.
  • Automating retrieval of company-related historical data for AI agents or business applications.

For example, a user can request the paged history of a specific company by specifying pagination parameters such as page size and page number, enabling efficient handling of large datasets.

Properties

Name Meaning
Tool Description Choose how to set the tool description: either automatically based on resource and operation, or manually by entering a custom description.
Description (Shown only if "Set Manually" is selected) A string describing what this tool does, helping language models understand its purpose better.

Output

The node outputs a JSON object with the following structure:

{
  "success": true,
  "resource": "company",
  "operation": "getCompanyHistoryPaged",
  "data": { /* The paginated company history data returned from JetNet API */ },
  "timestamp": "ISO 8601 timestamp of the response"
}
  • success: Indicates whether the API call was successful.
  • resource: The resource type, here always "company".
  • operation: The operation performed, here "getCompanyHistoryPaged".
  • data: Contains the actual paginated company history and transaction records retrieved from JetNet.
  • timestamp: The time when the response was generated.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the JetNet service.
  • The node makes HTTP requests to the JetNet API endpoint at https://customer.jetnetconnect.com.
  • Proper configuration of the API authentication token and bearer token is necessary within n8n credentials.

Troubleshooting

  • Missing Company ID: If the required company identifier is not provided in the input parameters, the node will throw an error stating "Company ID is required for this operation." Ensure that the company ID is correctly supplied.
  • Unknown Operation or Resource: Errors like "Unknown company operation" or "Unknown resource" indicate misconfiguration of the resource or operation parameters. Verify that "Company" is selected as the resource and "Get Company History Paged" as the operation.
  • API Authentication Errors: Failure to authenticate with JetNet due to invalid or missing API credentials will result in authorization errors. Confirm that the API key and tokens are valid and properly configured.
  • Pagination Parameters: Incorrect or missing pagination parameters (pageSize, page) may lead to unexpected results or errors. Provide valid numeric values for these parameters.

Links and References

Discussion