-
The NetLicensing Console doesn’t allow me to specify custom numbers for license templates in the Product Module/Packages view. |
Beta Was this translation helpful? Give feedback.
Answered by
r-brown
Jan 15, 2025
Replies: 1 comment
-
Indeed, the NetLicensing Console does not provide an option to specify a custom package or license template number; instead, a random number is generated. If you need to specify a custom number for created packages or license templates, you can easily do so using the NetLicensing RESTful API and the License Template Service. Please find below some examples for the licensing models: Multi-Featurecurl 'https://go.netlicensing.io/core/v2/rest/licensetemplate' \
-H 'accept: application/json' \
-H 'content-type: application/x-www-form-urlencoded' \
--data-raw 'number=%M12345678%&name=%NAME%&active=true&price=0¤cy=EUR&licenseType=FEATURE&productModuleNumber=%M12345678%'
Try & Buycurl 'https://go.netlicensing.io/core/v2/rest/licensetemplate' \
-H 'accept: application/json' \
-H 'content-type: application/x-www-form-urlencoded' \
--data-raw 'number=%M12345678%&name=%NAME%&active=true&price=0&timeVolume=1&timeVolumePeriod=DAY¤cy=EUR&licenseType=TIMEVOLUME&productModuleNumber=%M12345678%' Floatingcurl 'https://go.netlicensing.io/core/v2/rest/licensetemplate' \
-H 'accept: application/json' \
-H 'content-type: application/x-www-form-urlencoded' \
--data-raw 'number=%M12345678%&name=%NAME%&active=true&price=0&maxSessions=10¤cy=EUR&licenseType=FLOATING&productModuleNumber=%M12345678%' Subscriptioncurl 'https://go.netlicensing.io/core/v2/rest/licensetemplate' \
-H 'accept: application/json' \
-H 'content-type: application/x-www-form-urlencoded' \
--data-raw 'number=%M12345678%&name=%NAME%&active=true&price=0&timeVolume=1&timeVolumePeriod=YEAR¤cy=EUR&licenseType=TIMEVOLUME&productModuleNumber=%M12345678%' |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
r-brown
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Indeed, the NetLicensing Console does not provide an option to specify a custom package or license template number; instead, a random number is generated.
If you need to specify a custom number for created packages or license templates, you can easily do so using the NetLicensing RESTful API and the License Template Service.
Please find below some examples for the licensing models:
Multi-Feature
Try & Buy