EasyManuals Logo

Cisco D9800 User Manual

Cisco D9800
294 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #199 background imageLoading...
Page #199 background image
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 changes both the output descrambling mode to
Descrambled and the ratemode to User.
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/output/asi?dscrmode=Descrambled&ratemode=User"
If successful, the return body will be:
"response": {
"code": "10",
"result": "success",
"message": ""
}
This is the same example being executed on a NTC MS unit:
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/output/asi1?dscrmode=Descrambled&ratemode=Auto"
GET Examples:
Example 2: Get full table of ASI Output Settings
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 returns the full ASI Output settings.
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https:// 192.168.0.1/ws/v2/service_cfg/output/asi"
If successful, the return body will be (please note this is a snippet of the full return body):
"output": {
"asi": {
"mode": "No Output",
"dscrmode": "Descrambled",
"ratemode": "User",
"rate": "68.5",
"insertnul": "Yes",
"pe": [
{
"peid": "PE1",
"action": "Drop",
"pmtpid": "8191",
"outchan": "0"
},
{
"peid": "PE2",
"action": "Drop",
"pmtpid": "8191",
"outchan": "0"
}
]
}
}
This is the same example executed on a NTC multi-stream unit:
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https:// 192.168.0.1/ws/v2/service_cfg/output/asi2"
Example 3: Get specific ASI Output Settings
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 returns the specific ASI Output setting of the
descrambled mode (dscrmode) and Output Mode (mode) parameters.
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
187
API Definitions
Output Configuration Command

Table of Contents

Other manuals for Cisco D9800

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco D9800 and is the answer not in the manual?

Cisco D9800 Specifications

General IconGeneral
BrandCisco
ModelD9800
CategoryReceiver
LanguageEnglish

Related product manuals