Bling ERP icon

Bling ERP

Integração com a API v3 do Bling ERP

Actions216

Ordem de Produção → Obter Todos

AI-generated

Summary

Retrieve production orders from Bling ERP with optional filters and control over the number of results returned.

Inputs

  • Retornar Todos (required) — Boolean to specify whether to return all available production orders or limit the number returned.
  • Limite — Maximum number of production order records to return if not returning all (maximum 100).
  • Filtros — Filters object to refine results by production order situation, deposit ID, situation ID, and date range (start and end dates in YYYY-MM-DD format).

Output shape

a list of production order objects, filtered and limited according to input parameters

If 'Retornar Todos' is true, all matching production orders are returned; otherwise, results are limited by 'Limite'. Filters are optional and narrow the query results by specified fields.

Examples

Example 1: Retrieve up to 50 production orders with 'In Progress' situation from deposit ID 5 between 2023-01-01 and 2023-01-31.

Retornar Todos=false, Limite=50, Filtros with situacao='In Progress', idDeposito=5, dataInicio='2023-01-01', dataFim='2023-01-31'

Example 2: Retrieve all production orders regardless of filters.

Retornar Todos=true, no filters set

Links

Discussion