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 set the bissmode to Mode 1.
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID:$token" -k
"https://192.168.0.1/ws/v2/service_cfg/ca/biss?&bissmode=Mode%201"
If successful, the following is an example of the return body:
"response": {
"code": "10",
"result": "success",
"message": ""
}
GET Examples:
Example 2: Retrieve the PowerVu CA 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/biss"
If successful, the following is an example of the return body:
"ca": {
"biss": {
"bissmode": "Mode 1",
"mod1seswrd": "************",
"modeseswrd": "****************",
"modeinjid": "**************"
}
}
The mod1seswrd, modeseswrd, and modeinjid are write-only, so their values will not be shown when
trying to perform GET. Hence, only the bissmode will provide useful information from a BISS GET.
Note
CI (Common Interface) Configuration Command
Table 201: Command Details
DescriptionCommand Detail
https://192.168.0.1/ws/v2/service_cfg/ca/ciCommand URL
Allows set or get of Common Interface (CI) Conditional Access
configuration.
Command Information
GET, POSTHTTP Methods
Read, WriteAccess Type
User, AdminAccess Level
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
237
API Definitions
CA (Conditonal Access) Configuration Commands