Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Function The GetProductList function is used to get a product list for a LAC administrator, using token and offset. Product . The license order contains all information about Features and Templates defined for the product.

This function requires a LAC administrator token, which is obtained using the Login function.

In addition, this function uses an offset. Products are packed into arrays of 100 elements. You can use an offset greater than 0 to take additional productsget additional products. For example, if you have 321 products, you would run this method 4 times using the offsets 0, 100, 200, 300. The first 3 responses will have 100 products each, and the last response will have 21 products.

Return values

On failure, the result string contains an error message. See Return codes for further information on error messages.

Example request:

No Format
<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="http://www.lac2.pl:8080/soap/type/vendor/version/1">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:GetProductList soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <token xsi:type="xsd:string">e84b130bcd3fdf26644064098acdf9f3e5a3bfaa</token>
         <offset xsi:type="xsd:int">0</offset>
      </ns:GetProductList>
   </soapenv:Body>
</soapenv:Envelope>

...