LicenseSpot Documentation
Set license property
licensespot.license.setproperty
Set value to a license property.
License Attributes
The attributes form the XML schema to be sent via the querystring parameter, specifically the data parameter. Fields marked as required should be sent the URL or the function execution will failed.
- Serial Number (Required)
- Name (Required)
- Value (Required)
Sample Response
The method returns the details about the license.
<License>
<LicenseId>23D10086-9D85-43d4-9318-1CA76DE9186F</LicenseId>
<CustomerId>F749B40A-EA9E-4392-9519-D334D8FB99A3</CustomerId>
<ProductId>8FC1DA7A-96EB-450f-A7E1-223EE6AA9BAB</ProductId>
<ProductVersionId>065F1F66-B0C3-4712-9920-3135561A7E1A</ProductVersionId>
<LicenseTemplateId>FA23A829-78E6-40c8-B398-89198CAA0A16</LicenseTemplateId>
<LicenseStatus>Active</LicenseStatus>
<CreatedDate>2011-02-08</CreatedDate>
<Comments>Important Customer</Comments>
<Properties>
<company>SkyXoft</company>
<customer>Jose Leon</customer>
</Properties>
</License>
Error Codes
- 101: Invalid API key: The API key is invalid or not active.
- 119: License Invalid: The license is invalid.