API owner EN: различия между версиями

Материал из WiKi - UserSide
(Add Ukrainian API docs and trilingual API links)
(Fix Ukrainian API localization)
 
Строка 15: Строка 15:
''Added in: 3.13.26''
''Added in: 3.13.26''
  Description: Addition  
  Description: Addition  
  Obligatory parameters:
  Required parameters:
   name - name
   name - name
  Optional parameters:
  Optional parameters:
Строка 24: Строка 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
  Obligatory parameters:
  Required parameters:
   owner_id - owner id
   owner_id - owner id
   building_id - building id
   building_id - building id
Строка 31: Строка 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
  Obligatory parameters:
  Required parameters:
   owner_id - owner id
   owner_id - owner id
   fiber_id - id of FOCL
   fiber_id - id of FOCL
Строка 38: Строка 38:
''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
  Obligatory parameters:
  Required parameters:
   owner_id - owner id
   owner_id - owner id
   node_id - id of infrastructure object
   node_id - id of infrastructure object
Строка 45: Строка 45:
''Added in: 3.13.26''
''Added in: 3.13.26''
  Description: Delete object
  Description: Delete object
  Obligatory parameters:
  Required parameters:
   id - id of the object
   id - id of the object


Строка 53: Строка 53:
''Added in: 3.13.26''
''Added in: 3.13.26''
  Description: Edit object
  Description: Edit object
  Obligatory parameters:
  Required parameters:
   id - id of the object
   id - id of the object
  Optional parameters:
  Optional parameters:
Строка 68: Строка 68:
==== unbind_building ====
==== unbind_building ====
''Added in: 3.13.15''
''Added in: 3.13.15''
  Description: Exclude the owner of a building
  Description: Remove the owner from a building
  Obligatory parameters:
  Required parameters:
   owner_id - owner id
   owner_id - owner id
   building_id - building id
   building_id - building id
Строка 76: Строка 76:
''Added in: 3.13.35''
''Added in: 3.13.35''
  Description: Unbind ownership of a FOCL
  Description: Unbind ownership of a FOCL
  Obligatory parameters:
  Required parameters:
   fiber_id - id of the FOCL
   fiber_id - id of the FOCL


==== unbind_node ====
==== unbind_node ====
''Added in: 3.13.35''
''Added in: 3.13.35''
  Description: Exclusion of the owner of the infrastructure object
  Description: Remove the owner from an infrastructure facility
  Obligatory parameters:
  Required parameters:
   node_id - id of the infrastructure object
   node_id - id of the infrastructure object

Текущая версия от 11:38, 10 мая 2026

en | uk | ru

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