cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
michealeseecc
Level 4

Configure Product Start Date Use 1st Activation Date StartDateOptionType C#

Hi All,

Good days.


I want to achieve Configure Product > Start Date : [ Use First Activation Date ]

I had tried:-

startDateOption = StartDateOptionType.DEFINE_AT_FIRST_ACTIVATION,
startDateSpecified = false,
isPermanent = true,
isPermanentSpecified = true,
expirationDateSpecified = false

-OR-

startDateOption = StartDateOptionType.DEFINE_ACTDATE_AT_FIRST_ACTIVATION,
startDateSpecified = false,
isPermanent = true,
isPermanentSpecified = true,
expirationDateSpecified = false

 

But both doesn't return the result I wanted. Both solution show
Start Date:  [ Specify Value Now]  [Show Current Date]
Expiration: Permanent

Please advise.

Thanks.

Regards,
Micheale 

0 Kudos
(1) Reply
jberthold
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi  @michealeseecc ,

I think the issue here is why do you want to specify the start date of the license on first activation when the license you are generating is permanent?  It makes more sense to use this option when you are specifying the license duration and want the clock to start ticking when the customer first activates.  

Here's an example snippet from the createSimpleEntitlementRequest web service where a 2 year duration is specified after first activation:

<urn:startDateOption>DEFINE_ACTDATE_AT_FIRST_ACTIVATION</urn:startDateOption>
               <urn:isPermanent>false</urn:isPermanent>
               <urn:term>
                  <urn:numDuration>2</urn:numDuration>
                  <urn:durationUnit>YEARS</urn:durationUnit>
               </urn:term>

 

with the resulting output in the UI 2022-06-23_18-08-25.png

Best regards,

Jim