![AMX DTV VISION2 INTEGRATION - DIAGRAM Operation/Reference Manual Download Page 9](http://html1.mh-extra.com/html/amx/dtv-vision2-integration-diagram/dtv-vision2-integration-diagram_operation-reference-manual_2938670009.webp)
Using the API
3
Vision
2
API Guide
Enabling and Disabling Live Channels
To control which channels are broadcasting on a Vision
2
system the first thing you need is a list of all the
available channels which can be found using the
v2Master_GetFullChannelList
command. For example:
http://server/v2services/v2_API/v2_APIAdminService.asmx/v2Master_GetFullChannelList
This command returns XML code similar to the following:
<?xml version="1.0" encoding="utf-8" ?>
<v2>
<result>OK</result>
<channels>
<channel
type="v2DVB"
name="BBC THREE"
id="9018:4100:4351"
transmitting="false" />
<channel
type="v2DVB"
name="BBC NEWS"
id="9018:4100:4415"
transmitting="true" />
<channel
type="v2Live"
name="MPEG Encoder"
id="20110014111920046"
transmitting="false" />
<channel
type="v2Producer"
name="Producer MPEG 1"
id="20110014111920687"
transmitting="false" />
<channel
type="v2ReflectorWMV"
name="WMV Reflector 1"
id="20110014111921218"
transmitting="true" />
<channel
type="v2ProducerWMV"
name="Producer WMV 1"
id="20110014111921593"
transmitting="false" />
</channels>
</v2>
You can then convert this code into a list from which the user can select a channel and change the transmitting
status as necessary, depending on the channel type you need to make the correct call.