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 #204 background imageLoading...
Page #204 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 returns the full MOIP 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/moip"
If successful, the return body will be (please note this is a snippet of the full return body):
"output": {
"moip": {
"mode": "No Output",
"dscrmode": "Descrambled",
"ratemode": "User",
"rate": "68.5",
"insertnul": "Yes",
"pe": [
{
"peid": "1",
"action": "Drop",
"pmtpid": "8191",
"outchan": "0"
},
{
"peid": "2",
"action": "Drop",
"pmtpid": "8191",
"outchan": "0"
}
]
}
}
This is the same example being executed on a NTC MS 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/moip1"
Example 3: Get specific MOIP 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 MOIP Output setting of the
descrambled mode (dscrmode) and Output Mode (mode) parameters.
For GET arguments do not supply values.Note
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/output/moip?&dscrmode&mode"
If successful, the return body will be:
"output": {
"moip": {
"dscrmode": "Descrambled",
"mode": "No Output"
}
}
}
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
192
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