Cisco D9800 Reference Manual page 160

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

Advertisement

Input Configuration Command
change the IP to the specific unit IP in use. This example changes several ASI port 1 tuning parameters. It
will set the acqmode to Auto, sdten to Yes, paten to Yes and niten to No.
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/asi?port=1&sdten=Yes&acqmode=Auto&paten=Yes&niten=No"
If successful, the return body will be:
"response": {
}
GET Examples:
Example 3: GET the full ASI tuning values for a specific ASI port
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 retrieves all of the ASI tuning settings for ASI port
1.
The user must always specify the port number in the URI.
Note
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/asi?port=1"
If successful, the return body will be:
"input": {
}
Example 4: GET a specific ASI tuning value for a specific ASI port
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 retrieves one specific parameter value from the ASI
tuning settings for ASI port 1.
The user must always specify the port number in the URI followed by the URI argument the user wishes
Note
to retrieve. This example retrieves the acqmode from ASI Port 1.
Note
In GET URIs only, the port argument must contain a value for the port, all other arguments do not contain
values.
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/asi?port=1&acqmode"
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
148
"code": "10",
"result": "success",
"message": ""
"asi": {
"port": "1",
"act": "No",
"acqmode": "Auto",
"netid": "1",
"freqmode": "NIT",
"svclstmode": "Rigorous",
"niten": "No",
"sdten": "Yes",
"paten": "Yes"
}
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents