Kobana icon

Kobana

Interact with Kobana API - Quick access to common operations

Actions215

Overview

This node integrates with the Kobana API, providing a wide range of operations to manage various financial and administrative resources. Specifically, the V1 > Imports resource supports updating import records by their ID.

The Update operation for the Imports resource allows users to modify existing import data by specifying the import's unique identifier and providing the updated information in JSON format. This is useful in scenarios where import details need correction or enhancement after creation, such as adjusting metadata or correcting imported transaction details.

Practical example: You have an import record representing a batch of financial transactions that was initially created with incomplete or incorrect data. Using this node’s update operation, you can send a corrected JSON payload to update that import record without needing to recreate it from scratch.

Properties

Name Meaning
ID The unique identifier of the import resource to update.
Request Body The JSON object containing the fields and values to update on the import resource.
Additional Fields Optional JSON object with extra fields to include in the request (not specifically used here but available).

Output

The node outputs the JSON response returned by the Kobana API after performing the update operation. This typically includes the updated import resource data reflecting the changes made.

  • The output is structured as an array of JSON objects, each corresponding to an input item processed.
  • No binary data output is indicated for this operation.

Dependencies

  • Requires an active Kobana API credential configured in n8n, which provides authentication to access the Kobana API endpoints.
  • The node dynamically selects the API base URL depending on whether the environment is production or sandbox.
  • The node uses HTTP methods (PUT for update) to interact with the Kobana REST API.

Troubleshooting

  • Invalid ID error: If the provided ID does not correspond to an existing import resource, the API will likely return an error indicating the resource was not found. Verify the ID is correct.
  • Malformed JSON in Request Body: The Request Body must be valid JSON. Invalid JSON syntax will cause parsing errors before the request is sent.
  • Authentication errors: Ensure the Kobana API credentials are correctly set up and have sufficient permissions.
  • API rate limits or downtime: Temporary failures may occur if the Kobana API is unavailable or rate limits are exceeded. Retry later or check API status.

Links and References

Discussion