JetNet icon

JetNet

Interact with JetNet API for aviation industry data

Overview

The "Get Aircraft Relationships" operation under the "Company" resource in this JetNet node allows users to retrieve aircraft relationship data associated with a specific company. This includes information about how various aircraft are related to the company, such as ownership, operation, or other types of relationships.

This node is beneficial for aviation industry professionals who need to analyze or integrate detailed company-aircraft relationship data into workflows, such as fleet management, market analysis, or compliance tracking.

Example use case:
A user wants to fetch all aircraft linked to a particular company by its unique ID to understand the company's fleet composition or operational reach.

Properties

Name Meaning
Company ID The unique identifier of the company for which to retrieve aircraft relationships.

Output

The output is a JSON object (or an array of objects) containing the aircraft relationships data for the specified company. The exact structure depends on the API response but typically includes details about each aircraft and the nature of its relationship to the company.

No binary data output is indicated for this operation.

Dependencies

  • Requires an active connection to the JetNet API service.
  • Requires an API authentication token credential configured in n8n to authorize requests.
  • The base URL for API requests is https://customer.jetnetconnect.com.
  • The node uses HTTP GET method to fetch data from the endpoint /api/Company/getAircraftrelationships/{companyId}/{apiToken}.

Troubleshooting

  • Common issues:

    • Invalid or missing Company ID: Ensure the Company ID provided is correct and exists in the JetNet system.
    • Authentication errors: Verify that the API key credential is correctly set up and has necessary permissions.
    • Network or connectivity problems: Confirm that the n8n instance can reach the JetNet API endpoint.
  • Error messages:

    • Errors returned from the API will be captured and shown in the node's output if "Continue On Fail" is enabled.
    • Typical error messages may include "Unauthorized", "Not Found", or "Bad Request" indicating issues with credentials, invalid IDs, or malformed requests.

Links and References

Discussion