JetNet icon

JetNet

Interact with JetNet API for aviation industry data

Overview

This node integrates with the JetNet API, a service providing detailed aviation industry data. Specifically, for the Company resource and the Get Business Types operation, it retrieves the various business types or roles that a specified company plays within the aviation sector.

Use cases include:

  • Enriching company profiles with their business roles.
  • Filtering or categorizing companies based on their business types.
  • Integrating aviation company data into workflows for analysis or reporting.

For example, you might use this node to fetch all business types associated with a particular aviation company by its unique ID, then use that information to tailor marketing campaigns or compliance checks.

Properties

Name Meaning
Company ID The unique identifier of the company whose business types you want to retrieve.

Output

The output is a JSON object (or array of objects) representing the business types associated with the specified company. Each item in the output corresponds to a business type or role the company holds.

The exact structure depends on the API response but typically includes fields describing each business type's name, code, or description.

No binary data is returned by this operation.

Dependencies

  • Requires an active connection to the JetNet API.
  • 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 requests to fetch data from endpoints like /api/Company/getBusinesstypes/{companyId}/{apiToken}.

Troubleshooting

  • Common issues:

    • Invalid or missing Company ID: Ensure the Company ID provided is correct and exists in JetNet.
    • Authentication errors: Verify that the API key credential is correctly set up and has necessary permissions.
    • Network or connectivity problems: Check internet access and JetNet API availability.
  • Error messages:

    • "Unauthorized" or similar indicates invalid API credentials.
    • "Not Found" suggests the Company ID does not exist or is incorrect.
    • Timeout or network errors indicate connectivity issues.

To resolve errors, confirm input parameters, check credentials, and ensure the JetNet API service is reachable.

Links and References

Discussion