GET Examples
Example 1: Retrieve the PE1 channel and rowstatus of D/R backup 1
The following example assumes that the user has successfully logged on to the unit, received the session ID,
and set it to a variable token. In addition, it is assumed that the IP address of the unit is 192.168.0.1. You must
change the IP address to the specific unit IP in use.
curl -X GET -i
-H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/status/dr/channels?peid=PE1&csirec=1&bkpchan&rowstatus"
If successful, the return body will look:
"dr": {
"channels": {
"peid": "PE1",
"csirec": "1",
"bkpchan": "201",
"rowstatus": "Yes"
}
}
Disaster Recovery (D/R) Origin Tuning Status Command
Table 128: Command Details
Description
Command Detail
https://192.168.0.1/ws/v2/status/dr/origtuning
Command URL
Get of D/R origin tuning.
Command Information
GET
HTTP Method
Read
Access Type
User, Admin
Access Level
All D/R origin tuning status:
GET "https://192.168.0.1/ws/v2/status/dr/origtuning"
Syntax
URI Parameters (extension to the Command URL separated by /): N/A
Table 129: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &):
Description
URI Argument
D/R origin tuning RF input
Type: String
Values: "RF1", "RF2", "RF3", "RF4"
input
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
132
API Definitions
Disaster Recovery (D/R) Status Command