Skip to main content

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

FieldTypeDescription

Id

String

TaskService

Name

String

Task Service

Description

String

This resource represents a task service for a Redfish implementation.

CompletedTaskOverWritePolicy

String

Oldest

DateTime

String

The current DateTime (with offset) setting that the task service is using.

LifeCycleEventOnTaskStateChange

Boolean

True

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 CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"@odata.etag": "\"DC0E2AA2\"",
"@odata.id": "/redfish/v1/TaskService",
"@odata.type": "#TaskService.v1_1_4.TaskService",
"CompletedTaskOverWritePolicy": "Oldest",
"DateTime": "2024-12-04T05:30:57+00:00",
"Description": "This resource represents a task service for a Redfish implementation.",
"Id": "TaskService",
"LifeCycleEventOnTaskStateChange": false,
"Name": "Task Service",
"ServiceEnabled": true,
"Status": {
"Health": "OK",
"HealthRollup": "OK",
"State": "Enabled"
},
"Tasks": {
"@odata.id": "/redfish/v1/TaskService/Tasks"
}
}