Zabbix Documentation 5.0

3.04.04.45.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:api:reference:valuemap:get

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:valuemap:get [2017/07/26 08:27]
sasha dropped support of non-boolean values for countOutput, excludeSearch, preservekeys and startSearch flags
manual:api:reference:valuemap:get [2020/05/05 10:02] (current)
martins-v frontends/php -> ui (ZBX-17667)
Line 16: Line 16:
 | valuemapids | string/​array | Return only value maps with the given IDs. | | valuemapids | string/​array | Return only value maps with the given IDs. |
 ^ ||| ^ |||
-| selectMappings | query | Return the value mappings for current value map in the ''​mappings''​ property. |+| selectMappings | query | Return the value mappings for current value map in the ''​[[:​manual/​api/​reference/​valuemap/​object#​value_mappings|mappings]]''​ property. \\ \\ Supports ''​count''​. |
 ^ ||| ^ |||
 | sortfield | string/​array | Sort the result by the given properties. \\ \\ Possible values are: ''​valuemapid'',​ ''​name''​. ​ | | sortfield | string/​array | Sort the result by the given properties. \\ \\ Possible values are: ''​valuemapid'',​ ''​name''​. ​ |
Line 44: Line 44:
  
 Request: Request:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 57: Line 57:
  
 Response: Response:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 81: Line 81:
  
 Request: Request:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 96: Line 96:
  
 Response: Response:
-<​code ​js>+<​code ​java>
 { {
     "​jsonrpc":​ "​2.0",​     "​jsonrpc":​ "​2.0",​
Line 141: Line 141:
 ==== Source ==== ==== Source ====
  
-CValueMap::​get() in //frontends/​php/​include/​classes/​api/​services/​CValueMap.php//​.+CValueMap::​get() in //ui/​include/​classes/​api/​services/​CValueMap.php//​.