POST api/yygh/getyyrecord

Request Information

URI Parameters

None.

Body Parameters

paraInGetYYGHRecord
NameDescriptionTypeAdditional information
PatientID

string

None.

DateFrom

string

None.

DateTo

string

None.

DeviceNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientID": "sample string 1",
  "DateFrom": "sample string 2",
  "DateTo": "sample string 3",
  "DeviceNumber": "sample string 4"
}

application/xml, text/xml

Sample:
<paraInGetYYGHRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ydzf_api.Models">
  <DateFrom>sample string 2</DateFrom>
  <DateTo>sample string 3</DateTo>
  <DeviceNumber>sample string 4</DeviceNumber>
  <PatientID>sample string 1</PatientID>
</paraInGetYYGHRecord>

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

Response Information

Resource Description

paraOutGetYYGHRecord
NameDescriptionTypeAdditional information
ResultCode

string

None.

RecordCount

string

None.

RecordInfo

Collection of YYGHRecordItem

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": "sample string 1",
  "RecordCount": "sample string 2",
  "RecordInfo": [
    {
      "RegID": "sample string 1",
      "DateStart": "sample string 2",
      "DeptCode": "sample string 3",
      "DeptName": "sample string 4",
      "DoctorCode": "sample string 5",
      "DoctorName": "sample string 6",
      "DoctorTitle": "sample string 7"
    },
    {
      "RegID": "sample string 1",
      "DateStart": "sample string 2",
      "DeptCode": "sample string 3",
      "DeptName": "sample string 4",
      "DoctorCode": "sample string 5",
      "DoctorName": "sample string 6",
      "DoctorTitle": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<paraOutGetYYGHRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ydzf_api.Models">
  <RecordCount>sample string 2</RecordCount>
  <RecordInfo>
    <YYGHRecordItem>
      <DateStart>sample string 2</DateStart>
      <DeptCode>sample string 3</DeptCode>
      <DeptName>sample string 4</DeptName>
      <DoctorCode>sample string 5</DoctorCode>
      <DoctorName>sample string 6</DoctorName>
      <DoctorTitle>sample string 7</DoctorTitle>
      <RegID>sample string 1</RegID>
    </YYGHRecordItem>
    <YYGHRecordItem>
      <DateStart>sample string 2</DateStart>
      <DeptCode>sample string 3</DeptCode>
      <DeptName>sample string 4</DeptName>
      <DoctorCode>sample string 5</DoctorCode>
      <DoctorName>sample string 6</DoctorName>
      <DoctorTitle>sample string 7</DoctorTitle>
      <RegID>sample string 1</RegID>
    </YYGHRecordItem>
  </RecordInfo>
  <ResultCode>sample string 1</ResultCode>
</paraOutGetYYGHRecord>