POST new/gd/sp/getSN

查询SN号是否存在

Request Information

URI Parameters

None.

Body Parameters

GdSpSnSearchRequest
NameDescriptionTypeAdditional information
Sn

序列号。

string

None.

ProductName

产品名称(品牌筛选)。

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Sn": "sample string 1",
  "ProductName": "sample string 2"
}

application/xml, text/xml

Sample:
<GdSpSnSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ma.Api.Controllers.Dtos">
  <ProductName>sample string 2</ProductName>
  <Sn>sample string 1</Sn>
</GdSpSnSearchRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GdSpSnSearchRequest'.

Response Information

Resource Description

ApiDataResponse
NameDescriptionTypeAdditional 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>