Actions137
- Entidade — Consultar Um (loadRecord) Actions
- Entidade — Consultar Vários (loadRecords) Actions
- Entidade — Salvar (DatasetSP.save) Actions
- Estoque (Gateway + REST) Actions
- Financeiro (REST) Actions
- Atualizar Despesa
- Atualizar Receita
- Baixar Despesa
- Baixar Receita
- Buscar Conta Bancária
- Buscar Moeda
- Buscar Tipo Pagamento
- Criar Despesa
- Criar Receita
- Listar Bandeiras TEF
- Listar Contas Bancárias
- Listar Cotações da Moeda
- Listar Despesas
- Listar Financeiros
- Listar Moedas
- Listar Receitas
- Listar Redes TEF
- Listar Tipos de Pagamento
- Fiscal — NF-e / NFC-e / SAT / NFS-e (REST) Actions
- Log de Alterações (Gateway) Actions
- Logística (REST) Actions
- Adicionar Pedido à Ordem
- Atualizar Motorista
- Atualizar Ordem de Carga
- Atualizar Transportadora
- Buscar Motorista
- Buscar Ordem de Carga
- Buscar Transportadora
- Criar Motorista
- Criar Transportadora
- Incluir Ordem de Carga
- Listar Motoristas
- Listar Ordens de Carga
- Listar Pedidos da Ordem
- Listar Transportadoras
- Remover Pedido da Ordem
- Movimentos / CACSP (Gateway) Actions
- Nota Fiscal (Gateway) Actions
- Parceiro (Gateway) Actions
- PDV — Ponto de Venda (REST) Actions
- Pedido (Gateway) Actions
- Pessoal — RH (REST) Actions
- Admitir Funcionário (v1)
- Admitir Funcionário (v2)
- Atualizar Recibos eSocial
- Buscar Cargo
- Buscar Departamento
- Buscar Empresa (Pessoal)
- Buscar Função
- Buscar Funcionário
- Buscar Funcionário × Empresa
- Buscar Histórico de Ocorrência
- Buscar Identificação de Carga Horária
- Buscar Local de Ponto
- Buscar Requisição de Admissão
- Buscar Sindicato
- Listar Afastamentos
- Listar Atrasos (Global)
- Listar Atrasos × Func/Emp
- Listar Carga Horária
- Listar Carga Horária Histórica
- Listar Carga Horária Histórica × Func/Emp
- Listar Cargos
- Listar Contratos
- Listar Departamentos
- Listar Dependentes
- Listar Empresas (Pessoal)
- Listar Faltas (Global)
- Listar Faltas × Func/Emp
- Listar Férias (Global)
- Listar Férias do Funcionário
- Listar Férias × Func/Emp
- Listar Financeiros do Funcionário
- Listar Funções
- Listar Funcionários (/v1/funcionarios)
- Listar Funcionários (/v1/pessoal)
- Listar Históricos de Ocorrência
- Listar Identificações de Carga Horária
- Listar Inconsistências
- Listar Locais de Ponto
- Listar Movimentos (Global)
- Listar Movimentos × Func/Emp
- Listar Ocorrências (Global)
- Listar Ocorrências × Func/Emp
- Listar Sindicatos
- Listar Tomadores (Global)
- Listar Tomadores × Func/Emp
- Produtos (REST) Actions
- Vendas — Pedidos REST (REST) Actions
- View (loadView) Actions
Logística (REST) → Incluir Ordem de Carga
AI-generatedSummary
Create a new freight order (ordem de carga) in the Sankhya system by submitting logistics data as a JSON object.
Inputs
- Dados (JSON) (required) — A JSON object representing the freight order to include. It must include required fields such as codEmp (company code), dtSaida (departure date), and optionally codMot (driver code), codTransp (carrier code), and observacao (observation). The JSON can also represent data for creating a driver, creating a carrier, or adding an order to the freight order, depending on context.
Output shape
a JSON object representing the created freight order or the API response from the Sankhya REST endpoint.
The operation calls the REST POST endpoint /v1/logistica/ordens-carga with the provided JSON data. The response may include success confirmation, IDs, or error details as returned by the Sankhya API. Errors on HTTP or business logic are thrown as exceptions.