POST api/SampleType
Request Information
URI Parameters
None.
Body Parameters
SampleTypeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PlatformID | integer |
None. |
|
| HospitalID | integer |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| ListSingleRow | boolean |
None. |
|
| ListPrintName | string |
None. |
|
| Memo | string |
None. |
|
| ShowIndex | integer |
None. |
|
| Available | boolean |
None. |
|
| UpdateTime | date |
None. |
|
| UpdateUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"PlatformID": 1,
"HospitalID": 1,
"Code": "sample string 1",
"Name": "sample string 2",
"ListSingleRow": true,
"ListPrintName": "sample string 3",
"Memo": "sample string 4",
"ShowIndex": 1,
"Available": true,
"UpdateTime": "2026-10-21T08:39:29.9253159+08:00",
"UpdateUserID": 1
}
application/xml, text/xml
Sample:
<SampleTypeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO"> <Available>true</Available> <Code>sample string 1</Code> <HospitalID>1</HospitalID> <ID>1</ID> <ListPrintName>sample string 3</ListPrintName> <ListSingleRow>true</ListSingleRow> <Memo>sample string 4</Memo> <Name>sample string 2</Name> <PlatformID>1</PlatformID> <ShowIndex>1</ShowIndex> <UpdateTime>2026-10-21T08:39:29.9253159+08:00</UpdateTime> <UpdateUserID>1</UpdateUserID> </SampleTypeDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.