Help Center/ Service Tickets/ API Reference/ API v2 (Recommended)/ Quick Diagnosis/ Querying Execution Result of a Specified Diagnosis Check Item Based on the Item ID
Updated on 2025-11-07 GMT+08:00

Querying Execution Result of a Specified Diagnosis Check Item Based on the Item ID

Function

Query the execution result of a specified diagnosis check item based on the item ID.

URI

POST /v2.0/servicerequest/diagnose/job/show-items

Request Parameters

Table 1 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the user token. It can be obtained by calling the IAM API (value of X-Subject-Token in the response header).

Minimum length: 1

Maximum length: 5000

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

job_id

No

String

Specifies the job ID.

Minimum length: 0

Maximum length: 65535

item_ids

No

String

Specifies the diagnosis ID list.

Minimum length: 1

Maximum length: 100

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

error_code

String

Specifies the error code.

Minimum length: 0

Maximum length: 32

error_msg

String

Describes the error.

Minimum length: 0

Maximum length: 32

item_results

Array of ItemResultDetailVo objects

Status the check result list.

Array length: 0 - 2147483647

Table 4 ItemResultDetailVo

Parameter

Type

Description

status

Integer

Specifies the status.

Minimum value: 0

Maximum value: 65535

level

Integer

Specifies the risk level of a check item.

Minimum value: 0

Maximum value: 65535

suggestion

String

Specifies the fixing suggestions for a check item.

Minimum length: 0

Maximum length: 65535

response

String

Specifies the response of a check item.

Minimum length: 0

Maximum length: 65535

check_id

String

Specifies the ID of a check item.

Minimum length: 0

Maximum length: 64

check_name

String

Specifies the Chinese name of a check item.

Minimum length: 0

Maximum length: 65535

check_name_en

String

Specifies the English name of a check item.

Minimum length: 0

Maximum length: 65535

suggestion_url

String

Specifies the URL of the fixing suggestions for a check item.

Minimum length: 0

Maximum length: 65535

Request Example

POST https://{endpoint}/v2.0/servicerequest/diagnose/job/show-items

{
  "job_id" : "job id",
  "item_ids" : "Diagnosis ID list"
}

Response Example

Status code: 200

Code 200 is returned if the operation is successful.

{
  "item_results" : [ {
    "status" : 1,
    "level" : 1,
    "suggestion" : "Fixing suggestions for a check item",
    "response" : "Response of a check item",
    "check_id" : "ID of a check item",
    "check_name" : "Chinese name of a check item",
    "check_name_en" : "English name of a check item",
    "suggestion_url" : "URL of the fixing suggestions for a check item"
  } ]
}

Status Codes

Status Code

Description

200

Code 200 is returned if the operation is successful.

Error Codes

See Error Codes.