MdlAddDevice (Service) [v1]
  • 22 Oct 2024
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

MdlAddDevice (Service) [v1]

  • Sombre
    Lumière
  • PDF

The content is currently unavailable in French. You are viewing the default English version.
Résumé de l’article

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

API version: 1

Availability: DIGIPASS Gateway 4.1 and later

Authentication: Basic HTTP authentication using the front-end API key.

The MdlAddDevice registers a new device that supports Secure Channel activation. It retrieves Activation Message 2 (instance).

URL

https://dpgateway_host:dpgateway_port/rest/activation/MdlAddDevice

Request

MdlAddDevice parameters

Parameter name

Data type

Description

registrationID

String

Required. The unique identifier of a user for a given activation process.

deviceCode

String

Required. The device code generated by the mobile application using the Digipass SDK. This is needed for validation and derivation purposes.

Example

{
  "registrationID": "myRegistrationID",
  "deviceCode": "12345678901234567890123456"
}

Response

MdlAddDevice return values

Return value

Data type

Description

errorCode

Integer

The return code provided by OneSpan Authentication Server. 0 is returned in case of success.

errorMessage

String

The error message provided by OneSpan Authentication Server. STAT_SUCCESS is returned in case of success.

instanceActivationMessage

String

The instance activation message (i.e. Activation Message 2).

Example

{
  "errorCode": 0,
  "errorMessage": "STAT_SUCCESS",
  "instanceActivationMessage": "82A53BF7E525012E2488BA51E9E33655..."
}


Cet article vous a-t-il été utile ?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Ozzy, facilitant la découverte de connaissances grâce à l’intelligence conversationnelle