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

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


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

Версия от 08:28, 10 мая 2026

en | uk | ru

Section API ERP "UserSide"

Purpose: Action with coverage maps

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

Subcategories

add_label

Added in: 3.19beta1

Description: Add labelling
Obligatory parameters:
 lat - latitude
 lon - longitude
 text - text of inscription

add_poly

Added in: 3.18beta1

Description: Add polygon
Obligatory parameters:
 coord - coordinates (comma separated)
 name - name
Optional parameters:
 color - HTML color of the polygon

check_entry_point_in_polygon

Added in: 3.14.69

Description: List of polygons that include a point
Obligatory parameters:
 lat - latitude of the point
 lon - longitude of the point

edit_label

Added in: 3.19beta1

Description: Edit label
Obligatory parameters:
 id - id of the object
Optional parameters:
 lat - latitude
 lon - longitude
 text - text of the inscription

edit_poly

Added in: 3.19beta1

Description: Edit polygon
Obligatory parameters:
 id - id of the object
Optional parameters:
 coord - coordinates (comma separated)
 name - name
 color - HTML color of the polygon

get

Added in: 3.12.10

Description: List of objects
Optional parameters:
 id - list of object IDs (comma separated)

get_poly

Added in: 3.12.80

Description: List of polygons
Optional parameters:
 id - list of object IDs (comma separated)

map_object_facilities_inside

Added in: 3.19.4

Description: Retrieve the list of objects located inside an object on the map (for example inside a polygon)
Required parameters:
 id - object id

map_object_mark_add

Added in: 3.19.3

Description: Add a mark to an object on the map
Required parameters:
 id - object id
 mark_id - mark id

map_object_mark_delete

Added in: 3.19.3

Description: Delete a mark from an object on the map
Required parameters:
 id - object id
 mark_id - mark id