EasyManua.ls Logo

Cisco TelePresence DX70 - Translating from Terminal Mode to XML

Cisco TelePresence DX70
202 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
D15363.05 Cisco TelePresence DX70 and DX80 API Reference Guide CE9.2, NOVEMBER 2017.
Copyright © 2017 Cisco Systems, Inc. All rights reserved. 36
Cisco TelePresence DX70 and DX80
API Reference Guide
Translating from terminal mode to XML
Translating commands
The XML commands maintain the same structure as the
terminal commands, but they use a parent-child relationship
to describe the hierarchy. You can see this structure in the
examples below.
Example 1: Setting up a call.
Terminal
xCommand Dial Number: “12345” Protocol: H323
XML
<Command>
<Dial command=”True”>
<Number>12345</Number>
<Protocol>H323</Protocol>
</Dial>
</Command>
Example 2: Assigning volume level
Terminal
xCommand Audio Volume Set Level: 50
XML
<Command>
<Audio>
<Volume>
<Set command=”True”>
<Level>50</Level>
</Set>
</Volume>
</Audio>
</Command>
Translating configurations
Translating from xConfiguration to XML is similar to commands,
but with the addition of a special attribute item=”NN” for
specifying the index in arrays.
Example: Configuring the input source type for video input
connector 2.
Terminal
xConfiguration Video Input Connector 2
InputSourceType: camera
XML
<Configuration>
<Video>
<Input>
<Connector item=”2”>
<InputSourceType>camera</InputSourceType>
</Connector>
</Input>
</Video>
</Configuration>
Introduction
About the API
xConfiguration
Appendices
xCommand
xSt atus
About the API

Table of Contents

Other manuals for Cisco TelePresence DX70

Related product manuals