action truesight_reset {
label: "Resets the Error Count parameter."
description: "Sets the Error Count parameter to 0.
You need to provide the Device ID, the Monitor Class and the Monitor SID parameters:
- Use the /hardware/devices service in the Device section to retrieve the Device ID of any device.
- Use the /hardware/device-monitors/{deviceId} service in the Device section to retrieve the Monitor Class and the Monitor SID for a device.
(Example:\"path\":\"/MS_HW_MAIN/10025150\" where MS_HW_MAIN is the Monitor Class and 10025150 is the monitorSid)."
provider: truesight
method: POST
path: "/hardware/actions/{deviceId}/reset-error-count"
encoding: json
input: {
type: "object"
properties: {
deviceId: {
type: "integer"
format: "int32"
}
monitorClass: {
type: "string"
}
monitorSid: {
type: "string"
}
}
required: ["deviceId", "monitorClass", "monitorSid"]
additionalProperties: false
}
output: {
type: "object"
additionalProperties: true
}
}