POST api/docs/DiagnosticRule/Post

Request Information

URI Parameters

None.

Body Parameters

DiagnosticRuleDTO
NameDescriptionTypeAdditional information
ID

integer

None.

PlatformID

integer

None.

HospitalID

integer

None.

DiagnosticID

integer

None.

IndexID

integer

None.

IndexName

string

None.

IndexMatch

string

None.

CompareMode

integer

None.

MatchValue

string

None.

LogicalCondition

integer

None.

ShowIndex

integer

None.

UpdateTime

date

None.

UpdateUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PlatformID": 1,
  "HospitalID": 1,
  "DiagnosticID": 1,
  "IndexID": 1,
  "IndexName": "sample string 1",
  "IndexMatch": "sample string 2",
  "CompareMode": 1,
  "MatchValue": "sample string 3",
  "LogicalCondition": 1,
  "ShowIndex": 1,
  "UpdateTime": "2026-05-02T18:04:19.5574148+08:00",
  "UpdateUserID": 1
}

application/xml, text/xml

Sample:
<DiagnosticRuleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">
  <CompareMode>1</CompareMode>
  <DiagnosticID>1</DiagnosticID>
  <HospitalID>1</HospitalID>
  <ID>1</ID>
  <IndexID>1</IndexID>
  <IndexMatch>sample string 2</IndexMatch>
  <IndexName>sample string 1</IndexName>
  <LogicalCondition>1</LogicalCondition>
  <MatchValue>sample string 3</MatchValue>
  <PlatformID>1</PlatformID>
  <ShowIndex>1</ShowIndex>
  <UpdateTime>2026-05-02T18:04:19.5574148+08:00</UpdateTime>
  <UpdateUserID>1</UpdateUserID>
</DiagnosticRuleDTO>

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.