D15333.07 Cisco TelePresence SX10 API Reference Guide CE9.1, JUNE 2017. Copyright © 2017 Cisco Systems, Inc. All rights reserved. 103
Cisco TelePresence SX10
API Reference Guide
xCommand HttpFeedback Register
Register the system to a HTTP(S) server to return XML feedback over HTTP(S) to specific URLs.
Requires user role: ADMIN
USAGE:
xCommand HttpFeedback Register FeedbackSlot: FeedbackSlot [Format: Format]
ServerUrl: "ServerUrl" [Expression: "Expression"]
where
FeedbackSlot
: Integer (1..4)
The codec can register up to 4 slots of servers requesting HTTP feedback. Set the
registering to one of them.
Note: Avoid using FeedbackSlot 3 in an environment where Cisco TelePresence
Management Suite (TMS) is used as TMS uses this feedbackslot to register its
expressions.
Format
: XML/JSON
Set the format for the feedback from the HTTP server to XML or JSON.
Se rverUrl
: String (1, 2048)
The URL to the HTTP server where you want the codec to post the HTTP feedback
messages to.
Expression
: String (1, 255)
The XPath expression specifies which parts of the Status, Configuration or Event XML
documents are monitored. You can have from 0 to 15 XPath expressions in the same
command.
Peripherals commands
xCommand Peripherals Connect
Register peripherals that are connected to the codec, such as control systems and touch
panels. The registered peripherals are displayed on the web interface under Configuration >
Peripherals.
This command should be used when the peripheral connects to the codec for the first time
or when the software version on the peripheral has changed. The list of connected devices is
available with the command xStatus Peripherals ConnectedDevice [n] Status.
Requires user role: ADMIN, INTEGRATOR, ROOMCONTROL, USER
USAGE:
xCommand Peripherals Connect [HardwareInfo: "HardwareInfo"] ID: "ID" [Name:
"Name"] [NetworkAddress: "NetworkAddress"] [SerialNumber: "SerialNumber"]
[SoftwareInfo: "SoftwareInfo"] Type: Type
where
HardwareInfo
: String (0, 100)
The device's hardware number.
ID
: String (1, 100)
A unique ID for the device you are connecting to, typically a MAC address.
Name
: String (0, 100)
Define a name for the device.
N etworkAddress
: String (0, 100)
Network address for the device you are connecting to.
SerialNumber
: String (0, 100)
The device's serial number.
SoftwareInfo
: String (0, 100)
Software version the device is running.
Type
: Byod/ControlSystem/Other/TouchPanel
Define the type of device you are connecting to.