Generate License
This web service returns the Activation (XML) for the provided Product key. The <activationString>
section contains the V2C in XML-encoded format.
Method Type | URI |
---|---|
POST | v90/ws/productKey/{productKeyId}/activation.ws |
URI Parameters
Parameter | Description | Type |
---|---|---|
productKeyId | The Product key. | String |
Sample Request
In the input XML, insert the C2V in <activationInput>
section as defined in the following example. Enclose the C2V in a CDATA tag. The XML must comply with Activation.xsd.
<activation> <activationInput> <activationAttribute> <attributeValue><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <hasp_info> <host_fingerprint>MXhJSYmNpjnybwMQmXCmqPiNEj1XJk6XGATACNudoCILIEUrZc/ z14yWKbGXxi6iKDbiEQtnVdXiVHoOE1XumZZjF+Qy</host_fingerprint> </hasp_info>]]> </attributeValue> <attributeName>C2V</attributeName> </activationAttribute> <comments>New Comments Added By Web Services</comments> </activationInput> </activation>
Sample Response
Success
The response contains the generated V2C and the input C2V. Both V2C and C2V in the response are in the form of encoded XML. The text within <activationString> tags in the following sample represents the V2C.
HTTP Status Code: 200
Response Body:
<?xml version="1.0" encoding="UTF-8"?> <activation> <activationOutput> <AID>c2396d75-3236-4ca6-9f10-682c62bdebfe</AID> <protectionKeyId>712734935</protectionKeyId> <activationString> <?xml version="1.0" encoding="utf-8"?><hasp_info> <haspscope><vendor id="37515" > <hasp id="712734935" /></vendor> </haspscope> <v2c> /fZRh+EzAKMLgAEBgQZQcmludAChA…4ABAA==</v2c></hasp_info> </activationString> </activationOutput> <activationInput> <activationAttribute> <attributeName>CLEAR_BEFORE_APPLYING_UPDATE</attributeName> <attributeValue>null</attributeValue> <isvPermission>NONE</isvPermission> <endUserPermission>READ_WRITE</endUserPermission> </activationAttribute> <activationAttribute> <attributeName>C2V</attributeName> <attributeValue><?xml version="1.0" encoding="UTF-8"?><hasp_info> <haspscope> <hasp id="712734935"> <vendor id="37515"/> </hasp> </haspscope> <c2v> YYIrYoADY3R2oQaABE0Qj4OiCoACAOqB </attributeValue> </activationAttribute> <comments>New Comments Added By Web Services</comments> </activationInput> </activation>
Failure
HTTP Status Code: 404
Response Body: The Product key does not exist.