Skip to main content

PATCH – Update BMC time zone and other oem properties

Use the PATCH method to update properties in Manager resource for Redfish service.

Request URL

PATCH https://<BMC_IPADDR>/redfish/v1/Managers/1

Request parameters

Properties to be updated are shown as below, all of these properties can be changed individually.

FieldTypeDescription
DateTimeLocalOffsetString

The time offset from UTC that the DateTime property is set to. Allowable values list as follows:

“+00:00”, “+01:00”, “+02:00”, “+03:00”, “+03:30”, “+04:00”, “+04:30”, “+05:00”, “+05:30”, “+05:45”, “+06:00”, “+06:30”, “+07:00”, “+08:00”, “+09:00”, “+09:30”, “+10:00”, “+11:00”, “+12:00”, “+13:00”, “-12:00”, “-11:00”, “-10:00”, “-09:00”, “-08:00”, “-07:00”, “-06:00”, “-05:00”, “-04:30”, “-04:00”, “-03:30”, “-03:00”, “-02:00”, “-01:00”

This property can’t be patched when DST is enabled or host time is local time.

Response body

The response returns same content as GET operation with updated properties.

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example is PATCH body.

{
"DateTimeLocalOffset" : "+08:00"
}

The resource updated is returned.

{
"DateTimeLocalOffset": "+08 :00",
"@odata.id": "/redfish/v1/Managers/1",

}