PATCH – Update power schedule job properties
Use the PATCH method to update properties in Job resource for Redfish service
Request URL
PATCH https://<BMC_IPADDR>/redfish/v1/JobService/Jobs/{PowerOff, PowerOn, Restart}
Request body
Properties to be updated are shown as bellow, all of these properties can be changed individually.
Field | Type | Description | ||
---|---|---|---|---|
Schedule | Object | The schedule settings for this job. | ||
EnabledDaysOfWeek | Array | Expanded. | ||
EnabledDaysOfWeek[N] | String | Days of the week when scheduled occurrences are enabled, for enabled days of the month and months of the year. If not present, all days of the week are enabled. | ||
InitialStartTime | Date-time | The date and time when the initial occurrence is scheduled to occur. |
Response body
The response returns same content as GET operation with updated properties.
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Give documentation feedback