Request
{
"processId": 1697,
"eventId": 0,
"actionId": 0,
"nodeFromId": 0,
"nodeToId": 0,
"elementId": 0,
"order": 0,
"logId": 0,
"condition": {
"expression": "rule.12 & rule.13"
}
}
Response
{
"status": 1,
"message": "",
"response": {}
}
Запросу PATCH должна удовлетворять одна строка
Request
{
"id": 12,
"eventId": 0,
"actionId": 0,
"nodeFromId": 0,
"nodeToId": 0,
"elementId": 0,
"order": 0,
"logId": 0,
"condition": {
"expression": "rule.12 & rule.13"
}
}
Response
{
"status": 1,
"message": "",
"response": {}
}
Возвращает список actions_process c фильтрами по id_node, id_node_to, id_node_from
Request
"processId" //required
"elementId" //optional
"nodeFromId" //optional (screenId | nodeId)
"nodeToId" //optional (screenId | nodeId)
Response
{
"status": 1,
"message": "",
"response": {
"processId": 12,
"actions": [
{
"eventId": 1,
"actionId": 3,
"nodeFromId": 123,
"nodeToId": 124,
"elementId": 1555,
"order": 1,
"logId": 3,
"condition": {
"rules": [
{
"ruleId": 12,
"ruleName": "rule2",
"methodId": 0,
"resultApiField": "result.abc",
"fieldName": "{{field.1234}}",
"operator": "!=",
"answerId": null,
"answer": "first status",
"isRequired": true
},
{
"ruleId": 13,
"ruleName": "rule3",
"methodId": 0,
"resultApiField": "result.abc",
"fieldName": "{{field.1234}}",
"operator": "!=",
"answerId": 0,
"answer": "second status",
"isRequired": true
}
],
"expression": "rule.12 & rule.13"
}
},
{
"eventId": 3,
"actionId": 3,
"nodeFromId": 125,
"nodeToId": 124,
"elementId": null,
"order": 0,
"logId": null,
"condition": {
"rules": [
{
"ruleId": 14,
"ruleName": "rule45",
"methodId": 0,
"resultApiField": "result.abc",
"fieldName": "{{field.1234}}",
"operator": "!=",
"answerId": null,
"answer": "first status",
"isRequired": true
},
{
"ruleId": 15,
"ruleName": "rule98",
"methodId": 0,
"resultApiField": "result.abc",
"fieldName": "{{field.1234}}",
"operator": "!=",
"answerId": 0,
"answer": "second status",
"isRequired": true
},
{
"ruleId": 16,
"ruleName": "rule100",
"methodId": 0,
"resultApiField": "result.abc",
"fieldName": "{{field.1234}}",
"operator": "!=",
"answerId": 0,
"answer": "second status",
"isRequired": true
}
],
"expression": "rule.14 & rule.15 | rule.16 "
}
}
]
}
}
Request
Парамеры в query:
"processId": 0, //required
"eventId": 0, //optional
"actionId": 0, //optional
"nodeFromId": 0, //optional (screenId | nodeId)
"nodeToId": 0, //optional (screenId | nodeId)
"elementId": 0, //optional; id_node
"order": 0, //optional
"logId": 0, //optional
Response
{
"status": 1,
"message": "",
"response": {}
}
Запросу могут удовлетворять несколько строк
Request
//без тела
Response
{
"status": 1,
"message": "",
"response": {
"logs": [
{
"logId": 3,
"logName": "India_reg_banner_view",
"logDescr": "When you switch banners on your own on the pre-login area screen"
},
{
"logId": 4,
"logName": "India_tutorial_support",
"logDescr": "When opening the Tutorial tab on the Support screen"
},
{
"logId": 5,
"logName": "India_tutorial_support_video",
"logDescr": "When you click on the target action (watch video)"
}
]
}
}
Все строки берутся из таблицы универсального справочника, отфильтрованные по id_property с названием appLogs