You can use the FlexNet Operations Data Access API to obtain historic license usage data. The endpoint for the FlexNet Operations Data Access API is:
/data/api/v1/report/served-device
NOTE: For more information, see FlexNet Operations Data Access APIs.
You can use params of dateFrom to dateTo for a period of 30 days along with any of the following filters:
accountIDaccountNamesiteNameservedClientHostID
This can be done only for a period duration of 30 days. If you want historic data for more than 30 days, then more runs of this query are required.
A few key points to keep in mind:
- The API supports a maximum range of 365 days per request.
- We recommend using the
dateFromanddateToparameters to define the desired time window. - For large datasets, use the
limitRecordsparameter to paginate the results. The default value is 500, which helps retrieve data in manageable chunks.
Sample Request
{
"data": {
"name": "served-device",
"description": "Served Device Report",
"enabled": true,
"filters": [
{
"name": "ServedClientHostID",
"description": "Served Client Host ID",
"type": "STRING"
},
{
"name": "ServerHostID",
"description": "",
"type": "STRING"
},
{
"name": "Alias",
"description": "",
"type": "STRING"
},
{
"name": "SiteName",
"description": "Site Name",
"type": "STRING"
},
{
"name": "Notes",
"description": "",
"type": "STRING"
},
{
"name": "DeviceUser",
"description": "",
"type": "STRING"
},
{
"name": "Status",
"description": "",
"type": "STRING"
},
{
"name": "DeviceAccountID",
"description": "Account ID",
"type": "STRING"
},
{
"name": "DeviceAccountName",
"description": "Account Name",
"type": "STRING"
},
{
"name": "LastSyncTime",
"description": "",
"type": "NUMBER"
},
{
"name": "FeatureName",
"description": "",
"type": "STRING"
},
{
"name": "FeatureVersion",
"description": "",
"type": "STRING"
},
{
"name": "Quantity",
"description": "",
"type": "NUMBER"
},
{
"name": "Overage",
"description": "",
"type": "NUMBER"
},
{
"name": "VendorDictionary",
"description": "",
"type": "STRING"
},
{
"name": "ExpirationDate",
"description": "",
"type": "TIMESTAMPSTRING"
},
{
"name": "LastModifiedDate",
"description": "",
"type": "TIMESTAMPSTRING"
},
{
"name": "UserDeleted",
"description": "Whether User is deleted or not",
"type": "BOOLEANSTRING"
},
{
"name": "AccountDeleted",
"description": "Whether Account is deleted or not",
"type": "BOOLEANSTRING"
}
],
"model": [
{
"name": "ServedClientHostID",
"length": "4000",
"type": "STRING"
},
{
"name": "ServerHostID",
"length": "4000",
"type": "STRING"
},
{
"name": "Alias",
"length": "256",
"type": "STRING"
},
{
"name": "SiteName",
"length": "256",
"type": "STRING"
},
{
"name": "Notes",
"length": "4000",
"type": "STRING"
},
{
"name": "DeviceUser",
"length": "510",
"type": "STRING"
},
{
"name": "Status",
"length": "256",
"type": "STRING"
},
{
"name": "DeviceAccountID",
"length": "256",
"type": "STRING"
},
{
"name": "DeviceAccountName",
"length": "256",
"type": "STRING"
},
{
"name": "LastSyncTime",
"length": "256",
"type": "NUMBER"
},
{
"name": "FeatureName",
"length": "",
"type": "STRING"
},
{
"name": "FeatureVersion",
"length": "256",
"type": "STRING"
},
{
"name": "Quantity",
"length": "",
"type": "NUMBER"
},
{
"name": "Overage",
"length": "",
"type": "NUMBER"
},
{
"name": "VendorDictionary",
"length": "16777216",
"type": "STRING"
},
{
"name": "ExpirationDate",
"length": "256",
"type": "TIMESTAMPSTRING"
},
{
"name": "LastModifiedDate",
"length": "256",
"type": "TIMESTAMPSTRING"
},
{
"name": "UserDeleted",
"length": "5",
"type": "BOOLEANSTRING"
},
{
"name": "AccountDeleted",
"length": "5",
"type": "BOOLEANSTRING"
}
]
}
}
Sample Response
{
"description": "Report generated on '2021-11-18 07:45:28.587'",
"params": {
"mode": "batch",
"query": {
"accountID": {
"$eq": "11223366"
}
},
"format": "json",
"dateto": "2021-07-19",
"datefrom": "2021-06-20"
},
"status": {
"executionTime": 180,
"statusCode": 200,
"statusMessage": "Success"
},
"header": {
"recordCount": -1,
"totalPages": -1,
"previousPageURL": "",
"nextPageURL": "https://<URL>/data/api/v1/report/served-device?mode=BATCH&format=json&pastDays=1&limitRecords=500&dateFrom=2021-06-20&dateTo=2021-07-19&query=%7B%22accountID%22%3A%7B%22%24eq%22%3A%2211223366%22%7D%7D&requestID=cV9yYzotMQ==&pageNumber=2"
},
"data": [
{
"ServedClientHostID": "hcl2DLineSC3",
"ServerHostID": "4D8ANEW5EG75",
"DeviceAlias": "hcl2DLineSC3",
"SiteName": "",
"Notes": "",
"DeviceUser": "",
"Status": "NORMAL",
"DeviceAccountID": "11223366",
"DeviceAccountName": "TEST",
"LastSyncTime": "2021-06-23 15:55:02.07",
"FeatureName": "2DLine",
"FeatureVersion": "1.0",
"Quantity": "100",
"Overage": "",
"ExpirationDate": "",
"LastModifiedDate": "2021-06-23 09:00:08.777"
}
NOTE: If the request for "feature" is metered, then there is no expiration date mentioned in the response.
Related Articles
How Often Does My Application Usage Data Sync to Usage Intelligence? 14Number of Views Software License Usage Tracking - Part 3 16Number of Views Can I Host the Product Usage Data Myself? 6Number of Views How to Obtain and Configure an InstallAnywhere Node-Locked License File 15Number of Views HotFix: Unable to Obtain Trialware License 5Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add additional feedback (optional)
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
|
FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513
(toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367
(toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895
2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago