Get Products
This method will return the list of products.
This method is accessed by https://api.cryptolens.io/api/product/GetProducts
Parameters
Parameter |
Description |
Remarks |
v |
Method version. |
optional. by default, it's 1. |
Results
Parameter |
Description |
Remarks |
Products |
A list of Product objects. |
always returned |
Result |
This is either 0(=success) or 1(=error). |
always returned |
Message |
The message that provides additional information about the result.
|
always returned. |
Example results
{"products":[{"id":1234,"name":"Example product","creationDate":"2014-01-02T00:00:00","description":"Description","password":"","isPublic":true,"keyAlgorithm":1,"featureDefinitions":{"f1":{"name":"Time Limit (F1)","type":1},"f2":{"name":"Trial (F2)","type":2},"f3":{"name":"Feature 3","type":0},"f4":{"name":"Feature 4","type":0},"f5":{"name":"Feature 5","type":0},"f6":{"name":"Feature 6","type":0},"f7":{"name":"Feature 7","type":0},"f8":{"name":"Feature 8","type":0},"allLicensesTimeLimited":false,"blockExpiredLicenses":false},"dataObjects":[]}],"result":0,"message":null}
Errors