Last Modified October 1, 2026

WEB_SendEvalCode() API

Sends an Evaluation License Code to the Email Address provided by the User.

The request will be screened based on the Email Address or the <MachineID> such that only one Evaluation License Code will be issued per Email Address or <MachineID>.

See Offering Trials / Demos with Evaluation License Codes    .

 

WEB_SENDEVALCODE POST Parameters

API
"API": "WEB_SENDEVALCODE"
PRODUCT_ID
"PRODUCT_ID": "P0000000"

The DNA Product ID.

DEVICE_ID
(Device Application)
"DEVICE_ID": "<deviceID>"

When node-locking used, the device ID to be used. For Evaluation Licenses, it is recommended to use node-locking with device Apps.

EMAIL
"EMAIL": "myemail@adomain.com"

If a <DEVICE_ID> is not provided, an Email address must be provided by the User.

USERAGENT
(SAAS Application)
"USERAGENT": "<HTTP User Agent>"

The value of Request.ServerVariables["HTTP_USER_AGENT"]. Will be used to determine DNA_Platform and DNA_ComputerName.

USERAGENT
(Device Application)
"USERAGENT": "<device>"

The device OS platform used for display in the DNA Control Panel, from the following:

WINDOWS Windows 32-bit
WINDOWS64 Windows 64-bit
MACINTOSH Mac OSX 32-bit
MACINTOSH64 Mac OSX 64-bit
LINUX Linux
ANDROID Android Phone
IPHONE iPhone
IPAD iPad
COMPUTER_NAME
(Device Application)
"COMPUTER_NAME": "<device name>"

If available, the assigned device name used for display in the License Manager and the DNA Control Panel

DATE
"DATE": "22-12-07 15:37:47"

String representation of current date in any format. Used only to create / validate SIGNATURE

SIGNATURE
"SIGNATURE": "<HMAC256 Hash>"

HMAC256 Signature for the Request

 

WEB_SENDEVALCODE Request example for a device App in JSON format

            
             
            {
                "API": "WEB_SENDEVALCODE", 
                "PRODUCT_ID": "P0002964", 
				"EMAIL": "info@softworkz.com",
                "DEVICE_ID":"8c9c72719398508b",
                "USERAGENT": "ANDROID", 
                "COMPUTER_NAME":"Joe-Samsung",
                "DATE":"22-12-07 15:37:47",
                "SIGNATURE": "eD9S9vqX7qFhpddJvQeLwRxfwHYByv5;fAMwb0LEnDE=" 
            }
			
            

 

WEB_SENDEVALCODE Request example for a SAAS App in JSON format

            
             
            {
                "API": "WEB_SENDEVALCODE", 
                "PRODUCT_ID": "P0002964", 
                "EMAIL": "info@softworkz.com", 
                "USERAGENT": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36", 
                "DATE":"22-12-07 15:37:47",
                "SIGNATURE": "eD9S9vqX7qFhpddJvQeLwRxfwHYByv5;fAMwb0LEnDE=" 
            }