postActivation (service)

This command is deprecated! Use MdlActivate (service) [v2] instead!

API version: 1

Availability: DIGIPASS Gateway 4.1 and later

Authentication: None.

The postActivation service validates the confirmation code generated by the authenticator and finalizes the activation process.

URL

https://dpgateway_host:dpgateway_port/postActivation

Request

Parameters to the service are passed via the URI query component.

postActivation parameters
Parameter name Data type Description
RegistrationIdentifier String Required. The unique identifier of a user for a given activation process.
OTP String Required. The signature generated by the mobile application using the Digipass SDK. This is needed for validation purposes.

Example

POST https://192.0.2.1:11080/postActivation?RegistrationIdentifier=cTlAXXq7&OTP=123456

Response

The service returns an XML response message containing the result.

postActivation return values
Return value Description
//DP4Mobile/@message The status message.
//DP4Mobile/@retCode The return code of the operation.

Example (Success)

<?xml version="1.0"?>
<DP4Mobile retCode="0" message="" />

Example (Failure)

<?xml version="1.0"?>
<DP4Mobile retCode="–1" message="The Registration Identifier could not be found in the cache." />