Create Products from a Sentinel Key

You can use this web service to create all the Products that are available in a Sentinel Key (using C2V file or Key ID). The Products created in this way retain the details and current state information (such as Features included, License Terms, memory data, remaining days and count, etc.) from the key. For example, if a Product in the key was originally meant to be used for 100 days and the user has already used it for 40 days, then the new Product will have a term of 60 days.

After the Products are created in Sentinel LDK-EMS, you can create a new Entitlement using these products. This feature is useful when you want to provide an update to a customer for the following reasons:

>The machine is corrupted and the customer does not have the V2C file.

>The Sentinel HL key is damaged, lost, or its battery is depleted.

Method Type URI
PUT v90/ws/vendor/{vendorId}/protectionKey/product.ws

URI Parameters

Parameter Description Type
vendorId Identifier of the Vendor in the database. Integer

Sample Request

You can provide either the Key ID or the C2V file as XML. The XML must conform to the schema provided for this purpose. See XSD for Protection Key Web Services.

For Key ID

<ProtectionKey>
 <ProtectionKeyId>212055132032734228</ProtectionKeyId>
</ProtectionKey>

For C2V, provide actual C2V XML

<ProtectionKey>
 <C2V>
<hasp_info>
	<haspscope>
		<hasp id="212055132032734228">
			<vendor id="37515"/>
		</hasp>
	</haspscope>
	<c2v>
		................................................................
		................................................................
		................................................................
		rSdsYG8ZBvlwU+NZMciusm0FCBh1MdHIqOylLD/Y5uaAPGtU2LGycp1erYKWHn32
		fWjdxqh7ChJLjr0iz+xsh5gw+6JOc9FKocFeGFfAgvqtT+TmXME16tmFpNtK54pU
		CIae1GWbZGY3/a0llbHY4coMz0OGgbJH+3Tbre8qtA+IAfpIwzM1xwAbjmvzf30E
		................................................................
		................................................................
		................................................................
		
	</c2v>
</hasp_info>
 </C2V>
 </ProtectionKey>

Sample Response

Success

HTTP Status Code: 201

Header-Location:

<listResponse type="product" count="4">
                <instance id="137" name="SafeNet Design" identifier="2" type="MODIFICATION" lifeCycleStage="Commit" descr="Automatically created product found on 1064349077" cloneProtection="false" refId1="" lockType="HL" enabled="true" deployed="false"/>
                <instance id="138" name=" SafeNet Home Lite" identifier="4" type="MODIFICATION" lifeCycleStage="Commit" descr="Automatically created product found on 1064349077" cloneProtection="false" refId1="" lockType="HL" enabled="true" deployed="false"/>
                <instance id="139" name=" SafeNet CAD Design " identifier="8" type="MODIFICATION" lifeCycleStage="Commit" descr="Automatically created product found on 1064349077" cloneProtection="false" refId1="" lockType="HL" enabled="true" deployed="false"/>
                <instance id="140" name=" SafeNet Design Lite" identifier="12" type="MODIFICATION" lifeCycleStage="Commit" descr="Automatically created product found on 1064349077" cloneProtection="false" refId1="" lockType="HL" enabled="true" deployed="false"/>
</listResponse>

Failure

HTTP Status Code: 404

Response Body: The Vendor ID is wrong.