POST api/yygh/getregistrabledepts

Request Information

URI Parameters

None.

Body Parameters

paraInGetRegistrableDepts
NameDescriptionTypeAdditional information
RegDate

string

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RegDate": "sample string 1",
  "Type": "sample string 2"
}

application/xml, text/xml

Sample:
<paraInGetRegistrableDepts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ydzf_api.Models">
  <RegDate>sample string 1</RegDate>
  <Type>sample string 2</Type>
</paraInGetRegistrableDepts>

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

Response Information

Resource Description

paraOutGetRegistrableDepts
NameDescriptionTypeAdditional information
RecordCount

string

None.

DeptInfo

Collection of paraOutGetRegistrableDeptsInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "RecordCount": "sample string 1",
  "DeptInfo": [
    {
      "DeptCode": "sample string 1",
      "DeptName": "sample string 2",
      "DeptDes": "sample string 3",
      "DeptAddress": "sample string 4",
      "RegisterFee": "sample string 5",
      "ClinicFee": "sample string 6",
      "TicketCount": "sample string 7"
    },
    {
      "DeptCode": "sample string 1",
      "DeptName": "sample string 2",
      "DeptDes": "sample string 3",
      "DeptAddress": "sample string 4",
      "RegisterFee": "sample string 5",
      "ClinicFee": "sample string 6",
      "TicketCount": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<paraOutGetRegistrableDepts xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ydzf_api.Models">
  <DeptInfo>
    <paraOutGetRegistrableDeptsInfo>
      <ClinicFee>sample string 6</ClinicFee>
      <DeptAddress>sample string 4</DeptAddress>
      <DeptCode>sample string 1</DeptCode>
      <DeptDes>sample string 3</DeptDes>
      <DeptName>sample string 2</DeptName>
      <RegisterFee>sample string 5</RegisterFee>
      <TicketCount>sample string 7</TicketCount>
    </paraOutGetRegistrableDeptsInfo>
    <paraOutGetRegistrableDeptsInfo>
      <ClinicFee>sample string 6</ClinicFee>
      <DeptAddress>sample string 4</DeptAddress>
      <DeptCode>sample string 1</DeptCode>
      <DeptDes>sample string 3</DeptDes>
      <DeptName>sample string 2</DeptName>
      <RegisterFee>sample string 5</RegisterFee>
      <TicketCount>sample string 7</TicketCount>
    </paraOutGetRegistrableDeptsInfo>
  </DeptInfo>
  <RecordCount>sample string 1</RecordCount>
</paraOutGetRegistrableDepts>