Getting AppliesToFunction Details

Last updated on 14 September, 2023

You can use LogicMonitor REST API v3 to get AppliesToFunction details. You must authenticate yourself before making the API request.

Getting List of AppliesToFunction

You can include the following query parameters to control the kind of data to include in the response and how it is formatted.

URI: GET /setting/functions

Note: The field installationMetadata returns null for API GET /setting/functions. To view installationMetadata of a specific AppliesTo function, you can use API GET /setting/functions/{id}.

ParameterTypeDescription
fieldsStringThe response is filtered to include only the specified fields for each object. You can provide a list of properties separated by a comma.
Example – /setting/functions?fields=name,code
sizeIntegerIndicates the number of results to display. A maximum of 1000 results can be requested in a GET call. By default, a list of 50 AppliesToFunctions is returned if a value is not provided for this parameter.
Example – /setting/functions?size=5
offsetIntegerIndicates the number of results to offset the displayed results. By default, offset is set to 0.
Example – /setting/functions?offset=2
filterStringThe response is filtered according to the operator and specified value that is, filter=property:value
Operators include:
  • Greater than or equal to >=
  • Less than or equals <=
  • Greater than >
  • Less than <
  • Equal to ==
  • Not equal to !=
  • Regular expression equality (case insensitive) =~
  • Regular expression inequality (case insensitive) !~
  • Logical AND, equivalent to &&: and
  • Logical and, equivalent to and: &&
  • Logical OR, equivalent to ||: or
  • Logical OR, equivalent to or: ||
  • Logical NOT: !
  • Grouping operator: ()
Example – /setting/functions?filter=system.ips!=145.143.100

Getting Details of Specific AppliesToFunction

URI: GET /setting/functions/{id}

ParameterTypeDescription
idInteger(Mandatory) The Id of the AppliesToFunction whose details you want to get.
In This Article