Description
URI Argument
Adaptive Mode
Type: String
Values: "None", "Encoder", "FEC"
adaptmode
Output Fields:
Output fields returned in GET results are the same names used for the possible Arguments for this command.
POST Examples:
The following examples assume 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
Example 1: Changing one ZIXI Parameter
The following example changes the type of an existing ZIXI entry to Pull mode".
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/zixi?stream=2&type=Pull"
If successful, the return body will be:
"response": {
"code": "10",
"result": "success",
"message": ""
}
Example 2: Changing multiple ZIXI Parameters
This example changes several ZIXI parameters for an existing entry. It will set the netid to 12345, sdten to
Yes, paten to Yes and niten to Yes.
curl -X POST -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/zixi?stream=2&netid=12345&sdten=Yes&paten
=Yes&niten=Yes"
If successful, the return body will be:
"response": {
"code": "10",
"result": "success",
"message": ""
}
GET Examples:
Example 3: GET the full ZIXI tuning values for a specific ZIXI entry
This example retrieves all of the ZIXI settings for stream 2.
curl -X GET -i -H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"https://192.168.0.1/ws/v2/service_cfg/input/zixi?stream=2"
If successful, the return body will be:
"input": {
"zixi": {
"stream": "2",
"act": "Yes",
"netid": "1",
"acqmode": "Auto",
"camode": "Std",
"inputsel": "UserCfg",
"freqmode": "User Cfg",
"svclstmode": "Rigorous",
"baten": "No",
"niten": "No",
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
171
API Definitions
Zixi Input Configuration Command