Getting AppliesToFunction Details
Last updated on 07 October, 2024You 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}
.
Parameter | Type | Description |
fields | String | The 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 |
size | Integer | Indicates 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 |
offset | Integer | Indicates the number of results to offset the displayed results. By default, offset is set to 0. Example – /setting/functions?offset=2 |
filter | String | The response is filtered according to the operator and specified value that is, filter=property:value Operators include:
/setting/functions?filter=system.ips!=145.143.100 |
Getting Details of Specific AppliesToFunction
URI: GET /setting/functions/{id}
Parameter | Type | Description |
id | Integer | (Mandatory) The Id of the AppliesToFunction whose details you want to get. |