Configuration Api; Input Configuration Command - Cisco D9800 Reference Manual

Network transport receiver
Hide thumbs Also See for D9800:
Table of Contents

Advertisement

API Definitions
URI Argument
origchan
GET Examples
Example 1: Retrieve origin channel of PE1
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
"https://192.168.0.1/ws/v2/status/dr/origchans?peid=PE1&origchan"
If successful, the return body will be:

Configuration API

This section lists all the configuration commands.

Input Configuration Command

Table 132: Command Details
Command Detail
Command URL
Command Information
HTTP Methods
Access Type
Access Level
GET Syntax
-H "Accept: application/json" -H "X-SESSION-ID: $token" -k
"dr": {
"origchans": {
"peid": "PE1",
"origchan": "101"
}
}
Cisco D9800 Network Transport Receiver Version 2.75 RESTful Web Services API Reference Guide
Description
D/R origin channel number
Type: Integer
Values: 0 ... 65535
Description
https://192.168.0.1/ws/v2/service_cfg/input
Allows inputs to be read or configured.
GET, POST
Read/Write (with complex input data)
User, Admin
GET "https://192.168.0.1/ws/v2/service_cfg/input"
Configuration API
135

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents