![AMX DTV VISION2 INTEGRATION - DIAGRAM Operation/Reference Manual Download Page 25](http://html1.mh-extra.com/html/amx/dtv-vision2-integration-diagram/dtv-vision2-integration-diagram_operation-reference-manual_2938670025.webp)
API Commands
19
Vision
2
API Guide
v2Master_GetListOfServices_NameAndIDOnly
Obtains a list of selected service types on the entire Vision
2
system returning only the 'name' and 'id' attributes.
v2Master_GetServiceXML
Obtains the XML for the specified service.
Parameters
sServiceType
The type of services to return. This can be one of the following values: v2Archive, v2DVB,
v2Live, v2Record, v2Producer, v2LiveWMV, v2ReflectorWMV, v2ProducerWMV, or ALL
which returns every service on the system.
<?xml version="1.0" encoding="utf-8" ?>
<v2>
<result>OK</result>
<services>
<service id="20110014111919578" name="DVB 1" />
</services>
</v2>
PRGM EX. 18
v2Master_GetListOfServices_NameAndIDOnly Sample XML
Parameters
sServiceID
The service ID of the Master.
Note:
All servers under a Master server share the same service ID. If you use the service
ID when executing the v2Master_GetServiceXML API command, the function executes on
all servers using the service ID. If you want to use the API command on one of the servers
under the Master, use the name of the specific server with the command.