POST api/docs/MedType/Post

Request Information

URI Parameters

None.

Body Parameters

MedTypeDTO
NameDescriptionTypeAdditional information
ID

integer

None.

PlatformID

integer

None.

HospitalID

integer

None.

Name

string

None.

Available

boolean

None.

UpdateTime

date

None.

UpdateUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PlatformID": 1,
  "HospitalID": 1,
  "Name": "sample string 1",
  "Available": true,
  "UpdateTime": "2026-05-02T18:07:02.3499548+08:00",
  "UpdateUserID": 1
}

application/xml, text/xml

Sample:
<MedTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">
  <Available>true</Available>
  <HospitalID>1</HospitalID>
  <ID>1</ID>
  <Name>sample string 1</Name>
  <PlatformID>1</PlatformID>
  <UpdateTime>2026-05-02T18:07:02.3499548+08:00</UpdateTime>
  <UpdateUserID>1</UpdateUserID>
</MedTypeDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.