Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Financial → CurrencyExchangeRateReadById

AI-generated

Summary

The CurrencyExchangeRateReadById operation under the Financial resource in the Zen ERP node reads a currency exchange rate record by its identifier. The only explicitly declared parameter is a path parameter id of type number with a default value of 0. The node's execute method resolves the handler via the meta-operations map and the helper's createHandler, invokes it with the item index, and returns the result(s) as n8n output items.

Inputs

  • financial_currencyExchangeRateReadById_path — Collection-type parameter shown when operation is /financial/currencyExchangeRateReadById. Contains an option id (number, default 0).

Output shape

Each output item contains a json field populated from the handler's return value and a pairedItem field recording the source item index. If the handler returns an array, each element generates a separate output item; if the return value is not undefined, a single output item is generated. Undefined results are omitted. Errors are handled per the node's continueOnFail setting.

The handler is obtained by looking up operations[resource][operation], then passing the target to getOperationHandler(target) which wraps it via createHandler from ZenErp.helpers.

Examples

Example 1: Provide an id value (e.g., 42) to fetch a specific currency exchange rate record.

Set the id option under financial_currencyExchangeRateReadById_path to the desired numeric identifier.

Links

Discussion