Hi everyone,.
I only specify 2 of the 4 available features.
i'am trying to create an Entitlement using the "Create entitlement" web service (v73/ws/entitlement.ws).
My entitlement has only one product associated, and all the 4 features are set as "can be excludable" in the product definition.
The goal is to create an entitlement for the given product, in which only 2 features are present while the other 2 are excluded.
I provide the following .xml to perform the Entitlement creation:
- <entitlement>
- <action>SAVE</action>
- <enabled>true</enabled>
- <entState>DRAFT</entState>
- <customerId>28</customerId>
- <customerEmail>aaa@bbb.com</customerEmail>
- <refId1></refId1>
- <refId2></refId2>
- <description></description>
- <entitlementItem>
- <startDate>2017-04-27</startDate>
- <endDate>2500-12-31</endDate>
- <numProductKeys>1</numProductKeys>
- <numActivationPerProductKey>1</numActivationPerProductKey>
- <vendorId>1</vendorId>
- <lineItemType>Hardware_Key</lineItemType>
- <itemProduct>
- <productId>28</productId>
- <product>
- <productFeatureRef>
- <featureId>31</featureId>
- </productFeatureRef>
- <productFeatureRef>
- <featureId>32</featureId>
- </productFeatureRef>
- </product>
- </itemProduct>
- <protectionKeyId></protectionKeyId>
- </entitlementItem>
- </entitlement>
To exclude a Feature from a Product, do not include that Feature in Product details.
I only specify 2 of the 4 available features.
The result i got is the creation of the entitlement in which all the 4 features are present.
Am i doing something wrong?
Thanks for the assistance!
Vanni