API Definitions
Output Field
clrhistory
Input example (Clear Alarm Faults):
curl -k -X POST -H "Accept: application/json" -H "X-SESSION-ID: $token"
"https://192.168.0.1/ws/v2/status/faults/actions/clralarms"
Expected output (values are for example purposes only):
<?xml version="1.0" encoding="ISO-8859-1"
?><response><code>10</code><result>success</result><message></message></response>
Input example (Clear Warnings):
curl -k -X POST -H "Accept: application/json" -H "X-SESSION-ID: $token"
"https://192.168.0.1/ws/v2/status/faults/actions/clrwarns"
Expected output (values are for example purposes only):
<?xml version="1.0" encoding="ISO-8859-1"
?><response><code>10</code><result>success</result><message></message></response>
Input example (Clear Fault History):
curl -k -X POST -H "Accept: application/json" -H "X-SESSION-ID: $token"
"https://192.168.0.1/ws/v2/status/faults/actions/clrhistory"
Expected output (values are for example purposes only):
<?xml version="1.0" encoding="ISO-8859-1"
?><response><code>10</code><result>success</result><message></message></response>
Faults Summary Status Command
Table 110: Command Details
Command Detail
Command URL
Command Information
HTTP Method
Access Type
Access Level
Syntax
URI Parameters (extension to the Command URL separated by /): N/A
Description
https://192.168.0.1/ws/v2/status/faults/summary
Returns all faults status summary information.
GET
Read
User, Admin
GET "https://192.168.0.1/ws/v2/status/faults"
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
Description
Clear Fault History
Alarms and Warnings
119