POST Api/PC/BCGZZ

B超工作站往BS上传数据

Request Information

URI Parameters

None.

Body Parameters

BaseRequestOfBCGZZSaveModel
NameDescriptionTypeAdditional information
QueryType

string

None.

OrgCold

string

None.

Data

BCGZZSaveModel

None.

Request Formats

application/json, text/json

Sample:
{
  "QueryType": "sample string 1",
  "OrgCold": "sample string 2",
  "Data": {
    "ID": 1,
    "UserID": "sample string 2",
    "Cold": "sample string 3",
    "CSSJ": "sample string 4",
    "CSZD": "sample string 5",
    "Flag": "sample string 6",
    "Pic1": "sample string 7",
    "Pic2": "sample string 8",
    "Pic3": "sample string 9",
    "Pic4": "sample string 10",
    "Name": "sample string 11",
    "Age": "sample string 12",
    "Sex": "sample string 13",
    "Doctor": "sample string 14",
    "DTime": "sample string 15",
    "Pic1Buf": "sample string 16",
    "Pic2Buf": "sample string 17",
    "Pic3Buf": "sample string 18",
    "Pic4Buf": "sample string 19",
    "QtFlag": "sample string 20",
    "BCparts": "sample string 21",
    "QtCSZD": "sample string 22"
  }
}

application/xml, text/xml

Sample:
<BaseRequestOfBCGZZSaveModelrgM_S79lN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.MobileAPI.Areas.Models">
  <Data>
    <Age>sample string 12</Age>
    <BCparts>sample string 21</BCparts>
    <CSSJ>sample string 4</CSSJ>
    <CSZD>sample string 5</CSZD>
    <Cold>sample string 3</Cold>
    <DTime>sample string 15</DTime>
    <Doctor>sample string 14</Doctor>
    <Flag>sample string 6</Flag>
    <ID>1</ID>
    <Name>sample string 11</Name>
    <Pic1>sample string 7</Pic1>
    <Pic1Buf>sample string 16</Pic1Buf>
    <Pic2>sample string 8</Pic2>
    <Pic2Buf>sample string 17</Pic2Buf>
    <Pic3>sample string 9</Pic3>
    <Pic3Buf>sample string 18</Pic3Buf>
    <Pic4>sample string 10</Pic4>
    <Pic4Buf>sample string 19</Pic4Buf>
    <QtCSZD>sample string 22</QtCSZD>
    <QtFlag>sample string 20</QtFlag>
    <Sex>sample string 13</Sex>
    <UserID>sample string 2</UserID>
  </Data>
  <OrgCold>sample string 2</OrgCold>
  <QueryType>sample string 1</QueryType>
</BaseRequestOfBCGZZSaveModelrgM_S79lN>

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 'BaseRequest`1'.

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>