
Copyright © 2009, 2010 Black Box Network Services
724-746-5500 | blackbox.com 11
XML API version 2
3. XML API version 2
3.1 Capabilities
Capabilities in iCOMPEL XML interface provide a mechanism to determine if a given version of the product supports a
specific set of API's.
Applications can request the currently available capabilities by using an assured backward compatible interface.
Syntax
The syntax of this message is:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<command_list>
<get_all_capabilities command_id="get cmd caps id"/>
</command_list>
Root element for all operations that can be requested
A user specified string that identifies the command in a command_list. The response for
each command will be tagged with corresponding command_id.
Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response_list status_code="0">
<get_all_capabilities command_id="get cmd caps id" status_code="0">
<capability name="CAP_AD_HOC_ITEM_INFO_1"/>
<capability name="CAP_PLAYER_LOCAL_ITEM_INFO_1"/>
<capability name="CAP_ADVANCE_TO_1"/>
</get_all_capabilities>
</response_list>
Kommentare zu diesen Handbüchern