GET – Task service properties
Use the GET method to retrieve properties in TaskService resource for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/TaskService
Request body
None
Response body
Field | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
Id | String | “TaskService”. | ||||||
Name | String | “Task Service”. | ||||||
DateTime | String | The current DateTime (with offset) setting that the task service is using. | ||||||
CompletedTaskOverWritePolicy | String | “Oldest”. | ||||||
ServiceEnabled | Boolean | This indicates whether this service is enabled. Value: True | ||||||
Status | Object | Expanded. | ||||||
State | String | “Enabled”. | ||||||
Health | String | “OK”. | ||||||
HealthRollup | String | “OK”. | ||||||
Tasks | Link | This property shall contain the link to a collection of type Task. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"Tasks": {
"@odata.id": "/redfish/v1/TaskService/Tasks"
},
"Id": "TaskService",
"Status": {
"HealthRollup": "OK",
"Health": "OK",
"State": "Enabled"
},
"Name": "Task Service",
"ServiceEnabled": true,
"DateTime": "2019-11-11T14:51:52+00:00",
"@odata.type": "#TaskService.v1_1_3.TaskService",
"CompletedTaskOverWritePolicy": "Oldest",
"@odata.etag": "\"381031aeeabf8aa7d88a786db25df665\"",
"@odata.id": "/redfish/v1/TaskService",
"Description": "This resource represents a task service for a Redfish implementation."
}
Give documentation feedback