Querying the Trusted Time Status
Queries the current time synchronization status of the system.
Item |
Description |
|---|---|
API path |
/rest/kdc_agent/v1/proxy |
Request method |
POST |
Request Header
Parameter |
Value |
|---|---|
Content-Type |
application/json |
Accept |
application/json |
Request Body
Parameter |
Type |
Specification |
Required (Yes/No) |
Description |
|---|---|---|---|---|
taskId |
String |
64 |
Yes |
Task ID. Each request must use a unique ID. |
version |
String |
8 |
Yes |
Payload format version in VR format, initially set to 26.0. |
msgType |
Int |
32 |
Yes |
Service message type, with a value of 30. |
data |
Object |
- |
No |
Service message entity in key:value format. |
Request Body Example
{
"taskId": "SDFMOASDMNFIOASMD",
"version": "26.0",
"msgType": 30,
"data": {}
}
Response Header
Parameter |
Value |
|---|---|
Content-Type |
application/json |
Response Body
Parameter |
Type |
Specification |
Required (Yes/No) |
Description |
|---|---|---|---|---|
retCode |
Int |
32 |
Yes |
Error code |
retMsg |
String |
64 |
Yes |
Error message |
data |
Object |
- |
Yes |
Custom service data |
data.utcTime |
Int |
64 |
Yes |
UTC time, in milliseconds. Example: 1774074716000 |
Response Body Example
{
"retCode": 0,
"retMsg": "Success",
"data": {
"utcTime": 1774074716000
}
}
Error Code
Error Code |
Description |
|---|---|
301 |
Chrony not checked |
302 |
NTP not checked |
303 |
Time source not checked |