/api/v2/bpm/conditionsRules/{id}
Метод возвращает информацию о правиле по ID
Path Parameters
- id integer required
ID правила
Example: 699
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "",
"response": {
"id": 699,
"ruleName": "Клиент присутствует в БД (test_3)",
"method": {
"id": 1,
"value": "getTopicsForChat"
},
"resultApiField": "body.status",
"answerId": null,
"operator": "!=",
"isRequired": true,
"fieldName": "{{field.7707}}",
"conditionType": "api",
"service": {
"id": 3,
"value": "CRM Chat"
},
"answer": "1"
},
"preparingsTime": 0.088
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Not found",
"response": {},
"preparingsTime": 0.067
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Authentication credentials were not provided.",
"response": {
"detail": "Authentication credentials were not provided."
},
"preparingsTime": 0.003
}
Loading...