RPC API: Get SDTs
Note that LogicMonitor does have an available REST API equivalent for this API call.
Scheduled Down Time (SDT) allows you to suppress alert notifications for a specific time period: daily, weekly, or monthly. LogicMonitor’s RPC API allows you to programmatically manage SDTs for:
- Devices
- Device Groups
- Device Datasources
- Device Datasource Instances
- Device Datasource Instance Groups
- Collectors
You can use getSDT to view the details for an SDT.
Note: As with all of our API calls, authentication is required.
getSDTs
Request Parameters: You can include the following as query parameters in a getSDTs request:
All outputs will be in the format: { [status], [data], [errmsg] }, where status is the status of the response, errmsg is the error message associated with the response and the data object includes the following:
Example
Get all SDTs for a specific device: