LicenseSpot Documentation
Get customer
licensespot.customer.getlicenses
Get licenses from a customer in the database. The customer ID field is used to locate the customer. Also the customer email can be used.
Customer 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.
- Customer ID (Required)
Sample Response
The method returns the licenses the customer has.
<Licenses>
<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>
</Licenses>
Error Codes
- 101: Invalid API key: The API key is invalid or not active.
- 114: Customer not found: Customer not found in the system.
- 115: Invalid Customer ID: The field CustomerId is not a valid Guid.