D15363.05 Cisco TelePresence DX70 and DX80 API Reference Guide CE9.2, NOVEMBER 2017.
Copyright © 2017 Cisco Systems, Inc. All rights reserved. 24
Cisco TelePresence DX70 and DX80
API Reference Guide
Example: Layout command in terminal mode
xCommand Audio Volume Set Level: 50
API output
The xPreferences is used to set preferences for the RS-232,
Telnet and SSH sessions.
The output modes
• Terminal: Line based output for use with line based
control systems
• XML: XML output for use with control systems that
understand XML.
• JSON: JSON format is convenient when integrating with
web based systems.
The default output mode is terminal. To change this you
have to define your preferences for each session individually.
Examples in this guide are in terminal mode.
To set output mode to XML, issue the command:
xPreferences outputmode xml
To revert to terminal mode, issue the command:
xPreferences outputmode terminal
Example: Layout command in XML mode
<Command>
<Audio>
<Volume>
<Set command=”True”>
<Level>50</Level>
</Set>
</Volume>
</Audio>
</Command>