List Device Instances
get device instance list.
Parameters
Parameter | Description |
---|---|
Device Datasource ID | The device-datasource ID. |
Device ID | Your device ID. |
Fields | A comma delimited list of fields. Filters the response to only include the listed fields for each object. |
Filter | Filters the response according to the operator and value specified. Note that you can use * to match on more than one character.You can use the ‘.’ character to filter values within an object (e.g. custom properties), and multiple filters can be separated by a comma.Operators include:Greater than or equals: >:Less than or equals: <:Greater than: >Less than: <Does not equal: !:Equals: :Includes: ~Does not include: !~For example, filter=id>100 will return the results where the resource id is greater than 100. |
Offset | The number of results to offset the displayed results by. |
Size | The number of results to display. Max is 1000. |
Example Output
{
"total": 0,
"searchId": "string",
"items": [
{
"isUNCInstance": true,
"stopMonitoring": true,
"deviceDataSourceId": 0,
"displayName": "Ping",
"wildValue2": "1",
"groupId": 211,
"description": "Ping Test",
"collectorId": 0,
"disableAlerting": true,
"deviceId": 0,
"deviceDisplayName": "string",
"systemProperties": [
{
"name": "addr",
"value": "127.0.0.1"
}
],
"autoProperties": [
{
"name": "addr",
"value": "127.0.0.1"
}
],
"dataSourceId": 0,
"groupName": "string",
"customProperties": [
{
"name": "addr",
"value": "127.0.0.1"
}
],
"lockDescription": true,
"name": "string",
"id": 0,
"wildValue": "1",
"dataSourceType": "string"
}
]
}
Workflow Library Example
List Device Instances with Logicmonitor and Send Results Via Email
Preview this Workflow on desktop