Cisco D9800 Reference Manual page 271

Network transport receiver
Hide thumbs Also See for D9800:
Table of Contents

Advertisement

API Definitions
Command Detail
POST Syntax
Setting Parameters using
command line arguments is
limited to maximum of 26
arguments after the ?.
URI Parameters (extension to the Command URL separated by /): N/A
Note
Table 216: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
URI Argument
enable
siglock
siglost
verify
POST Examples
Example 1: Set various D/R global Setting Arguments
The following example assumes that the user has successfully logged onto 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. This example set the commode to Std.
curl -X POST -i
"https://192.168.0.1/ws/v2/service_cfg/dr/global?&siglock=40"
If successful, the return body will be:
"response": {
}
Description
For example,
POST "https://192.168.0.1/ws/v2/service_cfg/dr/global?enable=No"
For POST, the value for the argument seen below must be specified, but for GET, there are no values
for arguments.
-H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"code": "10",
"result": "success",
"message": ""
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
Description
Enable or Disable D/R Feature
Type: String
Value: "Yes", "No"
Amount of time to wait before declaring signal is locked
Type: Integer
Value: 5 ... 255 c
Amount of time to wait before declaring signal is lost
Type: Integer
Value: 5 ... 2160000
Amount of time allowed for verification to complete
Type: Integer
Value: 10 ... 255
Disaster Recovery (D/R) Configuration API
259

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents