fun getActivationCode(credentials: Credentials): ActivationCodeInfo
This method requires credentials and returns ActivationCodeInfo for provided credentials. It must be authenticated by credentials initialized by Credentials
credentials
- to authenticate to pass activationSecurityToken as Credentials
com.srv4pos.server.api.exceptions.ForbiddenJsonException
- see:
ForbiddenErrorType.ACTIVATION_STILL_ISSUED,
ForbiddenErrorType.WRONG_USERNAME_OR_PASSWORD
Return
ActivationDescriptorInfo, it's signature and it's version (to correctly check digital signature)