PUT api/ItemIndex

Request Information

URI Parameters

None.

Body Parameters

ItemIndexDTO
NameDescriptionTypeAdditional information
ID

integer

None.

PlatformID

integer

None.

HospitalID

integer

None.

ItemID

integer

None.

IndexID

integer

None.

DefaultValue

string

None.

NormalValidTemplet

string

None.

QCEnable

boolean

None.

QCExpression

string

None.

QCWarning

string

None.

IsRequired

boolean

None.

ShowIndex

integer

None.

UpdateTime

date

None.

UpdateUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PlatformID": 1,
  "HospitalID": 1,
  "ItemID": 1,
  "IndexID": 1,
  "DefaultValue": "sample string 1",
  "NormalValidTemplet": "sample string 2",
  "QCEnable": true,
  "QCExpression": "sample string 3",
  "QCWarning": "sample string 4",
  "IsRequired": true,
  "ShowIndex": 1,
  "UpdateTime": "2026-05-02T18:07:17.5130721+08:00",
  "UpdateUserID": 1
}

application/xml, text/xml

Sample:
<ItemIndexDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">
  <DefaultValue>sample string 1</DefaultValue>
  <HospitalID>1</HospitalID>
  <ID>1</ID>
  <IndexID>1</IndexID>
  <IsRequired>true</IsRequired>
  <ItemID>1</ItemID>
  <NormalValidTemplet>sample string 2</NormalValidTemplet>
  <PlatformID>1</PlatformID>
  <QCEnable>true</QCEnable>
  <QCExpression>sample string 3</QCExpression>
  <QCWarning>sample string 4</QCWarning>
  <ShowIndex>1</ShowIndex>
  <UpdateTime>2026-05-02T18:07:17.5130721+08:00</UpdateTime>
  <UpdateUserID>1</UpdateUserID>
</ItemIndexDTO>

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.