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

Материал из WiKi - UserSide
(Новая страница: «en | ru Section '''API''' ERP "UserSide"»)
 
Нет описания правки
Строка 2: Строка 2:


Section '''[[API_EN|API]]''' ERP "UserSide"
Section '''[[API_EN|API]]''' ERP "UserSide"
Purpose: Action with coverage maps
Optional parameters:
action - request subcategory ''(possible value: see below)''
== Subcategories ==
==== add_poly ====
''Added in: 3.18beta1''
Description: Add polygon
Obligatory parameters:
  coord - coordinates ''(comma separated)''
  name - name
Optional parameters:
  colour - HTML colour 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
==== 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)''

Версия от 14:04, 23 августа 2023

en | ru

Section API ERP "UserSide"

Purpose: Action with coverage maps

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

Subcategories

add_poly

Added in: 3.18beta1

Description: Add polygon
Obligatory parameters:
 coord - coordinates (comma separated)
 name - name
Optional parameters:
 colour - HTML colour 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

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)