AnsweredAssumed Answered

Sample code to distribute token with assigned activation code

Question asked by Abdelrahman Fawzi on Jun 10, 2020
Latest reply on Jun 14, 2020 by Abdelrahman Fawzi
Branched from an earlier discussion

anybody can help me with sample code to distribute token with assigned activation code   where i am getting the following error which trying to get activation code 

//zero (0) ctkip authcode found matching token serial number:<redacted>


                public CTKIPActivationCodeDTO getTokenActivationCode(String tokenSerialNumber) throws  Exception {

                LookupCTKIPActivationCodeCommand  activationCodeCommand = new                   LookupCTKIPActivationCodeCommand();



                CTKIPActivationCodeDTO activationCodeDTO =  activationCodeCommand.getCtkipActivationCodeDTO();

                return activationCodeDTO;