Cisco D9800 Reference Manual page 226

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

Advertisement

Decode Configuration Commands
URI Argument
Right
pmtsrc
ddpmode
langmenu
lang
POST Examples:
Example 1: Set various Audio Setting Arguments
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 sets the ddpmode to Pass.
The device index must be specified in the URI. For this example the ddpmode will be set for audio device
Note
1.
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/decode/audio?ddpmode=Pass&device=1"
If successful, the return body will look like:
"response": {
}
GET Examples:
Example 2: Retrieve the full Audio Settings for a specific device
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
214
Description
right volume
Type : Float
Value: -6.0 .. 6.0
PMT Audio Source
Type: String
Value: "AUD1", "AUD2", ....... "AUD64"
Dolby Digital Mode
Type: String
Value: "Trans", "Pass"
Language Selection Menu option
Type: String
Value: "Language List", "Language Entry", "PMT Order"
Language Value.
Type: String
Value: Any valid 3 character language code, for example, "eng"
"code": "10",
"result": "success",
"message": ""
API Definitions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents