API Definitions
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 Program Entry ID 1 to ON.
curl -X POST -i
"https://192.168.0.1/ws/v2/service_cfg/ca/pe?peid=1&cidecrypt=ON"
GET Examples:
Example 2: Retrieve the PE 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/pe"
If successful, the following is an example of the return body:
{
"ca": {
}
}
CICOMP CA Configuration Command
Table 205: Command Details
Command Detail
Command URL
Command Information
HTTP Methods
Access Type
Access Level
-H "Accept: application/json" -H "X-SESSION-ID:$token" -k
"pe": [
{
"peid": "1",
"cidecrypt": "ON",
"cislot": "TOP",
"cipe1slot": "TOP"
},
...
{
"peid": "16",
"cidecrypt": "ON",
"cislot": "TOP",
"cipe1slot": "AUTO"
}
]
Description
https://192.168.0.1/ws/v2/service_cfg/ca/cicomp
Allows set or get of Conditional Access CI Component level
configuration.
GET, POST
Read, Write
User, Admin
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
CA (Conditonal Access) Configuration Commands
241