The following example assumes that the user has successfully logged on to the unit, received the session ID,
and set it to the variable token. In addition, it is assumed that the IP of the unit is 192.168.0.1. You must
change the IP 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/origtuning"
If successful, the return body will be:
"dr": {
"origtuning": {
"fec": "AUTO",
"ewflag": "East",
"dnlkfreq": "12.03",
"input": "RF1",
"mod": "8PSK DVB-S2",
"netid": "1",
"orbpos": "120.0",
"pol": "Horiz",
"symrate": "30.0",
"rolloff": ".35"
}
}
Disaster Recover (D/R) Origin Channels Status Command
Table 130: Command Details
Description
Command Detail
https://192.168.0.1/ws/v2/status/dr/origchans
Command URL
Allows get of D/R origin channel status.
Command Information
GET
HTTP Method
Read
Access Type
User, Admin
Access Level
All D/R origin channels Status:
GET "https://192.168.0.1/ws/v2/status/dr/origchans"
Single D/R origin channels status, for example,
GET "https://192.168.0.1/ws/v2/status/dr/origchans?peid=PE1&origchan"
Syntax
URI Parameters (extension to the Command URL separated by /): N/A
Table 131: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &):
Description
URI Argument
D/R origin channel Program Entry ID
Type: String
Values: "PE1"
…
"PE16"
peid (Key)
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
134
API Definitions
Disaster Recovery (D/R) Status Command