GetAPIVersion

WebEx partners can use the GetAPIVersion command to get the current XML API version number that are enabled for their WebEx service sites. This request takes no parameter and requires no security context.

Request

The sample XML document shows an example of a request for the version number of the current XML API enabled for the site.

<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <header>
        <securityContext>


        </securityContext>
    </header>
    <body>
        <bodyContent
            xsi:type="java:com.webex.service.binding.ep.GetAPIVersion">
        </bodyContent>
    </body>
</serv:message>

The following schema diagram shows the structure of the elements in the getAPIVersion request message.

Figure 4-9 • Schema diagram for getAPIVersion

Response

The sample XML document shows an example of a possible response for the
preceding query XML document.

<?xml version="1.0" encoding="UTF-8"?>
<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service"
    xmlns:com="http://www.webex.com/schemas/2002/06/common"
    xmlns:ep="http://www.webex.com/schemas/2002/06/service/ep">
    <serv:header>
        <serv:response>
            <serv:result>SUCCESS</serv:result>
            <serv:gsbStatus>PRIMARY</serv:gsbStatus>
        </serv:response>
    </serv:header>
    <serv:body>
        <serv:bodyContent xsi:type="ep:GetAPIVersionResponse"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ep:apiVersion>WebEx XML API V7.3.0</ep:apiVersion>
            <ep:release>SP7</ep:release>
        </serv:bodyContent>
    </serv:body>
</serv:message>

The following schema diagram shows the structure of the elements in the getAPIVersionResponse message.

Figure 4-10 • Schema diagram for getAPIVersionResponse