Abstract
Â
This document describes the changes made to the API since 3.0 version implementations.
Changes
Â
Part of changes that relevant to dates handling are already described in the blog https://www.openlm.com/blog/?p=2644
Â
converting EnableFileFetching to bool
Â
the type EnableFileFetching property was changed to bool in FileFetchConfig class
Â
The class is used in:
GetFileFetchConfigResponse in GetFileFetchConfig method
UpdateFileFetchConfigRequest in UpdateFileFetchConfig method
Â
new api added – supporting users filtering in CCL
Â
The request of GetCurrentlyConsumedLicenses was changed to CurrentlyConsumedLicensesRequest instead of LicenseInfoRequest
Â
The structure of the class is:
public class CurrentlyConsumedLicensesRequest : BaseRequest
{
[DataMember]
public string ServerName { get; set; }
[DataMember]
public string VendorName { get; set; }
[DataMember]
public List<FeatureProductVersion> Features { get; set; }
[DataMember]
public List<FeatureProductVersion> Products { get; set; }
[DataMember]
public List<int> UserIDs { get; set; }
[DataMember]
public List<int> GroupIDS { get; set; }
[DataMember]
public List<LicenseTypes> LicenseTypes { get; set; }
[DataMember]
public List<string> AdditionalKey { get; set; }
}
new api added – Â supporting “include current usage” option in license usage
Â
The following property added to LicenseUsageReportRequest class in GetLicenseUsageReport method
public bool IncludeCurrentUsage { get; set; }
Â
new api added – Â supporting SetFullLogging API method
Â
public BaseResponse SetFullLogging(SetFullLoggingRequest request)
Â
The structure of class is:
public class SetFullLoggingRequest : BaseRequest
{
public int LoggingPeriodInMinutes { get; set; }
}
new api added – Â supporting GetLicenseTypes API
LicenseTypesResponse GetLicenseTypes(BaseRequest request);
Â
The structure of class is:
public class LicenseTypesResponse : BaseResponse
{
public List<LicenseTypes> Types { get; set; }
}
Â
new api added – supporting get option file content API method
Â
BaseResponse GetOptFileContent(OptFileContentRequest request);
Â
The structure of class is:
Â
public class OptFileContentRequest : BaseRequest
{
public int OptFileID { get; set; }
}
Â
new api added – Â supporting GetOptFileFeatureValidKeywords API
Â
OptFileFeatureValidKeywordsResponse GetOptFileFeatureValidKeywords(OptFileFeatureValidKeywordsRequest request);
Â
The structures of classes are:
Â
public class OptFileFeatureValidKeywordsRequest : BaseRequest
{
public int OptionFileID { get; set; }
public string Feature { get; set; }
}
public class OptFileFeatureValidKeywordsResponse : BaseResponse
{
public Dictionary<string, HashSet<string>> Keywords { get; set; }
public bool IsCustomValuesEnabled { get; set; }
}
Â
change in FeatureProductVersion class – supporting license types and additional key
new properties added:
Â
public LicenseTypes? LicenseType { get; set; }
public string AdditionalKey { get; set; }
Â
The class is used in Request and Response classes of GetLicenseUsageReport method
It is used as dictionary key of the following:
Â
LicenseUsageReportRequest.Features
LicenseUsageReportResponse.AggregateSessionsDictionary
LicenseUsageReportResponse.DateQuantitiesSessionsDictionary
LicenseUsageReportResponse.Totals