POST Api/Mobile/Check/NJBW

Request Information

URI Parameters

None.

Body Parameters

BaoWeiResult
NameDescriptionTypeAdditional information
date

date

None.

No

string

None.

barcode

string

None.

results

Collection of data

None.

Request Formats

application/json, text/json

Sample:
{
  "date": "2025-01-22T13:11:21.7458336+08:00",
  "No": "sample string 1",
  "barcode": "sample string 2",
  "results": [
    {
      "item": "sample string 1",
      "value": "sample string 2",
      "unit": "sample string 3",
      "abnormal": true
    },
    {
      "item": "sample string 1",
      "value": "sample string 2",
      "unit": "sample string 3",
      "abnormal": true
    }
  ]
}

application/xml, text/xml

Sample:
<BaoWeiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.MobileAPI.Areas.Models">
  <No>sample string 1</No>
  <barcode>sample string 2</barcode>
  <date>2025-01-22T13:11:21.7458336+08:00</date>
  <results>
    <data>
      <abnormal>true</abnormal>
      <item>sample string 1</item>
      <unit>sample string 3</unit>
      <value>sample string 2</value>
    </data>
    <data>
      <abnormal>true</abnormal>
      <item>sample string 1</item>
      <unit>sample string 3</unit>
      <value>sample string 2</value>
    </data>
  </results>
</BaoWeiResult>

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 'BaoWeiResult'.

Response Information

Resource Description

BaseResponse
NameDescriptionTypeAdditional information
ResponseCode

返回Code

integer

None.

ResponseMsg

返回信息

string

None.

ResponseData

返回数据Json字符串

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseMsg": "sample string 2",
  "ResponseData": "sample string 3"
}

application/xml, text/xml

Sample:
<BaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.MobileAPI.Areas.Models">
  <ResponseCode>1</ResponseCode>
  <ResponseData>sample string 3</ResponseData>
  <ResponseMsg>sample string 2</ResponseMsg>
</BaseResponse>