Asi Input Configuration Command - Cisco D9800 Reference Manual

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

Advertisement

API Definitions
Example 7: URI Arguments are misspelled or invalid for the command
curl -i -k -H "X-SESSION-ID: $token" -X POST
"https://192.168.0.1/ws/v2/service_cfg/input/rf?port=1&act=Yes&dnlkfreq=1.421&symrate=32&mod=DVBS2"
Expected Output:
<?xml version="1.0" encoding="ISO-8859-1"
?><response><code>10</code><result>failed</result><message>Failed to set item Modulation
value DVBS2</message></response>
Remedy:
Re-check that URI Arguments portion of the command (the part after the ?) is correctly input.
Re-check that the URI Arguments or combinations are valid for the command.
In the above example, DVBS2 should be DVB-S2.
Example 8: URI Parameters and Arguments are valid for the command – in this case POST command:
curl -i -k -H "X-SESSION-ID: $token" -X POST
"https://192.168.0.1/ws/v2/service_cfg/input/rf?port=1&act=Yes&dnlkfreq=3.421&symrate=32&mod=DVB-S"
Expected Output:
<?xml version="1.0" encoding="ISO-8859-1"
?><response><code>10</code><result>success</result><message> </message></response>

ASI Input Configuration Command

Table 136: Command Details
Command Detail
Command URL
Command Information
HTTP Methods
Access Type
Access Level
GET Syntax
POST Syntax
URI Parameters (extension to the Command URL separated by /): N/A
Note
Description
https://192.168.0.1/ws/v2/service_cfg/input/asi
Allows ASI tuning input settings to be read or configured.
GET, POST
Read/Write (with complex input data)
User, Admin
One of the following:
GET "https://192.168.0.1/ws/v2/service_cfg/input/asi", or
GET "https://192.168.0.1/ws/v2/service_cfg/input/asi?
port=[port#]&mip=<mip#>&act"
POST "https://192.168.0.1/ws/v2/service_cfg/input/asi?
port=[port#]&mip=<mip#>..."
Setting Parameters using command line arguments are limited to maximum of 26 arguments after
the ?.
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
Input Configuration Command
145

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents