API owner EN: различия между версиями
Нет описания правки |
IronBot (обсуждение | вклад) (Fix Ukrainian API localization) |
||
| (не показано 5 промежуточных версий этого же участника) | |||
| Строка 1: | Строка 1: | ||
[[ | '''en''' | [[API_owner_UK|uk]] | [[API owner|ru]] | ||
Section '''[[API_EN|API]]''' ERP "UserSide" | Section '''[[API_EN|API]]''' ERP "UserSide" | ||
Purpose: | Purpose: Actions with owners | ||
Additional parameters: | Additional parameters: | ||
| Строка 15: | Строка 15: | ||
''Added in: 3.13.26'' | ''Added in: 3.13.26'' | ||
Description: Addition | Description: Addition | ||
Required parameters: | |||
name - name | name - name | ||
Optional parameters: | Optional parameters: | ||
comment - notes | comment - notes | ||
cost - amount of payment to the owner | cost - amount of payment to the owner | ||
| Строка 30: | Строка 24: | ||
''Added in: 3.13.15'' | ''Added in: 3.13.15'' | ||
Description: Specifies the owner for the building | Description: Specifies the owner for the building | ||
Required parameters: | |||
owner_id - owner id | owner_id - owner id | ||
building_id - building id | building_id - building id | ||
| Строка 37: | Строка 31: | ||
''Added in: 3.13.35'' | ''Added in: 3.13.35'' | ||
Description: Specifies the owner for the FOCL | Description: Specifies the owner for the FOCL | ||
Required parameters: | |||
owner_id - owner id | owner_id - owner id | ||
fiber_id - id of FOCL | |||
==== bind_node ==== | ==== bind_node ==== | ||
''Added in: 3.13.35'' | ''Added in: 3.13.35'' | ||
Description: Specifies the owner for the infrastructure object | Description: Specifies the owner for the infrastructure object | ||
Required parameters: | |||
owner_id - owner id | owner_id - owner id | ||
node_id - id of infrastructure object | node_id - id of infrastructure object | ||
| Строка 51: | Строка 45: | ||
''Added in: 3.13.26'' | ''Added in: 3.13.26'' | ||
Description: Delete object | Description: Delete object | ||
Required parameters: | |||
id - id of the object | id - id of the object | ||
| Строка 59: | Строка 53: | ||
''Added in: 3.13.26'' | ''Added in: 3.13.26'' | ||
Description: Edit object | Description: Edit object | ||
Required parameters: | |||
id - id of the object | id - id of the object | ||
Optional parameters: | Optional parameters: | ||
name - name | name - name | ||
comment - notes | comment - notes | ||
cost - amount of payment to the owner | cost - amount of payment to the owner | ||
| Строка 80: | Строка 68: | ||
==== unbind_building ==== | ==== unbind_building ==== | ||
''Added in: 3.13.15'' | ''Added in: 3.13.15'' | ||
Description: | Description: Remove the owner from a building | ||
Required parameters: | |||
owner_id - owner id | owner_id - owner id | ||
building_id - building id | building_id - building id | ||
| Строка 88: | Строка 76: | ||
''Added in: 3.13.35'' | ''Added in: 3.13.35'' | ||
Description: Unbind ownership of a FOCL | Description: Unbind ownership of a FOCL | ||
Required parameters: | |||
fiber_id - id of the FOCL | |||
==== unbind_node ==== | ==== unbind_node ==== | ||
''Added in: 3.13.35'' | ''Added in: 3.13.35'' | ||
Description: | Description: Remove the owner from an infrastructure facility | ||
Required parameters: | |||
node_id - id of the infrastructure object | node_id - id of the infrastructure object | ||
Текущая версия от 11:38, 10 мая 2026
Section API ERP "UserSide"
Purpose: Actions with owners
Additional parameters: action - request subcategory (possible value: see below)
Subcategories
add
Modified in: 3.16.1 (added parameters address, ceo_name, phone, agreement_number, agreement_date, requisites, comment, cost)
Added in: 3.13.26
Description: Addition Required parameters: name - name Optional parameters: comment - notes cost - amount of payment to the owner
bind_building
Added in: 3.13.15
Description: Specifies the owner for the building Required parameters: owner_id - owner id building_id - building id
bind_fiber
Added in: 3.13.35
Description: Specifies the owner for the FOCL Required parameters: owner_id - owner id fiber_id - id of FOCL
bind_node
Added in: 3.13.35
Description: Specifies the owner for the infrastructure object Required parameters: owner_id - owner id node_id - id of infrastructure object
delete
Added in: 3.13.26
Description: Delete object Required parameters: id - id of the object
edit
Modified in: 3.16.1 (added parameters address, ceo_name, phone, agreement_number, agreement_date, requisites, comment, cost)
Added in: 3.13.26
Description: Edit object Required parameters: id - id of the object Optional parameters: name - name comment - notes cost - amount of payment to the owner
get
Added in: 3.12.10
Description: List of objects Optional parameters: id - list of object id (can be comma separated)
unbind_building
Added in: 3.13.15
Description: Remove the owner from a building Required parameters: owner_id - owner id building_id - building id
unbind_fiber
Added in: 3.13.35
Description: Unbind ownership of a FOCL Required parameters: fiber_id - id of the FOCL
unbind_node
Added in: 3.13.35
Description: Remove the owner from an infrastructure facility Required parameters: node_id - id of the infrastructure object