Skip to main content

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 retruned

Query parameters

None

Request body

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
404Not foundA specified resource cannot be found. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
IdStringJob ID
DescriptionStringJob description
EndTimeStringTimestamp, in ISO-8601 format, when the job completed
JobStateStringJob state
JobStatusStringJob status
MessagesArray of objectsInformation about each message for the overall job
 MessageStringMessage text
 MessageArgsStringList of message arguments
 MessageIdStringMessage ID
 MessageSeverityStringMessage severity
 ResolutionStringMessage resolution
 @odata.typeString 
NameStringJob name
PercentCompleteStringPercentage complete of the job. This can be an integer from 0 - 100.
StartTimeStringTimestamp, in ISO-8601 format, when the job started
StepOrderArray of strings 
StepsArray of objectsInformation about each task in the job
 DescriptionStringTask description
 MembersArray of objects 
  IdStringTask ID
  JobStateStringTask state
  JobStatusStringTask status
  MessagesArray of objectsInformation about each message for the substep
   MessageStringMessage text
   MessageArgsArray of stringsList of message arguments
   MessageIdStringMessage ID
   MessageSeverityStringMessage severity
   ResolutionStringMessage resolution
  NameStringTask name
  PercentCompleteStringPercentage complete of the task. This can be an integer from 0 - 100.
  StartTimeStringTimestamp, in ISO-8601 format, when the task completed
  @odata.idString 
 NameStringTask name
The following example is returned if the request is successful.
{
"Id": "FW_Update_6",
"Description": "This resource is used to represent a job for a Redfish implementation.",
"EndTime": "2024-08-08T19:30:01+00:00",
"JobState": "Exception",
"JobStatus": "Critical",
"Messages": [
{
"Message": "The target device '/redfish/v1/UpdateService/FirmwareInventory/PCIeDevice_slot8_0xae0000.Bundle'
will be updated with image '37f353d9-8019-434a-8948-6d16f3beaba0'.",
"MessageArgs": [
"/redfish/v1/UpdateService/FirmwareInventory/PCIeDevice_slot8_0xae0000.Bundle",
"37f353d9-8019-434a-8948-6d16f3beaba0"
],
"MessageId": "Update.1.0.1.TargetDetermined",
"MessageSeverity": "OK",
"Resolution": "None.",
"@odata.type": "#Message.v1_1_1.Message"
}
],
"Name": "FW_Update_6",
"PercentComplete": 0,
"StartTime": "2024-08-08T19:09:21+00:00",
"StepOrder": [
"brcm-lnvgy_fw_nic_nx1.14e4.1657.17aa.4104-230.0.3.1-040_anyos_comp.lvt"
],
"Steps": {
"Description": "A collection of Job resource instances.",
"Members": [
{
"Id": "brcm-lnvgy_fw_nic_nx1.14e4.1657.17aa.4104-230.0.3.1-040_anyos_comp.lvt",
"JobState": "Exception",
"JobStatus": "OK",
"Messages": [
{
"Message": "Awaiting for an action to proceed with installing image
'37f353d9-8019-434a-8948-6d16f3beaba0' on '/redfish/v1/UpdateService/FirmwareInventory/PCIeDevice_slot8_0xae0000.Bundle'.",
"MessageArgs": [
"37f353d9-8019-434a-8948-6d16f3beaba0",
"/redfish/v1/UpdateService/FirmwareInventory/PCIeDevice_slot8_0xae0000.Bundle"
],
"MessageId": "Update.1.0.1.AwaitToUpdate",
"MessageSeverity": "OK",
"Resolution": "Perform the requested action to advance the update operation.",
}
],
"Name": "brcm-lnvgy_fw_nic_nx1.14e4.1657.17aa.4104-230.0.3.1-040_anyos_comp.lvt",
"PercentComplete": 0,
"StartTime": "2024-08-08T19:09:22+00:00",
"@odata.id": "/redfish/v1/JobService/Jobs/FW_Update_6/Steps/brcm-lnvgy_fw_nic_nx1.14e4.1657.17aa.4104-230.0.3.1-040_anyos_comp.lvt"
}
],
"Name": "FW_Update_6 Job Steps"
}
}