PUT api/docs/ResidentType/Put
Request Information
URI Parameters
None.
Body Parameters
ResidentTypeDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PlatformID | integer |
None. |
|
| HospitalID | integer |
None. |
|
| Code | string |
None. |
|
| ShortName | string |
None. |
|
| Name | string |
None. |
|
| NamePY | string |
None. |
|
| IsElderly | boolean |
None. |
|
| IsHypertension | boolean |
None. |
|
| IsDiabetes | boolean |
None. |
|
| IsPhthisis | boolean |
None. |
|
| IsLowGuarantor | boolean |
None. |
|
| IsDisabled | boolean |
None. |
|
| IsChildBearing | boolean |
None. |
|
| IsChildFrom0To6 | boolean |
None. |
|
| IsMaternal | boolean |
None. |
|
| IsMentalPatients | boolean |
None. |
|
| OptionRepelCode | string |
None. |
|
| RiskManagement6Config | 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",
"ShortName": "sample string 2",
"Name": "sample string 3",
"NamePY": "sample string 4",
"IsElderly": true,
"IsHypertension": true,
"IsDiabetes": true,
"IsPhthisis": true,
"IsLowGuarantor": true,
"IsDisabled": true,
"IsChildBearing": true,
"IsChildFrom0To6": true,
"IsMaternal": true,
"IsMentalPatients": true,
"OptionRepelCode": "sample string 5",
"RiskManagement6Config": "sample string 6",
"ShowIndex": 1,
"Available": true,
"UpdateTime": "2026-05-02T18:05:42.2496377+08:00",
"UpdateUserID": 1
}
application/xml, text/xml
Sample:
<ResidentTypeDTO 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> <IsChildBearing>true</IsChildBearing> <IsChildFrom0To6>true</IsChildFrom0To6> <IsDiabetes>true</IsDiabetes> <IsDisabled>true</IsDisabled> <IsElderly>true</IsElderly> <IsHypertension>true</IsHypertension> <IsLowGuarantor>true</IsLowGuarantor> <IsMaternal>true</IsMaternal> <IsMentalPatients>true</IsMentalPatients> <IsPhthisis>true</IsPhthisis> <Name>sample string 3</Name> <NamePY>sample string 4</NamePY> <OptionRepelCode>sample string 5</OptionRepelCode> <PlatformID>1</PlatformID> <RiskManagement6Config>sample string 6</RiskManagement6Config> <ShortName>sample string 2</ShortName> <ShowIndex>1</ShowIndex> <UpdateTime>2026-05-02T18:05:42.2496377+08:00</UpdateTime> <UpdateUserID>1</UpdateUserID> </ResidentTypeDTO>
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.