GET /nodes/{uuid}/jobs/{job-id}
Use this method to return the return active job information on a specific ThinkSystem or ThinkAgile server.
Note
This REST API requires Lenovo XClarity Administrator v4.2.0 or later.
Authentication
Authentication with username and password is required.
Request URL
GET https://{management_server_IP}/nodes/{uuid}/jobs/{job-id}
where
{uuid iis the UUID of the server
{job-id} is the ID of the job to be returned
Query parameters
Parameter | Required / Optional | Description |
---|---|---|
IncludeDetail={Boolean} | Optional | Indicates whether to return job details. This can be one of the following values.
|
The following example returns information only about the job.
GET https://192.0.2.0/nodes/b7d353d9a8019a434aa8948a6d16f3/tasks/7
The following example returns information about the job, steps, and members.
GET https://192.0.2.0/nodes/b7d353d9a8019a434aa8948a6d16f3/tasks/7?IncludeDetail=true
Request body
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
404 | Not found | A specified resource cannot be found. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||||
---|---|---|---|---|---|---|
Id | String | Job ID | ||||
Description | String | Job description | ||||
EndTime | String | Timestamp, in ISO-8601 format, when the job completed | ||||
JobState | String | Job state | ||||
JobStatus | String | Job status | ||||
Messages | Array of objects | Information about each message for the overall job | ||||
Message | String | Message text | ||||
MessageArgs | String | List of message arguments | ||||
MessageId | String | Message ID | ||||
MessageSeverity | String | Message severity | ||||
Resolution | String | Message resolution | ||||
@odata.type | String | |||||
Name | String | Job name | ||||
PercentComplete | String | Percentage complete of the job. This can be an integer from 0 - 100. | ||||
StartTime | String | Timestamp, in ISO-8601 format, when the job started | ||||
StepOrder | Array of strings | |||||
Steps | Array of objects | Information about each task in the job | ||||
Description | String | Task description | ||||
Members | Array of objects | |||||
Id | String | Task ID | ||||
JobState | String | Task state | ||||
JobStatus | String | Task status | ||||
Messages | Array of objects | Information about each message for the substep | ||||
Message | String | Message text | ||||
MessageArgs | Array of strings | List of message arguments | ||||
MessageId | String | Message ID | ||||
MessageSeverity | String | Message severity | ||||
Resolution | String | Message resolution | ||||
@odata.type | String | |||||
Name | String | Task name | ||||
PercentComplete | String | Percentage complete of the task. This can be an integer from 0 - 100. | ||||
StartTime | String | Timestamp, in ISO-8601 format, when the task completed | ||||
@odata.id | String | |||||
Name | String | Task name | ||||
@odata.id | String | |||||
@odata.id | String |
The following example is returned if the request is successful and includeDetails is false.
{
"Id": "FW_Update_6",
"Description": "This resource is used to represent a job for a Redfish implementation.",
"EndTime": "2025-01-20T08:45:36+00:00",
"JobState": "Exception",
"JobStatus": "Critical",
"Messages": [{
"Message": "The target device '/redfish/v1/UpdateService/FirmwareInventory/SCM-FPGA' will be updated with image 'ef3a7e0b-aa14-441c-8af1-3276dd724f2c'.",
"MessageArgs": [
"/redfish/v1/UpdateService/FirmwareInventory/SCM-FPGA",
"ef3a7e0b-aa14-441c-8af1-3276dd724f2c"
],
"MessageId": "Update.1.0.1.TargetDetermined",
"MessageSeverity": "OK",
"Resolution": "None.",
"@odata.type": "#Message.v1_1_1.Message"
}],
"Name": "FW_Update_6",
"PercentComplete": 0,
"StartTime": "2025-01-20T08:43:54+00:00",
"StepOrder": [ "lnvgy_fw_dcscm_ihfs01n-2.44_anyos_comp.uxz" ],
"Steps": {
"Description": null,
"Members": [],
"Name": null,
"@odata.id": "/redfish/v1/JobService/Jobs/FW_Update_33/Steps"
},
"@odata.id": "/redfish/v1/JobService/Jobs/FW_Update_6"
}
The following example is returned if the request is successful and includeDetails is true.
{
"Id": "FW_Update_6",
"Description": "This resource is used to represent a job for a Redfish implementation.",
"EndTime": "2025-01-20T08:45:36+00:00",
"JobState": "Exception",
"JobStatus": "Critical",
"Messages": [{
"Message": "The target device '/redfish/v1/UpdateService/FirmwareInventory/SCM-FPGA' will be updated with image 'ef3a7e0b-aa14-441c-8af1-3276dd724f2c'.",
"MessageArgs": [
"/redfish/v1/UpdateService/FirmwareInventory/SCM-FPGA",
"ef3a7e0b-aa14-441c-8af1-3276dd724f2c"
],
"MessageId": "Update.1.0.1.TargetDetermined",
"MessageSeverity": "OK",
"Resolution": "None.",
"@odata.type": "#Message.v1_1_1.Message"
}],
"Name": "FW_Update_6",
"PercentComplete": 0,
"StartTime": "2025-01-20T08:43:54+00:00",
"StepOrder": [ "lnvgy_fw_dcscm_ihfs01n-2.44_anyos_comp.uxz" ],
"Steps": {
"Description": "A collection of Job resource instances.",
"Members": [{
"Id": "lnvgy_fw_dcscm_ihfs01n-2.44_anyos_comp.uxz",
"JobState": "Exception",
"JobStatus": "OK",
"Messages": [{
"Message": "Awaiting for an action to proceed with installing image 'ef3a7e0b-aa14-441c-8af1-3276dd724f2c' on '/redfish/v1/UpdateService/FirmwareInventory/SCM-FPGA'.",
"MessageArgs": [
"ef3a7e0b-aa14-441c-8af1-3276dd724f2c",
"/redfish/v1/UpdateService/FirmwareInventory/SCM-FPGA"
],
"MessageId": "Update.1.0.1.AwaitToUpdate",
"MessageSeverity": "OK",
"Resolution": "Perform the requested action to advance the update operation.",
"@odata.type": "#Message.v1_1_1.Message"
}],
"Name": "lnvgy_fw_dcscm_ihfs01n-2.44_anyos_comp.uxz",
"PercentComplete": 0,
"StartTime": "2025-01-20T08:43:54+00:00",
"@odata.id": "/redfish/v1/JobService/Jobs/FW_Update_6/Steps/lnvgy_fw_dcscm_ihfs01n-2.44_anyos_comp.uxz"
}],
"Name": "FW_Update_6 Job Steps",
"@odata.id": "/redfish/v1/JobService/Jobs/FW_Update_6/Steps"
},
"@odata.id": "/redfish/v1/JobService/Jobs/FW_Update_6"
}
Give documentation feedback