Deleting Datasource Instances

You can use LogicMonitor REST API v3 to delete datasource instances. You must authenticate yourself before making the API request. URI: DELETE /device/devices/{deviceId}/devicedatasources/{hdsId}/instances/{id} Parameter Type Description deviceId Integer (Mandatory) The device ID. hdsId Integer (Mandatory) The device datasource ID. id Integer (Mandatory) The datasource instance ID that you want to delete.

Updating Datasource Instance Details

You can use LogicMonitor REST API v3 to update datasource instance details. You must authenticate yourself before making the API request. URI: PATCH /device/devices/{deviceId}/devicedatasources/{hdsId}/instances/{id} URI: PUT /device/devices/{deviceId}/devicedatasources/{hdsId}/instances/{id} Parameter Type Description deviceId Integer (Mandatory) The device ID. hdsId Integer (Mandatory) The device datasource ID. id Integer (Mandatory) The instance ID that you want to update. opType String Specify the … Continued

Getting Datasource Instance Details

You can use LogicMonitor REST API v3 to get datasource instance details. You must authenticate yourself before making the API request. Common Query Parameters The following query parameters are common to all the GET calls for datasource instances. Parameter Type Description fields String The response is filtered to include only the specified fields for each … Continued

Adding Datasource Instances

You can add datasource instances that do not have Active Discovery enabled. You must authenticate yourself before making the API request. URI: POST /device/devices/{deviceId}/devicedatasources/{hdsId}/instances Parameter Type Description deviceId Integer (Mandatory) The device ID. hdsId Integer (Mandatory) The device datasource ID. isUNCInstance Boolean Indicates if UNC monitoring is enabled for the device. stopMonitoring Boolean Indicates if monitoring is … Continued

Adding Escalation Chain

You can use LogicMonitor REST API v3 to add escalation chain. You must authenticate yourself before making the API request. URI: POST /setting/alert/chains Parameter Type Description throttlingAlerts Integer If enableThrottling is set to true, then throttlingAlerts indicates the maximum number of alerts that can be send during the throttling period.Example – “throttlingAlerts”: 40 enableThrottling Boolean Indicates whether or not throttling (rate limiting) … Continued

Getting Escalation Chain Details

You can use LogicMonitor REST API v3 to get escalation chain details. You must authenticate yourself before making the API request. Getting List of Escalation Chain 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/alert/chains Parameter Type Description fields … Continued

Updating Escalation Chain Details

You can use LogicMonitor REST API v3 to update escalation chain details. You must authenticate yourself before making the API request. URI: PATCH /setting/alert/chains/{id} URI: PUT /setting/alert/chains/{id} Parameter Type Description id Integer (Mandatory) The ID of the escalation chain that you want to update. You can get the ID via a GET request to the escalation chains resource. throttlingAlerts … Continued

Getting Datasource Details

You can use LogicMonitor REST API v3 to get datasource details. You must authenticate yourself before making the API request. Common Query Parameters The following query parameters are common to all GET requests for Datasources APIs.  Parameter Type Description fields String The response is filtered to include only the specified fields for each object. You can provide … Continued

Deleting Datasources

You can use LogicMonitor REST API v3 to delete datasources. You must authenticate yourself before making the API request. URI: DELETE /setting/datasources/{id} Parameter Type Description id Integer (Mandatory) The datasource ID that you want to delete.

Adding Audit Version to Datasource

You can use LogicMonitor REST API v3 to add audit version to a datasource. You must authenticate yourself before making the API request. URI: POST /setting/datasources/{id}/audit Parameter Type Description id Integer (Mandatory) The datasource ID to which you want to add the audit version. version Integer The audit version that you want to add.