listModelVersions

This request returns a list of the organization model versions currently deployed.

Syntax

com.tibco.wcc.base.Requests.listModelVersions(requestId);

Parameters

Returns

An <ap:OrgModelVersion> element is returned for each organization model version that is currently deployed. The <ap:OrgModelVersion> element contains the following elements:

  • <ap:Guid> - The GUID for this particular version of the organization model.
  • <ap:Version> - The major version number of the organization model.
  • <ap:Detail> - Contains details such as minor and micro version numbers, name, date deployed, etc.

For example:

<ap:Requests>
  <ap:VersionList Id="ApiSample.listModelVersions">
    <ap:OrgModelVersions>
      <ap:OrgModelVersion>
         <ap:Guid>0</ap:Guid>
         <ap:Version>0</ap:Version>
         <ap:Detail><![CDATA[<xml-fragment model-version="0"><deployment major="0"
             minor="1" micro="0" qualifier="" name="sys_org_model"    
            deployed="2011-04-22T17:58:59.270Z"/></xml-fragment> 
        </ap:Detail>
      </ap:OrgModelVersion>
                 .
                 .
                 .