/api/v2/bpm/nodes/{node_id}/{preset_id}
Метод возвращает все пресеты для заданной ноды. Это вспомогательный метод, предшественник метода /nodes/availableScreens/:node_id. Воможно когда-нибудь будет полностью заменен.
Рабтает только с нодами и пресетами (элементами типа "nodeType": 1 и 6)
Path Parameters
- node_id integer required
ID ноды, которая содержит пресеты
Example: 652235 - preset_id integer required
ID ноды типа "пресет", которая содержится в качестве дочерней
Example: 652883
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "",
"response": {
"id": 652235,
"name": "newEditorNode3",
"title": "newEditorNode3",
"nodeType": "node",
"properties": {
"align": "left",
"visibility": true,
"newTestProp5": "1234567890"
},
"screens": [
{
"id": 652884,
"name": "newEditorScreen",
"title": "newEditorScreen",
"nodeType": "screen",
"properties": {
"align": "left",
"visibility": true,
"newTestProp": "12345"
},
"nodeFields": [
{
"id": 652888,
"name": null,
"nodeType": "newEditorField",
"properties": {
"align": "left",
"visibility": true,
"newTestProp": "12345"
}
},
{
"id": 652891,
"name": null,
"nodeType": "newEditorField2",
"properties": {
"visibility": true,
"align": "left",
"newTestProp": "112345",
"backgroundColor": "right"
}
},
{
"id": 652895,
"name": null,
"nodeType": "input",
"properties": {
"errorStrokeColor": "#E32A5F",
"errorImageUrl": "media/17/30/17307a39a2759a1ac4d7196b25ee8358.png",
"successStrokeColor": "#43B02A",
"successImageUrl": "media/40/15/401568fbe94547711dc82c3c2cd5801d.png",
"mask": "<span class='font-text-body'><span class='color-text-minor-second'></span></span>",
"label": "<span class='font-text-interlinear'><span class='color-text-minor-second'>PAN ID</span></span>",
"text": "<span class='font-text-body'></span>",
"placeholder": "<span class='font-text-body'><span class='color-text-minor-second'>PAN ID</span></span>",
"errorIndicator": false,
"errorText": "<span class='font-text-body'><span class='color-text-accent-error'>Please enter your PAN ID to proceed</span></span>",
"disable": false,
"successBackgroundColor": "#F5F7FB",
"errorBackgroundColor": "#F5F7FB",
"disableBackgroundColor": "",
"disableStrokeColor": "",
"visibility": true,
"security": "false",
"isHidden": false,
"imageUrl": "",
"backgroundColor": "#F5F7FB",
"strokeColor": "",
"imgUrl": "",
"background": "#ECEFF1",
"errorImgUrl": "",
"successImgUrl": "",
"disableColor": "",
"regExSymbol": "^[a-zA-Z0-9 ]*$",
"regEx": "^[a-zA-Z]{5}[0-9]{4}[a-zA-Z]{1}$"
}
}
]
},
{
"id": 652885,
"name": "newEditorScreen",
"title": "newEditorScreen",
"nodeType": "screen",
"properties": {
"align": "left",
"visibility": true,
"newTestProp": "12345"
},
"nodeFields": [
{
"id": 652887,
"name": null,
"nodeType": "newEditorField",
"properties": {
"align": "left",
"visibility": true,
"newTestProp": "12345"
}
},
{
"id": 652890,
"name": null,
"nodeType": "newEditorField2",
"properties": {
"align": "left",
"visibility": true,
"newTestProp": "112345",
"backgroundColor": "right"
}
},
{
"id": 652893,
"name": null,
"nodeType": "input",
"properties": {
"errorStrokeColor": "#E32A5F",
"errorImageUrl": "media/17/30/17307a39a2759a1ac4d7196b25ee8358.png",
"successStrokeColor": "#43B02A",
"successImageUrl": "media/40/15/401568fbe94547711dc82c3c2cd5801d.png",
"mask": "<span class='font-text-body'><span class='color-text-minor-second'></span></span>",
"label": "<span class='font-text-interlinear'><span class='color-text-minor-second'>PAN ID</span></span>",
"text": "<span class='font-text-body'></span>",
"placeholder": "<span class='font-text-body'><span class='color-text-minor-second'>PAN ID</span></span>",
"errorIndicator": false,
"regExSymbol": "^[a-zA-Z0-9 ]*$",
"errorText": "<span class='font-text-body'><span class='color-text-accent-error'>Please enter your PAN ID to proceed</span></span>",
"disable": false,
"successBackgroundColor": "#F5F7FB",
"errorBackgroundColor": "#F5F7FB",
"disableBackgroundColor": "",
"disableStrokeColor": "",
"visibility": true,
"security": "false",
"isHidden": false,
"imageUrl": "",
"backgroundColor": "#F5F7FB",
"strokeColor": "",
"imgUrl": "",
"background": "#ECEFF1",
"errorImgUrl": "",
"successImgUrl": "",
"disableColor": "",
"regEx": "^[a-zA-Z]{5}[0-9]{4}[a-zA-Z]{1}$"
}
}
]
},
{
"id": 652886,
"name": "newEditorScreen2",
"title": "newEditorScreen2",
"nodeType": "screen",
"properties": {
"align": "left",
"visibility": true,
"newTestProp": "12345"
},
"nodeFields": [
{
"id": 652889,
"name": null,
"nodeType": "newEditorField",
"properties": {
"align": "left",
"visibility": true,
"newTestProp": "12345"
}
},
{
"id": 652892,
"name": null,
"nodeType": "newEditorField2",
"properties": {
"align": "left",
"visibility": true,
"newTestProp": "112345"
}
},
{
"id": 652894,
"name": null,
"nodeType": "input",
"properties": {
"visibility": true,
"security": "True",
"isHidden": true,
"imgUrl": "",
"background": "#ECEFF1",
"strokeColor": "",
"errorStrokeColor": "#E32A5F",
"errorImgUrl": "",
"successStrokeColor": "#43B02A",
"successImgUrl": "",
"regEx": "",
"mask": "",
"label": "<span class = ‘font-text-body’><span class = ‘color-text-minor-second’>Enter password</span></span>",
"text": "<span class = ‘font-text-body’></span>",
"placeholder": "<span class = ‘font-text-body’><span class = ‘color-text-minor-second’>Enter password</span></span>",
"errorIndicator": false,
"errorText": "<span class = ‘font-text-body’><span class = ‘color-text-accent-error’>Error</span></span>",
"disable": false,
"disableColor": "",
"imageUrl": "",
"errorImageUrl": "",
"successImageUrl": "",
"backgroundColor": "#ECEFF1",
"successBackgroundColor": "#ECEFF1",
"errorBackgroundColor": "#ECEFF1",
"disableBackgroundColor": "",
"disableStrokeColor": "",
"regExSymbol": "^[a-zA-Z \\-]*$"
}
}
]
}
],
"presets": [],
"presetId": 652883
},
"preparingsTime": 0.293
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 0,
"message": "Node with id='9999999' was not found",
"response": {},
"preparingsTime": 0.054
}
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...