The GetLicenseList function is used to get a list of licenses activated for a given activation key.  

This function uses an offset and requires a login token, which is obtained using the Login function.

Return values

The response is of the type Soap_Response_List_License, with result_array of type ArrayOfSoap_License.

Example request

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns="https://license.x-formation.com/soap/type/vendor/version/1">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:GetLicenseList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <token xsi:type="xsd:string">f3dd32af35da1c79f9ff2ed9b32350ab10bf132c</token>
         <activationKey xsi:type="xsd:string">XSFGS-270T9-4PWEI-4TE4Q</activationKey>
         <offset xsi:type="xsd:int">0</offset>
      </ns:GetLicenseList>
   </soapenv:Body>
</soapenv:Envelope>

Example response

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="https://license.x-formation.com/soap/type/vendor/version/1"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <SOAP-ENV:Body>
      <ns1:GetLicenseListResponse>
         <return xsi:type="ns1:Soap_Response_List_License">
            <result_array SOAP-ENC:arrayType="ns1:Soap_License[1]" xsi:type="ns1:ArrayOfSoap_License">
               <item xsi:type="ns1:Soap_License">
                  <id xsi:type="xsd:int">13</id>
                  <activation_key xsi:type="xsd:string">XSFGS-270T9-4PWEI-4TE4Q</activation_key>
                  <license_text xsi:type="xsd:string"># This license is generated using X-Formation License Activation Center
# Generation Time: 2012-07-16 12:22:26 GMT
# Activation Key: XSFGS-270T9-4PWEI-4TE4Q

FEATURE f2
{
VENDOR=XFORMATION VERSION=1.0 END=2017-06-27 LICENSEE="11"
KEY=H1r8mwNJ1bpUD7kOFUm6NQrF69eXWvPHCTTJpO2mZK96GI2FqG5TmumHtINdXWD]NWwr9tE[vwie0SLJSfJ6vR1aERFicYuWBl8b \
	RE1Umv4GlfN6ENZnkS[Wnuj6B57hXXXAuoAQLEXLtnMFZSDwSXyR1DX6OcwvBgHhRHA3LitmpBi69cRBEa3KjX59I[bNb]e3cXlw \
	PFMpSV8sc4SaLLdeMfhu]7Wrh12brVQTMxNMIbN6KBuxTeq26SwO1wYxr6caoPa6eJtM5JdzWesfmlAR3kfl7MT6eTz[mTPrA9BK \
	FgY63pMWhAEVFvpEBtPG]jiOIQM5sxX64UnR7XPWdSPt4hL0TegFz7UDzVxmynNDNKqdbgRJNkmPIqY9vUV1k0mcmuv]6odZjkan \
	ae590YbeIpL1AJ2fCB9YmWxdkSqg[WymuULTXustSgfViWZ6KUhd1o[sKfrgrSfTmFQMlEqFAXsg
}</license_text>
                  <activation_time xsi:type="xsd:string">2012-07-16 12:22:26</activation_time>
                  <expiration_date xsi:type="xsd:string">2017-06-27</expiration_date>
                  <HostidValues SOAP-ENC:arrayType="ns1:Soap_HostidValue[1]" xsi:type="ns1:ArrayOfSoap_HostidValue">
                     <item xsi:type="ns1:Soap_HostidValue">
                        <name xsi:type="xsd:string">Not Locked</name>
                        <value xsi:type="xsd:string"/>
                     </item>
                  </HostidValues>
               </item>
            </result_array>
            <result_code xsi:type="xsd:int">0</result_code>
            <result_string xsi:nil="true"/>
         </return>
      </ns1:GetLicenseListResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
  • No labels