Sankhya icon

Sankhya

Integração completa com o ERP Sankhya — REST v1/v2 e Gateway

Actions137

View (loadView) → Executar

AI-generated

Summary

Query a Sankhya database view by specifying its name, fields to retrieve, and an optional WHERE clause to filter records.

Inputs

  • Nome da View (required) — The exact name of the database view in Sankhya to query.
  • Campos (required) — The fields to retrieve from the view, specified as a string (e.g., '*' for all fields).
  • Filtro WHERE — An optional SQL WHERE clause filter to narrow down the returned records.

Output shape

a JSON object representing the query result as returned by the Sankhya Gateway 'CRUDServiceProvider.loadView' service

The result includes the requested fields from the specified view, filtered according to the WHERE clause if provided. Errors from the Sankhya service manifest as thrown errors. Returned data follows the Sankhya Gateway's response structure.

Links

Discussion