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

Материал из WiKi - UserSide
(Normalize API language switcher)
(Add Ukrainian API docs and trilingual API links)
 
Строка 1: Строка 1:
[[API_cable_route|ru]] | '''en'''
'''en''' | [[API_cable_route_UK|uk]] | [[API cable_route|ru]]


Section '''[[API_EN|API]]''' ERP "UserSide"
Section '''[[API_EN|API]]''' ERP "UserSide"

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

en | uk | ru

Section API ERP "UserSide"

Purpose: Cable routes and ducts

Additional parameters:
action - request subcategory (possible value: see below)

ID types of initial and final objects of the trace:

1 - user
17 - manhole (before version 3.17)
18 - pole (before version 3.17)
19 - building
22 - communication installation

Subcategories

add_route

Added in: 3.13.7

Description: Adding a cable route
Obligatory parameters:
 object_first_type - type of the initial object
 object_first_id - id of the initial object
 object_second_type - end object type
 object_second_id - id of the final object
Additional parameters:
 name - name
 comment - note
 length - length
 date_install - date of actual installation

add_duct

Added in: 3.13.7

Description: Adds a cable channel
Obligatory parameters:
 cable_route_id - id of the cable route
Optional parameters:
 number - number
 comment - note
 diameter - diameter
 date_install - date of actual installation

get_route

Added in: 3.13.7

Description: List of cable routes
Obligatory parameters:
 None
Optional parameters:
 id - id of objects (can be comma separated)

get_duct

Added in: 3.13.7

Description: List of cable channels
Obligatory parameters:
 None
Optional parameters:
 id - id of objects (can be comma separated)
 cable_route_id - id of cable route (can be comma separated)