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 #267 background imageLoading...
Page #267 background image
"message": ""
}
Example 2: Changing multiple SUBT Transcoding Parameters
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 several SUBT transcoder 5
parameters. It will set the opmode to "Imitext", langmenu to "PMT Order" and pmtorder to "Second".
curl -X POST -i -H "Accept: application/json" -H
"X-SESSION-ID: $token" -k "https://192.168.0.1/ws/v2/service_cfg/transcode/
subt?index=5&opmode=Imitext&langmenu=PMT%20Order&pmtorder=Second"
If successful, the return body will be:
"response": {
"code": "10",
"result": "success",
"message": ""
}
GET Examples:
Example 3: GET the full SUBT transcoder values for a specific transcoder
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 retrieves all of the SUBT transcoder settings
for transcoder 5.
The user must specify the index 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/transcode/
subt?index=5"
If successful, the following is an example of the return body:
{
"transcode": {
"subt": {
"index": "5",
"opmode": "Imitext",
"langmenu": "PMT Order",
"pmtorder": "Second",
"langlist": "eng",
"langentry": "eng",
"imitext": "Standard",
"foregndcol": "Auto",
"backgndcol": "Auto"
}
}
}
Example 4: GET a specific SUBT transcode value for a specific transcoder
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 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
to retrieve. This example retrieves the langmenu from transcoder 5.
Note
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
255
API Definitions
Transcoding Configuration Commands

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