获取出厂检查结果
请求参数 | 类型 | 描述 |
---|---|---|
device_sn | string | 设备序列号 |
php
$instance->v3->iotmanage->deviceInspections->_device_sn_->getAsync([
'device_sn' => 'AAAAA123456789012345678',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/iotmanage/device-inspections/{device_sn}')->getAsync([
'device_sn' => 'AAAAA123456789012345678',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/iotmanage/device-inspections/{device_sn}']->getAsync([
'device_sn' => 'AAAAA123456789012345678',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->iotmanage->deviceInspections->_device_sn_->get([
'device_sn' => 'AAAAA123456789012345678',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/iotmanage/device-inspections/{device_sn}')->get([
'device_sn' => 'AAAAA123456789012345678',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/iotmanage/device-inspections/{device_sn}']->get([
'device_sn' => 'AAAAA123456789012345678',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典 | 类型 | 描述 |
---|---|---|
device_sn | string | 设备序列号 |
wired_mac | string | 有线网卡MAC地址 |
wireless_mac | string | 无线网卡MAC地址 |
bluetooth_mac | string | 蓝牙MAC地址 |
app_version | string | 刷脸应用版本号 |
camera_sn | string | 摄像头序列号 |
imei | string | 国际移动设备识别码 |
result | string | 查询结果SUCCESS | WARN | FAIL 枚举值之一 |
errors | string[] | 错误信息 |
warnings | string[] | 告警信息 |
inspect_time | string | 查询时间 |
参阅 官方文档