POST api/IndexOption/SaveModelBy
Request Information
URI Parameters
None.
Body Parameters
IndexOptionDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PlatformID | integer |
None. |
|
| HospitalID | integer |
None. |
|
| IndexID | integer |
None. |
|
| Name | string |
None. |
|
| DefaultSelected | boolean |
None. |
|
| IsExclusive | boolean |
None. |
|
| ShowIndex | integer |
None. |
|
| UpdateTime | date |
None. |
|
| UpdateUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"PlatformID": 1,
"HospitalID": 1,
"IndexID": 1,
"Name": "sample string 1",
"DefaultSelected": true,
"IsExclusive": true,
"ShowIndex": 1,
"UpdateTime": "2026-05-02T18:04:23.2917938+08:00",
"UpdateUserID": 1
}
application/xml, text/xml
Sample:
<IndexOptionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO"> <DefaultSelected>true</DefaultSelected> <HospitalID>1</HospitalID> <ID>1</ID> <IndexID>1</IndexID> <IsExclusive>true</IsExclusive> <Name>sample string 1</Name> <PlatformID>1</PlatformID> <ShowIndex>1</ShowIndex> <UpdateTime>2026-05-02T18:04:23.2917938+08:00</UpdateTime> <UpdateUserID>1</UpdateUserID> </IndexOptionDTO>
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.