Sankhya icon

Sankhya

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

Actions137

Pedido (Gateway) → Listar

AI-generated

Summary

List orders from the Sankhya ERP system filtering optionally by status, start date, end date, and pagination page number.

Inputs

  • Status — Optional order status filter (string).
  • Data Início — Optional start date filter for order date (date-time).
  • Data Fim — Optional end date filter for order date (date-time).
  • Página — Optional page number for paginated results (number, defaults to 0).

Output shape

a JSON object representing a list of orders matching the criteria.

The operation calls the Gateway service 'CRUDServiceProvider.loadRecords' on the 'CabecalhoNota' root entity, using the provided filters combined with AND logic. Pagination is controlled by the 'Página' parameter via the Gateway's offsetPage. The output is the decoded Gateway response body containing the filtered list of orders. Errors are thrown for HTTP or business rule failures.

Links

Discussion