/api/v2/bpm/nodes/changePropertyValues
Метод позволяющий заменить одно значение свойства на другое по всем дочерним нодам и вернуть количество элементов подлежащих изменению
- application/json
Request Body
- nodeId int64
ID ноды (ноды типа 'поле'), элемент с которому привязывается событие
- propertyId int64
ID свойства
- currentPropertyValue string required
Possible values:
non-empty
Текущее значение свойства
- newPropertyValue string
Possible values:
non-empty
Новое устанавливаемое значение свойства
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- object
{}
{
"status": 1,
"message": "",
"response": {
"count": 0
},
"preparingsTime": 9.136
}
Bad Request
- application/json
- Schema
- Example (from schema)
- example-0
- example-1
Schema
- object
{}
400
{
"status": 0,
"message": "This field is required.",
"response": {
"currentPropertyValue": [
"This field is required."
]
},
"preparingsTime": 0.035
}
400_2
{
"status": 0,
"message": "This field may not be null.",
"response": {
"nodeId": [
"This field may not be null."
],
"propertyId": [
"This field may not be null."
],
"currentPropertyValue": [
"This field may not be blank."
],
"newPropertyValue": [
"This field may not be blank."
]
},
"preparingsTime": 0.249
}
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...