DescriptionCommand Detail
GET, POSTHTTP Methods
Read, WriteAccess Type
User, AdminAccess Level
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"
GET Syntax
POST "https://192.168.0.1/ws/v2/service_cfg/user?
lossofinput=No%20Output"
POST Syntax
URI Parameters: (extension to the Command URL separated by /): N/A
All of the URI Arguments below apply to both GET and POST. In-depth CURL examples can be
seen below following the table.
Note
Table 214: URI Query/Set Arguments (possible fields and values preceded by ? and separated by &)
DescriptionURI Argument
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"
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:
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
257
API Definitions
User Configuration Command