Cisco Cisco TelePresence MX700 Riferimenti tecnici

Pagina di 194
D15335.03
 Cisco TelePresence MX700 and MX800 API Reference Guide CE8.1, APRIL 2016. 
Copyright © 2016 Cisco Systems, Inc. All rights reserved. 
24
Cisco TelePresence MX700 and MX800
API Reference Guide
Example: Layout command in terminal mode
xCommand Video Layout AssignCall CallId: 2 LayoutId: 1
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 convinient 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 ouput 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>
<Video>
<Layout>
<AssignCall command=”True”>
<CallId>2</CallId>
<LayoutId>1</LayoutId>
</AssignCall>
</Layout>
</Video>
</Command>
Introduction
About the API
xConfiguration
Appendices
xCommand
xStatus
About the API