Description
Output Field
Clear Fault History
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
Description
Command Detail
https://192.168.0.1/ws/v2/status/faults/summary
Command URL
Returns all faults status summary information.
Command Information
GET
HTTP Method
Read
Access Type
User, Admin
Access Level
GET "https://192.168.0.1/ws/v2/status/faults"
Syntax
URI Parameters (extension to the Command URL separated by /): N/A
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
119
API Definitions
Alarms and Warnings