Zabbix Documentation 5.0

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

User Tools

Site Tools


manual:api:reference:map:create

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:api:reference:map:create [2019/10/07 06:35]
127.0.0.1 external edit
manual:api:reference:map:create [2020/05/05 11:33] (current)
martins-v frontends/php -> ui (ZBX-17667)
Line 14: Line 14:
  
 ^ Parameter ^ Type ^ Description ^ ^ Parameter ^ Type ^ Description ^
-| links | array | Map links to be created on the map. | +| links | array | Map [[:​manual/​api/​reference/​map/​object#​map_link|links]] to be created on the map. | 
-| selements | array | Map elements to be created on the map. | +| selements | array | Map [[:​manual/​api/​reference/​map/​object#​map_element|elements]] to be created on the map. | 
-| urls | array | Map URLs to be created on the map. | +| urls | array | Map [[:​manual/​api/​reference/​map/​object#​map_url|URLs]] to be created on the map. | 
-| users | array | Map user shares to be created on the map. | +| users | array | Map [[:​manual/​api/​reference/​map/​object#​map_user|user]] shares to be created on the map. | 
-| userGroups | array | Map user group shares to be created on the map. | +| userGroups | array | Map [[:​manual/​api/​reference/​map/​object#​map_user_group|user group]] shares to be created on the map. | 
-| shapes | array | Map shapes to be created on the map. | +| shapes | array | Map [[:​manual/​api/​reference/​map/​object#​map_shapes|shapes]] to be created on the map. | 
-| lines | array | Map lines to be created on the map. |+| lines | array | Map [[:​manual/​api/​reference/​map/​object#​map_lines|lines]] to be created on the map. |
  
-<note tip>To create map links you'll need to set a map elements ​''​selementid''​ to an arbitrary value and then use this value to reference this element in the links ''​selementid1''​ or ''​selementid2''​ properties. When the element is created, this value will be replaced with the correct ID generated by Zabbix. [[create#​create_a_host_map|See example.]]</​note>​+<note tip>To create map links you'll need to set a map element ​''​selementid''​ to an arbitrary value and then use this value to reference this element in the links ''​selementid1''​ or ''​selementid2''​ properties. When the element is created, this value will be replaced with the correct ID generated by Zabbix. [[create#​create_a_host_map|See example.]]</​note>​
 ==== Return values ==== ==== Return values ====
  
Line 301: Line 301:
 ==== Source ==== ==== Source ====
  
-CMap::​create() in //frontends/​php/​include/​classes/​api/​services/​CMap.php//​.+CMap::​create() in //ui/​include/​classes/​api/​services/​CMap.php//​.