Get Device Group Properties
You can use LogicMonitor’s REST API to get all properties for a device, whether they are custom or system, inherited or not. There are two ways to get property information:
Note: As with all of our API calls, authentication is required.
Get all device group properties
HTTP Method: GET
Resource URI: /device/groups/{groupID}/properties
Where groupID is the ID of the group whose property you’d like to get, which you can get from the groups resource.
Resource Properties:
Get information about a particular device property
HTTP Method: GET
Resource URI: /device/groups/{groupID}/properties/{propertyName}
Where groupID is the ID of the group whose property you’d like to get, which you can get from the groups resource. propertyName is the name of the property you’d like to gert information for, which you can get from getting all device group properties.
Example 1
The following Python script gets all properties for group 34:
Example 2
The following Python script gets information about the property with the name ‘proddc’: