POST new/uniqueqr/sci/byScan
按扫码原文返回已绑定科学维码信息(唯一码、采购方、产线、型号、序列号等)。仅需登录,不做部门权限校验。claim=true 时写入当前用户的我的设备。
Request Information
URI Parameters
None.
Body Parameters
UniqueQRSciByScanRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Scan |
扫码原文:验真 H5、weixin.qq.com/q/ 关注码、或唯一码明文 |
string |
None. |
| Claim |
true 时把本次成功扫码计入当前登录用户的「我的设备」。默认 false,既有调用不传则不认领。 |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Scan": "sample string 1",
"Claim": true
}
application/xml, text/xml
Sample:
<UniqueQRSciByScanRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos"> <Claim>true</Claim> <Scan>sample string 1</Scan> </UniqueQRSciByScanRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiDataResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Ok |
接口是否成功。 |
boolean |
None. |
| Data |
返回数据。 |
Object |
None. |
| Msg |
返回消息。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Ok": true,
"Data": {},
"Msg": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiDataResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos"> <Data /> <Msg>sample string 3</Msg> <Ok>true</Ok> </ApiDataResponse>