Zabbix Documentation 2.0

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


manual:appendix:api:generic

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
manual:appendix:api:generic [2014/09/26 11:29]
sasha Links adapted because of a move operation
manual:appendix:api:generic [2016/03/03 14:17] (current)
martins-v macros are not expanded before sorting by 'sortfield'
Line 36: Line 36:
 |searchByAny ​ |boolean | If set to ''​true''​ return results that match any of the criteria given in the ''​filter''​ or ''​search''​ parameter instead of all of them.  \\ \\ Default: ''​false''​. | |searchByAny ​ |boolean | If set to ''​true''​ return results that match any of the criteria given in the ''​filter''​ or ''​search''​ parameter instead of all of them.  \\ \\ Default: ''​false''​. |
 |searchWildcardsEnabled ​ |boolean |If set to ''​true''​ enables the use of "​*"​ as a wildcard character in the ''​search''​ parameter. ​ \\ \\ Default: ''​false''​. | |searchWildcardsEnabled ​ |boolean |If set to ''​true''​ enables the use of "​*"​ as a wildcard character in the ''​search''​ parameter. ​ \\ \\ Default: ''​false''​. |
-|sortfield ​ |string/​array |Sort the result by the given properties. Refer to a specific API get method description for a list of properties that can be used for sorting. |+|sortfield ​ |string/​array |Sort the result by the given properties. Refer to a specific API get method description for a list of properties that can be used for sorting. ​Macros are not expanded before sorting.  ​|
 |sortorder ​ |string/​array |Order of sorting. If an array is passed, each value will be matched to the corresponding property given in the ''​sortfield''​ parameter.\\ \\ Possible values are: \\ ''​ASC''​ - ascending; \\ ''​DESC''​ - descending. ​ | |sortorder ​ |string/​array |Order of sorting. If an array is passed, each value will be matched to the corresponding property given in the ''​sortfield''​ parameter.\\ \\ Possible values are: \\ ''​ASC''​ - ascending; \\ ''​DESC''​ - descending. ​ |
 |startSearch ​ |flag |The ''​search''​ parameter will compare the beginning of fields, that is, perform a ''​LIKE "​…%"''​ search instead. ​ | |startSearch ​ |flag |The ''​search''​ parameter will compare the beginning of fields, that is, perform a ''​LIKE "​…%"''​ search instead. ​ |