API setting EN: различия между версиями
IronBot (обсуждение | вклад) (Fix Ukrainian API localization) |
|||
| (не показано 6 промежуточных версий 2 участников) | |||
| Строка 1: | Строка 1: | ||
[[ | '''en''' | [[API_setting_UK|uk]] | [[API setting|ru]] | ||
Section '''[[API_EN|API]]''' ERP "UserSide" | Section '''[[API_EN|API]]''' ERP "UserSide" | ||
Purpose: Settings | |||
Optional parameters: | |||
action - request subcategory ''(possible value: see below)'' | |||
== Subcategories == | |||
==== get ==== | |||
''Added in: 3.12.13'' | |||
Description: Get values of settings parameters | |||
Required parameters: | |||
id - ID of setting parameters ''(can be comma separated)'' | |||
==== mark_show ==== | |||
''Modified in: 3.17dev1 (added object_type parameter)'' | |||
Description: Output a list of marks/layers for objects | |||
Optional parameters: | |||
object_type - type of objects [customer] | |||
==== mark_add ==== | |||
Description: Add mark/layer for equipment/objects | |||
Required parameters: | |||
name - name | |||
Optional parameters: | |||
color - color | |||
line_type - line type | |||
is_on_map_by_default - default flag of displaying on the map | |||
type_array - array with object types for labels | |||
==== mark_edit ==== | |||
Description: Edit mark | |||
Required parameters: | |||
id - ID of the mark | |||
Optional parameters: | |||
name - name | |||
+ all listed in mark_add | |||
==== mark_delete ==== | |||
Description: Delete mark | |||
Required parameters: | |||
id - ID of the mark | |||
Текущая версия от 11:38, 10 мая 2026
Section API ERP "UserSide"
Purpose: Settings
Optional parameters: action - request subcategory (possible value: see below)
Subcategories
get
Added in: 3.12.13
Description: Get values of settings parameters Required parameters: id - ID of setting parameters (can be comma separated)
mark_show
Modified in: 3.17dev1 (added object_type parameter)
Description: Output a list of marks/layers for objects Optional parameters: object_type - type of objects [customer]
mark_add
Description: Add mark/layer for equipment/objects Required parameters: name - name Optional parameters: color - color line_type - line type is_on_map_by_default - default flag of displaying on the map type_array - array with object types for labels
mark_edit
Description: Edit mark Required parameters: id - ID of the mark Optional parameters: name - name + all listed in mark_add
mark_delete
Description: Delete mark Required parameters: id - ID of the mark