Querying the System Time
Function
This interface is used to query the current system time.
Syntax
Operation type: GET
URL: https://device_ip/redfish/v1/Systems/SystemTime
Request header:
X-Auth-Token: auth_value
Request message body: None
Usage Guidelines
None
Example
Request:
GET https://10.10.10.10/redfish/v1/Systems/SystemTime
Request header:
X-Auth-Token: auth_value
Request message body: None
Response:
{
"@odata.context": "/redfish/v1/$metadata#Systems/SystemTime",
"@odata.id": "/redfish/v1/Systems/SystemTime",
"@odata.type": "#MindXEdgeSystemTime.MindXEdgeSystemTime",
"Id": "SystemTime",
"Name": "SystemTime",
"Datetime": "Wed Dec 14 07:15:42 2022"
}
Response code: 200
Output Description
Field |
Type |
Description |
|---|---|---|
@odata.context |
Character string |
OData description of the system time model. |
@odata.id |
Character string |
Path to access the system time. |
@odata.type |
Character string |
Type of the system time. |
Name |
Character string |
Name of the system time. |
Id |
Character string |
ID of the system time. |
Datetime |
Character string |
Current system time. NOTE:
This interface is used to obtain the system time with high precision. |
Parent topic: Time Management