Bling ERP icon

Bling ERP

Integração com a API v3 do Bling ERP

Actions216

Contrato → Obter Todos

AI-generated

Summary

Retrieve multiple 'Contrato' (contract) records from Bling ERP with optional filtering and control over the number of results returned.

Inputs

  • returnAll — Boolean option to return all contract records matching the filters or limit the number returned.
  • limit — Maximum number of contract records to return when 'returnAll' is false (minimum 1, maximum 100).
  • filters — Optional filters to narrow down contracts by situation, linked contact ID, start date, and end date.

Output shape

A list of contract records, each representing a contract as returned by the Bling ERP API.

If 'returnAll' is true, all matching contracts are returned. If false, results are limited to the specified 'limit'. Filters are applied if provided. The node returns the contracts data in the workflow's output.

Examples

Example 1: Fetch all contracts in a specific situation linked to a particular contact.

Set 'returnAll' to true, supply filters 'situacao' and 'idContato' as needed.

Example 2: Retrieve up to 50 contracts created between two dates.

Set 'returnAll' to false, 'limit' to 50, and set filters 'dataInicio' and 'dataFim'.

Links

Discussion