Sankhya icon

Sankhya

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

Actions137

Movimentos / CACSP (Gateway) → Buscar Anexos

AI-generated

Summary

List anexos (attachments) of a specific record in Sankhya ERP via the Gateway service.

Inputs

  • PK da Entidade (required) — Primary key of the record to fetch attachments for, e.g., 'NUNOTA=1234'.
  • Nome da Entidade (required) — Internal entity name in Sankhya, e.g., 'CabecalhoNota'.

Output shape

a JSON object containing the list of attachments related to the specified record

The returned data comes from the Gateway service 'AnexoSistemaSP.buscarAnexos'. It requires valid Sankhya credentials. Errors are raised for invalid requests or failed operations.

Examples

Example 1: Fetch attachments of a note with NUNOTA=1234

Set 'PK da Entidade' to 'NUNOTA=1234' and 'Nome da Entidade' to 'CabecalhoNota'. Execute to receive the attachment list.

Links

Discussion