POST api/docs/ExamItem/Post
Request Information
URI Parameters
None.
Body Parameters
ExamItemDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| HospitalID | integer |
None. |
|
| ExamRegID | integer |
None. |
|
| ItemID | integer |
None. |
|
| Name | string |
None. |
|
| ItemType | integer |
None. |
|
| Price | decimal number |
None. |
|
| PackageID | integer |
None. |
|
| DepartmentTypeID | integer |
None. |
|
| PayerType | integer |
None. |
|
| Discount | decimal number |
None. |
|
| DiscountPrice | decimal number |
None. |
|
| TestTubeID | integer |
None. |
|
| SampleTypeID | integer |
None. |
|
| ExtLaboratoryID | integer |
None. |
|
| BarCodeNo | string |
None. |
|
| BarCodePrintTime | date |
None. |
|
| BarCodePrintUserID | integer |
None. |
|
| IsPromote | boolean |
None. |
|
| PromoteUserID | integer |
None. |
|
| PromoteTime | date |
None. |
|
| ChargingPersonID | integer |
None. |
|
| Paid | boolean |
None. |
|
| IsDining | boolean |
None. |
|
| ShowIndex | integer |
None. |
|
| CollectionTime | date |
None. |
|
| CollectionUserID | integer |
None. |
|
| CollectionUserName | string |
None. |
|
| SampleNo | string |
None. |
|
| SampleNoTime | date |
None. |
|
| SampleNoUserID | integer |
None. |
|
| State | integer |
None. |
|
| ExecTime | date |
None. |
|
| ExecUserID | integer |
None. |
|
| ExecUserName | string |
None. |
|
| ReviewTime | date |
None. |
|
| ReviewUserID | integer |
None. |
|
| ReviewUserName | string |
None. |
|
| AbandonMemo | string |
None. |
|
| UpdateTime | date |
None. |
|
| UpdateUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"HospitalID": 1,
"ExamRegID": 1,
"ItemID": 1,
"Name": "sample string 1",
"ItemType": 1,
"Price": 1.0,
"PackageID": 1,
"DepartmentTypeID": 1,
"PayerType": 1,
"Discount": 1.0,
"DiscountPrice": 1.0,
"TestTubeID": 1,
"SampleTypeID": 1,
"ExtLaboratoryID": 1,
"BarCodeNo": "sample string 2",
"BarCodePrintTime": "2026-10-21T08:36:15.38684+08:00",
"BarCodePrintUserID": 1,
"IsPromote": true,
"PromoteUserID": 1,
"PromoteTime": "2026-10-21T08:36:15.38684+08:00",
"ChargingPersonID": 1,
"Paid": true,
"IsDining": true,
"ShowIndex": 1,
"CollectionTime": "2026-10-21T08:36:15.3878619+08:00",
"CollectionUserID": 1,
"CollectionUserName": "sample string 3",
"SampleNo": "sample string 4",
"SampleNoTime": "2026-10-21T08:36:15.3878619+08:00",
"SampleNoUserID": 1,
"State": 1,
"ExecTime": "2026-10-21T08:36:15.3878619+08:00",
"ExecUserID": 1,
"ExecUserName": "sample string 5",
"ReviewTime": "2026-10-21T08:36:15.3878619+08:00",
"ReviewUserID": 1,
"ReviewUserName": "sample string 6",
"AbandonMemo": "sample string 7",
"UpdateTime": "2026-10-21T08:36:15.3878619+08:00",
"UpdateUserID": 1
}
application/xml, text/xml
Sample:
<ExamItemDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO"> <AbandonMemo>sample string 7</AbandonMemo> <BarCodeNo>sample string 2</BarCodeNo> <BarCodePrintTime>2026-10-21T08:36:15.38684+08:00</BarCodePrintTime> <BarCodePrintUserID>1</BarCodePrintUserID> <ChargingPersonID>1</ChargingPersonID> <CollectionTime>2026-10-21T08:36:15.3878619+08:00</CollectionTime> <CollectionUserID>1</CollectionUserID> <CollectionUserName>sample string 3</CollectionUserName> <DepartmentTypeID>1</DepartmentTypeID> <Discount>1</Discount> <DiscountPrice>1</DiscountPrice> <ExamRegID>1</ExamRegID> <ExecTime>2026-10-21T08:36:15.3878619+08:00</ExecTime> <ExecUserID>1</ExecUserID> <ExecUserName>sample string 5</ExecUserName> <ExtLaboratoryID>1</ExtLaboratoryID> <HospitalID>1</HospitalID> <ID>1</ID> <IsDining>true</IsDining> <IsPromote>true</IsPromote> <ItemID>1</ItemID> <ItemType>1</ItemType> <Name>sample string 1</Name> <PackageID>1</PackageID> <Paid>true</Paid> <PayerType>1</PayerType> <Price>1</Price> <PromoteTime>2026-10-21T08:36:15.38684+08:00</PromoteTime> <PromoteUserID>1</PromoteUserID> <ReviewTime>2026-10-21T08:36:15.3878619+08:00</ReviewTime> <ReviewUserID>1</ReviewUserID> <ReviewUserName>sample string 6</ReviewUserName> <SampleNo>sample string 4</SampleNo> <SampleNoTime>2026-10-21T08:36:15.3878619+08:00</SampleNoTime> <SampleNoUserID>1</SampleNoUserID> <SampleTypeID>1</SampleTypeID> <ShowIndex>1</ShowIndex> <State>1</State> <TestTubeID>1</TestTubeID> <UpdateTime>2026-10-21T08:36:15.3878619+08:00</UpdateTime> <UpdateUserID>1</UpdateUserID> </ExamItemDTO>
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.