获取设备定损报告列表
GET
/openapi/v0.9/manage/api/v1/organizations/{org_uuid}/manage-devices/self-diagnostic
es-management-service
请求参数
Path 参数
org_uuid
string
必需
Query 参数
device_sn
string
设备序列号
示例值:
1HQDG4K0040069
status
array[string]
报告状态
示例值:
processing,completed
report_time_begin
integer
报告开始时间
示例值:
1609459200
report_time_end
integer
报告结束时间
示例值:
1609545600
report_user
array[string]
报告用户
示例值:
user1,user2
part
integer
自检部件
示例值:
1
origin
integer
来源
示例值:
1
page
integer
页码
默认值:
1
示例值:
1
page_size
integer
每页数量
默认值:
50
示例值:
20
Header 参数
x-user-token
string
必需
默认值:
{{x-user-token}}
X-Request-Id
string
可选
默认值:
{% mock 'uuid' %}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/openapi/v0.9/manage/api/v1/organizations//manage-devices/self-diagnostic?device_sn=1HQDG4K0040069&status=processing,completed&report_time_begin=1609459200&report_time_end=1609545600&report_user=user1,user2&part=1&origin=1&page=1&page_size=20' \
--header 'x-user-token;' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}'
返回响应
🟢200成功
application/json
Body
HTTP响应模板
code
integer
响应码
message
string
响应消息
data
object
响应数据
list
object
dto.GetOrganizationDeviceSelfDiagnosticReportRsp
pagination
object
do.Pagination
示例
{
"code": 0,
"message": "string",
"data": {
"list": {
"list": [
{
"bid": "string",
"create_time": 0,
"device_model_key": "string",
"device_organization_callsign": "string",
"device_report_progress": {
"percent": 0,
"result": 0,
"sn": "string",
"status": "string"
},
"device_sn": "string",
"origin": 0,
"part": 0,
"report_user_id": "string",
"report_user_organization_callsign": "string",
"report_uuid": "string",
"result_code": 0,
"self_diagnostic_result": {
"high": [
{
"error_code_list": {
"alert": {
"error_code_details": [
{
"error_code": "string",
"error_code_describe": "string",
"error_code_describe_en": "string",
"level": 0
}
],
"total": 0
},
"notice": {
"error_code_details": [
{
"error_code": "string",
"error_code_describe": "string",
"error_code_describe_en": "string",
"level": 0
}
],
"total": 0
},
"warning": {
"error_code_details": [
{
"error_code": "string",
"error_code_describe": "string",
"error_code_describe_en": "string",
"level": 0
}
],
"total": 0
}
},
"hms_total": 0,
"material_name": "string",
"material_num": "string",
"material_probability": "string"
}
],
"low": [
{
"error_code_list": {
"alert": {
"error_code_details": [
{
"error_code": "string",
"error_code_describe": "string",
"error_code_describe_en": "string",
"level": 0
}
],
"total": 0
},
"notice": {
"error_code_details": [
{
"error_code": "string",
"error_code_describe": "string",
"error_code_describe_en": "string",
"level": 0
}
],
"total": 0
},
"warning": {
"error_code_details": [
{
"error_code": "string",
"error_code_describe": "string",
"error_code_describe_en": "string",
"level": 0
}
],
"total": 0
}
},
"hms_total": 0,
"material_name": "string",
"material_num": "string",
"material_probability": "string"
}
],
"mid": [
{
"error_code_list": {
"alert": {
"error_code_details": [
{
"error_code": "string",
"error_code_describe": "string",
"error_code_describe_en": "string",
"level": 0
}
],
"total": 0
},
"notice": {
"error_code_details": [
{
"error_code": "string",
"error_code_describe": "string",
"error_code_describe_en": "string",
"level": 0
}
],
"total": 0
},
"warning": {
"error_code_details": [
{
"error_code": "string",
"error_code_describe": "string",
"error_code_describe_en": "string",
"level": 0
}
],
"total": 0
}
},
"hms_total": 0,
"material_name": "string",
"material_num": "string",
"material_probability": "string"
}
]
},
"status": "string"
}
]
},
"pagination": {
"page": 1,
"page_size": 1,
"total": 100
}
}
}
修改于 2025-06-27 12:02:06