POST api/docs/IndexOption/Post

Request Information

URI Parameters

None.

Body Parameters

IndexOptionDTO
NameDescriptionTypeAdditional 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:05:39.4994796+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:05:39.4994796+08:00</UpdateTime>
  <UpdateUserID>1</UpdateUserID>
</IndexOptionDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.