/api/v2/bpm/conditionsRules
Метод возвращает список правил
Query Parameters
- q string
Регистронезависимая подстрока, фильтр по "ruleName"
Example: url - offset integer
Параметр содержащий порядковый номер элемента, после которого будут показаны остальные результаты
Example: 1 - limit integer
Параметр содержащий максимальное кол-во элементов в ответе
Example: 20
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "",
"response": {
"conditions": [
{
"id": 115,
"ruleName": "Generate URL for Payment",
"method": {
"id": 30,
"value": "getUrlMandate"
},
"resultApiField": "body.success",
"answerId": null,
"operator": "=",
"isRequired": true,
"fieldName": null,
"conditionType": "api",
"service": {
"id": 24,
"value": "LMS-Payments"
},
"answer": "True"
},
{
"id": 488,
"ruleName": "Generate URL for Payment Grace",
"method": {
"id": 175,
"value": "getUrlForGrace"
},
"resultApiField": "body.success",
"answerId": null,
"operator": "=",
"isRequired": true,
"fieldName": null,
"conditionType": "api",
"service": {
"id": 24,
"value": "LMS-Payments"
},
"answer": "True"
},
{
"id": 486,
"ruleName": "Generate URL for Payment Overdue",
"method": {
"id": 172,
"value": "getUrlForPaymentOverdue"
},
"resultApiField": "body.success",
"answerId": null,
"operator": "=",
"isRequired": true,
"fieldName": null,
"conditionType": "api",
"service": {
"id": 24,
"value": "LMS-Payments"
},
"answer": "True"
},
{
"id": 492,
"ruleName": "Generate URL for Payment Emi",
"method": {
"id": 177,
"value": "getUrlForEmi"
},
"resultApiField": "body.success",
"answerId": null,
"operator": "=",
"isRequired": true,
"fieldName": null,
"conditionType": "api",
"service": {
"id": 24,
"value": "LMS-Payments"
},
"answer": "True"
},
{
"id": 412,
"ruleName": "getUrlEmiPlanTransh",
"method": {
"id": 144,
"value": "getEmiPlanDocTransh"
},
"resultApiField": "body.status",
"answerId": null,
"operator": "=",
"isRequired": true,
"fieldName": null,
"conditionType": "api",
"service": {
"id": 28,
"value": "LMS-main"
},
"answer": "1"
},
{
"id": 545,
"ruleName": "Generate URL for Payment Full Early Repayment",
"method": {
"id": 209,
"value": "getUrlForFullEarlyRepayment"
},
"resultApiField": "body.success",
"answerId": null,
"operator": "=",
"isRequired": true,
"fieldName": null,
"conditionType": "api",
"service": {
"id": 24,
"value": "LMS-Payments"
},
"answer": "True"
}
],
"offset": 1,
"total": 7,
"all": 6
},
"preparingsTime": 0.15
}
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.006
}
Loading...