Transcoding Configuration Commands
Example 2: Set various CICOMP 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. The following example sets the mode for program entry 1 to
STREAM.
curl -X POST -i
"https://192.168.0.1/ws/v2/service_cfg/ca/cicomp?idx=5&peid=1&mode=STREAM"
Expected response if CA card is not installed in NCI slot:
{
}
Expected response if CA card is installed in NCI slot:
{
}
Example 3: Retrieve the CICOMP Settings for a specific UIC Table row (idx)
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.
Here is an example for row idx=5:
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/ca/cicomp?idx=5"
If successful, the return body will look like:
{
}
Transcoding Configuration Commands
This section lists the transcoding configuration commands.
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
244
-H "Accept: application/json" -H "X-SESSION-ID:$token" -k
"response": {
"code": "10",
"result": "failure",
"message": "CI Validation Failed - NCI Required"
}
"response": {
"code": "10",
"result": "success",
"message": ""
}
"ca": {
"cicomp": {
"idx": "5",
"peid": "1",
"mode": "STREAM",
"pid": "8192",
"strmcat": "USER",
"strmval": "0",
"strminst": "1",
"oper": "Inactive"
}
}
API Definitions