Loading...

Central de Ajuda

Tire suas dúvidas e aproveite ao máximo nossos serviços

/api/fila/inserir

  • Descrição: Insere uma nova tarefa na fila.
  • Parâmetros (JSON):
    • Token (string) – ✅ Obrigatório – Token de autenticação.
    • ExecucaoId (string, opcional) – Identificador da execução associada à fila.
    • Workflow (string) –  ✅ Obrigatório – Nome do workflow associado à fila.
    • Tarefa (string) –  ✅ Obrigatório – Nome da tarefa da fila.
    • Referencia (string) –  ✅ Obrigatório – Referência da tarefa.
    • ParametrosEntrada (objeto JSON) –  ✅ Obrigatório – Parâmetros da tarefa.
    • Status (string) – ❌ Opcional – Status inicial da tarefa na fila (NaFilaEmExecucao).
    • Mensagem (string) – ❌ Opcional – Mensagem associada à inserção da fila.
    • Funcao (string) – ❌ Opcional – Função associada à inserção (padrão: ‘ ‘).
    • LinhaComando (int) – ❌ Opcional – Linha de comando associada à inserção.
    • Lote (lista de objetos JSON) – ❌ Opcional – Lista de tarefas para inserção em lote:
[
  {
    "Referencia": "valor",
    "ParametrosEntrada": {
      "param1": "valor1",
      "param2": "valor2"
    }
  }
]
  • Resposta de Sucesso:
{
  "status": "sucesso",
  "FilaId": "12345"
}
  • Possíveis Erros:
    • 400: Requisição inválida.
    • 403: Token inválido.
    • 404: Workflow ou tarefa não encontrados.
Chatbot IA WhatsApp
🤖 Chatbot IA 🔄
Bot: Olá! Como posso te ajudar?