-
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
General configurationThe checkout process for the Floating model is consistent across different supported client libraries and is guided by the functionality of the licensing model and the NetLicensing RESTful API. Before submitting the validation request, please ensure the following:
To validate a Floating license, please ensure that the following form request parameters are provided:
(Refer to the Floating model documentation for more details) Request example (cURL) curl -X POST -H "Authorization: Basic ..." -H "Accept: application/xml" -H "Content-type: application/x-www-form-urlencoded" \
-d "dryRun=false&productModuleNumber=MPUW7ZN9T&action=checkOut&sessionId=session0" \
https://go.netlicensing.io/core/v2/rest/licensee/I6NIKAVRZ/validate Response example <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:netlicensing xmlns="http://www.w3.org/2000/09/xmldsig#"
xmlns:ns2="http://netlicensing.labs64.com/schema/context" ttl="2024-01-09T09:31:58.606Z">
<ns2:infos />
<ns2:items>
<ns2:item type="ProductModuleValidation">
<ns2:property name="valid">true</ns2:property>
<ns2:property name="expires">2025-01-19T07:42:50.421Z</ns2:property>
<ns2:property name="productModuleNumber">MEXP6S9VT</ns2:property>
<ns2:property name="productModuleName">ABO</ns2:property>
<ns2:property name="warningLevel">GREEN</ns2:property>
<ns2:property name="licensingModel">Subscription</ns2:property>
<ns2:property name="productModuleNumber">MEXP6S9VT</ns2:property>
</ns2:item>
<ns2:item type="ProductModuleValidation">
<ns2:property name="valid">true</ns2:property>
<ns2:property name="productModuleName">Sessions</ns2:property>
<ns2:property name="warningLevel">GREEN</ns2:property>
<ns2:property name="expirationTimestamp">2024-01-09T09:31:58.606Z</ns2:property>
<ns2:property name="licensingModel">Floating</ns2:property>
<ns2:property name="productModuleNumber">MPUW7ZN9T</ns2:property>
</ns2:item>
</ns2:items>
</ns2:netlicensing>% Validation using C++ client libraryPlease find below the source code for C++ validation configuration: ValidationParameters vParams = ValidationParameters();
vParams.setProductModuleValidationParameters(productModuleNumber, "action", "checkOut");
vParams.setProductModuleValidationParameters(productModuleNumber, "sessionId", "session0");
vParams.setLicenseeName(licenseeName);
vParams.setProductNumber(productNumber);
ValidationResult vres = LicenseeService::validate(ctx, licenseeNumber, vParams); (full C++ client example can be found here) |
Beta Was this translation helpful? Give feedback.
General configuration
The checkout process for the Floating model is consistent across different supported client libraries and is guided by the functionality of the licensing model and the NetLicensing RESTful API.
Before submitting the validation request, please ensure the following:
To validate a Floating license, please ensure that the following form request parameters are provided:
(Refer to the Floating m…