v1.kanban

Lista de ações e limites.

get/v1/automations/kanban/{vacancyID}/actions

Request

  • Base URL: http://localhost:8888/api
  • URL: http://localhost:8888/api/v1/automations/kanban/{vacancyID}/actions
  • Auth: API key in header authorization

Path parameters

ID da vaga

Response

Sucesso de Retorno!

messagestring

Example response

{
  "message": "Ação realizada com sucesso!",
  "data": {
    "actions": [
      {
        "_id": "630e3e33e2437749b23cb07b",
        "title": "Um título qualquer",
        "created": "31 de agosto de 2022 às 12:00h",
        "author": "John Doe",
        "trigger": {
          "key": "store.application",
          "title": "Receber um novo candidato",
          "decisions": [
            "email.template"
          ],
          "fields": [
            {
              "key": "vacancy_id",
              "title": "Na vaga",
              "rules": [
                "required"
              ],
              "values": [
                {
                  "label": "Minha vaga Teste",
                  "value": 1
                }
              ],
              "value": 1
            }
          ]
        },
        "decision": {
          "key": "email.template",
          "title": "Enviar e-mail para o candidato",
          "triggers": [
            "new.candidate"
          ],
          "fields": [
            {
              "key": "form_id",
              "title": "Formulário",
              "rules": [
                "required"
              ],
              "values": [
                {
                  "label": "Meu formulário teste",
                  "value": 1
                }
              ],
              "value": 1
            }
          ]
        }
      }
    ],
    "limits": {
      "limit": 3
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.