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

Материал из WiKi - UserSide
(Новая страница: «en | ru Section '''API''' ERP "UserSide"»)
 
(Fix Ukrainian API localization)
 
(не показано 6 промежуточных версий 2 участников)
Строка 1: Строка 1:
[[API_owner_EN|en]] | [[API_owner|ru]]
'''en''' | [[API_owner_UK|uk]] | [[API owner|ru]]


Section '''[[API_EN|API]]''' ERP "UserSide"
Section '''[[API_EN|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

Текущая версия от 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