fun connect(activationConnectInfo: ActivationConnectInfo): ActivationSecurityInfo
Creates an activation.
activationConnectInfo
- information about Activation connection needed
com.srv4pos.server.api.exceptions.ReferenceNotFoundJsonException
- if Activation not found by code
com.srv4pos.server.api.exceptions.InconsistentDataJsonException
- see:
InconsistentDataErrorType.ACTIVATION_CODE_WRONG_LENGTH,
InconsistentDataErrorType.PRODUCTION_NUMBER_AND_CONNECTION_MISMATCH,
InconsistentDataErrorType.PRODUCTION_NUMBER_AND_DEVICE_ID_MISMATCH
com.srv4pos.server.api.exceptions.UnprocessableEntityJsonException
- see:
UnprocessableEntityErrorType.APPLICATION_PACKAGES_MISMATCH
Return
the ActivationConnectReplyInfo