跳到主要内容
版本:2.0.0@Current

验证设备SN与CheckCode是否匹配

✨ 案例

Request

curl --location -g '{{EU}}/device/checkCodeAndSn?deviceSn=A11230010013204A&checkCode=0594424' \
--header 'token: xxxx'

Response ①

{
"errorCode": 0,
"info": null,
"body": true,
"successful": true
}

Response ②

{
"errorCode": 1,
"info": {
"code": "error.70011",
"description": "The serial number and the check code do not match"
},
"body": null,
"successful": false
}