- 22 Oct 2024
- 1 Minute à lire
- SombreLumière
- PDF
synchronize (Service)
- Mis à jour le 22 Oct 2024
- 1 Minute à lire
- SombreLumière
- PDF
This command is deprecated! Use getServerTime (service) instead!
API version: 1
Availability: DIGIPASS Gateway 4.1 and later
Authentication: None.
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/synchronize
Request
The synchronize service does not accept any parameters.
Response
The service returns an XML response message containing the result.
synchronize return values | |
Return value | Description |
---|---|
//DP4Mobile/@serverTime | 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
<?xml version="1.0"?>
<DP4Mobile serverTime="1547556827" />