API map EN: различия между версиями
IronBot (обсуждение | вклад) (Fix Ukrainian API localization) |
IronBot (обсуждение | вклад) ([IronBot] Sync localization from RU) |
||
| Строка 21: | Строка 21: | ||
==== add_poly ==== | ==== add_poly ==== | ||
''Updated in: 3.21.62 (added border_color and description parameters)'' | |||
''Added in: 3.18beta1'' | ''Added in: 3.18beta1'' | ||
| Строка 27: | Строка 29: | ||
Required parameters: | Required parameters: | ||
coord - coordinates ''(comma separated)'' | coord - coordinates ''(comma separated)'' | ||
name - name | |||
Optional parameters: | Optional parameters: | ||
border_color - HTML color of the border | |||
color - HTML color of the polygon | color - HTML color of the polygon | ||
description - notes | |||
==== check_entry_point_in_polygon ==== | ==== check_entry_point_in_polygon ==== | ||
| Строка 37: | Строка 41: | ||
lat - latitude of the point | lat - latitude of the point | ||
lon - longitude of the point | lon - longitude of the point | ||
==== delete_poly ==== | |||
''Added in: 3.21.62'' | |||
Description: Delete a polygon | |||
Required parameters: | |||
id - object ID | |||
==== edit_label ==== | ==== edit_label ==== | ||
| Строка 51: | Строка 63: | ||
==== edit_poly ==== | ==== edit_poly ==== | ||
''Updated in: 3.21.62 (added border_color and description parameters)'' | |||
''Added in: 3.19beta1'' | ''Added in: 3.19beta1'' | ||
| Строка 56: | Строка 70: | ||
Description: Edit polygon | Description: Edit polygon | ||
Required parameters: | Required parameters: | ||
id - id of the object | |||
Optional parameters: | Optional parameters: | ||
border_color - HTML color of the border | |||
color - HTML color of the polygon | |||
coord - coordinates ''(comma separated)'' | coord - coordinates ''(comma separated)'' | ||
description - notes | |||
name - name | name - name | ||
==== get ==== | ==== get ==== | ||
Текущая версия от 14:52, 25 сентября 2026
Section API ERP "UserSide"
Purpose: Coverage map management
Optional parameters: action - request subcategory (possible value: see below)
Subcategories
add_label
Added in: 3.19beta1
Description: Add labelling Required parameters: lat - latitude lon - longitude text - text of inscription
add_poly
Updated in: 3.21.62 (added border_color and description parameters)
Added in: 3.18beta1
Description: Add polygon Required parameters: coord - coordinates (comma separated) name - name Optional parameters: border_color - HTML color of the border color - HTML color of the polygon description - notes
check_entry_point_in_polygon
Added in: 3.14.69
Description: List of polygons that include a point Required parameters: lat - latitude of the point lon - longitude of the point
delete_poly
Added in: 3.21.62
Description: Delete a polygon Required parameters: id - object ID
edit_label
Added in: 3.19beta1
Description: Edit label Required parameters: id - id of the object Optional parameters: lat - latitude lon - longitude text - text of the inscription
edit_poly
Updated in: 3.21.62 (added border_color and description parameters)
Added in: 3.19beta1
Description: Edit polygon Required parameters: id - id of the object Optional parameters: border_color - HTML color of the border color - HTML color of the polygon coord - coordinates (comma separated) description - notes name - name
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