Description
URI Argument
User Stream Type Value
Type: Integer
Value: 0..255
strmval
User Stream Instance
Type: Integer
Value: 1..64
strminst
Component operation
Type: String
Value: "Add", "Delete", "Edit"
oper
GET Examples:
Example 1: Retrieve all the CICOMP 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.
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"
If successful, the following is an example of the return body:
{
"ca": {
"cicomp": [
{
"idx": "1",
"peid": "1",
"mode": "PID",
"pid": "8192",
"strmcat": "USER",
"strmval": "0",
"strminst": "1",
"oper": "Inactive"
},
…
{
"idx": "64",
"peid": "1",
"mode": "PID",
"pid": "8192",
"strmcat": "USER",
"strmval": "0",
"strminst": "1",
"oper": "Inactive"
}
]
}
}
POST Examples:
POST requires previous knowledge of target row (idx
–
key) from GET command.
Note
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
243
API Definitions
CA (Conditonal Access) Configuration Commands