getServerTime (Service)
  • 01 Oct 2024
  • 1 Minute à lire
  • Sombre
    Lumière
  • PDF

getServerTime (Service)

  • Sombre
    Lumière
  • PDF

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

API version: 2

Availability: DIGIPASS Gateway 5.0 and later

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

The getServerTime service retrieves the current server time as Unix time to be used in activation and re-activation of Mobile Authenticator Studio.

The server time returned used the Unix time format (POSIX time or UNIX Epoch time), i.e. the number of seconds that have elapsed since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC), not counting leap seconds.

URL

https://dpgateway_host:dpgateway_port/rest/v2/provisioning/getServerTime

Request

The getServerTime service does not accept any parameters.

Response

getServerTime return values

Return value

Description

resultCodes

A JSON object that contains the return and status codes of the service.

result

A JSON object that contains the current server time as Unix time. This is the number of seconds that have elapsed since 00:00:00 Thursday, 1 January 1970, Coordinated Universal Time (UTC). Leap seconds are not counted.

Example

{
  "resultCodes":
    {
      "returnCodeEnum": "RET_SUCCESS",
      "statusCodeEnum": "STAT_SUCCESS",
      "returnCode": 0,
      "statusCode": 0
    },
  "result":
    {
      "serverTime": 1547556827
    }
}


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