ACTIONS

GET /bpm/actions?q=india&type=log

q (опционален) - регистронезависимая подстрока action_name

type (опционален) - тип экшена ("next", "exit", "async", ... ,"goto", "log")

{
  "status": 1,
  "message": "",
  "response": {
    "actions": [
      {
				"id": 123,
        "name": "india shoose limit apply",
        "alias": "action.log(1234, qwerty)",
        "type": "log",
        "parameters": [
          "1234",
          "qwerty"
        ]
      },
      {
				"id": 123,
        "name": "Exit from node",
        "alias": "action.exit",
        "type": "exit",
        "parameters": []
      }
    ],
    "offset": 0,
    "total": 1
  }
}

POST /bpm/actions

Request

{
  "name": "india shoose limit apply",
  "type": "log",
  "parameters": [
    "1234",
    "qwerty"
  ]
}

Response

{
	"id": 123,
  "name": "india shoose limit apply",
  "alias": "action.log(1234, qwerty)",
  "type": "log",
  "parameters": [
    "1234",
    "qwerty"
  ]
}

PATCH /bpm/actions/{actonId}

Request

{
  "name": "india shoose limit apply",
  "type": "log",
  "parameters": [
    "1234",
    "qwerty"
  ]
}

Response

{
	"id": 123,
  "name": "india shoose limit apply",
  "alias": "action.log(1234, qwerty)",
  "type": "log",
  "parameters": [
    "1234",
    "qwerty"
  ]
}

DELETE /bpm/actions/{actonId}