Identify newly created licensee and note Licensee Number
Send first validation request (replace %LICENSEE_NUMBER%)
In case you are using your vendor account please provide username:password in the --user attribute
Alternatively you can use NetLicensing API test application, which provides easy access to all NetLicensing functions
Sample request:
$ curl --header"Accept: application/xml"--insecure--user demo:demo --request GET https://go.netlicensing.io/core/v2/rest/licensee/%LICENSEE_NUMBER%/validate
Sample response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><netlicensingxmlns:ds="http://www.w3.org/2000/09/xmldsig#"xmlns="http://netlicensing.labs64.com/schema/context"ttl="2015-08-09T06:41:15.854Z"><infos/><items><itemtype="ProductModuleValidation"><propertyname="productModuleNumber">MNLIC-DEMO</property><propertyname="valid">true</property><propertyname="licensingModel">TryAndBuy</property><propertyname="productModuleName">Module licensed under Try & Buy LM</property><propertyname="evaluationExpires">2015-09-07T06:38:16.809Z</property><propertyname="evaluation">true</property></item></items></netlicensing>