Cisco D9800 Reference Manual page 269

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

Advertisement

API Definitions
Command Detail
HTTP Methods
Access Type
Access Level
GET Syntax
POST Syntax
URI Parameters: (extension to the Command URL separated by /): N/A
Note
Table 214: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
URI Argument
lossofinput
POST Examples:
Example 1: Changing one user parameter
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. The following example changes the lossofinput parameter to "No
Output".
These elements do not currently support the use of JSON.
Note
curl -k -X POST -H "X-SESSION-ID:$token"
"https://192.168.0.1/ws/v2/service_cfg/user?lossofinput=No%20Output"
If successful, the following is an example of the return body:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<response><code>10</code><result>success</result><message></message></response>
GET Examples:
Description
GET, POST
Read, Write
User, Admin
All user configuration settings:
GET https://192.168.0.1/ws/v2/service_cfg/user
Single user configuration setting:
GET "https://192.168.0.1/ws/v2/service_cfg/user?lossofinput"
POST "https://192.168.0.1/ws/v2/service_cfg/user?
lossofinput=No%20Output"
All of the URI Arguments below apply to both GET and POST. In-depth CURL examples can be
seen below following the table.
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
User Configuration Command
Description
Select whether outputs should transmit black or not
transmit any data when there is a loss of input
Type: String
Value: "Black Output", "No Output"
257

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents