POST sh05/uploadData

上传体检数据

Request Information

URI Parameters

None.

Body Parameters

sh05UploadData
NameDescriptionTypeAdditional information
mac

mac

string

None.

data

Collection of DATA05

None.

Request Formats

application/json, text/json

Sample:
{
  "mac": "sample string 1",
  "data": [
    {
      "idCard": "sample string 1",
      "cardNo": "sample string 2",
      "createTime": "2025-01-22T13:13:24.0154931+08:00",
      "height": 1.0,
      "weight": 1.0,
      "hwBmi": 1.0,
      "heightPressure": 1,
      "lowPressure": 1
    },
    {
      "idCard": "sample string 1",
      "cardNo": "sample string 2",
      "createTime": "2025-01-22T13:13:24.0154931+08:00",
      "height": 1.0,
      "weight": 1.0,
      "hwBmi": 1.0,
      "heightPressure": 1,
      "lowPressure": 1
    }
  ]
}

application/xml, text/xml

Sample:
<sh05UploadData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.MobileAPI.Areas.Display.Models">
  <data>
    <DATA05>
      <cardNo>sample string 2</cardNo>
      <createTime>2025-01-22T13:13:24.0154931+08:00</createTime>
      <height>1</height>
      <heightPressure>1</heightPressure>
      <hwBmi>1</hwBmi>
      <idCard>sample string 1</idCard>
      <lowPressure>1</lowPressure>
      <weight>1</weight>
    </DATA05>
    <DATA05>
      <cardNo>sample string 2</cardNo>
      <createTime>2025-01-22T13:13:24.0154931+08:00</createTime>
      <height>1</height>
      <heightPressure>1</heightPressure>
      <hwBmi>1</hwBmi>
      <idCard>sample string 1</idCard>
      <lowPressure>1</lowPressure>
      <weight>1</weight>
    </DATA05>
  </data>
  <mac>sample string 1</mac>
</sh05UploadData>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.