PUT api/GwDataRule
Request Information
URI Parameters
None.
Body Parameters
GwDataRuleDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| HospitalID | integer |
None. |
|
| SysIndexKey | integer |
None. |
|
| RuleType | integer |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| ValueType | integer |
None. |
|
| TrueExpression | string |
None. |
|
| ValueExpression | string |
None. |
|
| ShowIndex | integer |
None. |
|
| Memo | string |
None. |
|
| Available | boolean |
None. |
|
| UpdateTime | date |
None. |
|
| UpdateUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"HospitalID": 1,
"SysIndexKey": 1,
"RuleType": 1,
"Code": "sample string 1",
"Name": "sample string 2",
"ValueType": 1,
"TrueExpression": "sample string 3",
"ValueExpression": "sample string 4",
"ShowIndex": 1,
"Memo": "sample string 5",
"Available": true,
"UpdateTime": "2026-05-02T18:07:17.1696052+08:00",
"UpdateUserID": 1
}
application/xml, text/xml
Sample:
<GwDataRuleDTO 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> <Memo>sample string 5</Memo> <Name>sample string 2</Name> <RuleType>1</RuleType> <ShowIndex>1</ShowIndex> <SysIndexKey>1</SysIndexKey> <TrueExpression>sample string 3</TrueExpression> <UpdateTime>2026-05-02T18:07:17.1696052+08:00</UpdateTime> <UpdateUserID>1</UpdateUserID> <ValueExpression>sample string 4</ValueExpression> <ValueType>1</ValueType> </GwDataRuleDTO>
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.