PUT api/Equipment

Request Information

URI Parameters

None.

Body Parameters

EquipmentDTO
NameDescriptionTypeAdditional information
ID

integer

None.

PlatformID

integer

None.

HospitalID

integer

None.

Code

string

None.

Name

string

None.

Model

string

None.

Type

integer

None.

UploadResultMatchMode

integer

None.

AutoSetCompleted

boolean

None.

ValidReviewDoctor

boolean

None.

ImageCollect

boolean

None.

SeftAddImage

boolean

None.

ImageShowInReport

boolean

None.

ImageShowLarge

boolean

None.

ImageRotationAngle

integer

None.

ImagePageCount

integer

None.

ImagePageCheck

boolean

None.

Memo

string

None.

HeartbeatUpdate

boolean

None.

HeartbeatLastTime

date

None.

AuthCode

string

None.

UpdateTime

date

None.

UpdateUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PlatformID": 1,
  "HospitalID": 1,
  "Code": "sample string 1",
  "Name": "sample string 2",
  "Model": "sample string 3",
  "Type": 1,
  "UploadResultMatchMode": 1,
  "AutoSetCompleted": true,
  "ValidReviewDoctor": true,
  "ImageCollect": true,
  "SeftAddImage": true,
  "ImageShowInReport": true,
  "ImageShowLarge": true,
  "ImageRotationAngle": 1,
  "ImagePageCount": 1,
  "ImagePageCheck": true,
  "Memo": "sample string 4",
  "HeartbeatUpdate": true,
  "HeartbeatLastTime": "2026-05-02T18:09:30.5273821+08:00",
  "AuthCode": "sample string 5",
  "UpdateTime": "2026-05-02T18:09:30.5273821+08:00",
  "UpdateUserID": 1
}

application/xml, text/xml

Sample:
<EquipmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">
  <AuthCode>sample string 5</AuthCode>
  <AutoSetCompleted>true</AutoSetCompleted>
  <Code>sample string 1</Code>
  <HeartbeatLastTime>2026-05-02T18:09:30.5273821+08:00</HeartbeatLastTime>
  <HeartbeatUpdate>true</HeartbeatUpdate>
  <HospitalID>1</HospitalID>
  <ID>1</ID>
  <ImageCollect>true</ImageCollect>
  <ImagePageCheck>true</ImagePageCheck>
  <ImagePageCount>1</ImagePageCount>
  <ImageRotationAngle>1</ImageRotationAngle>
  <ImageShowInReport>true</ImageShowInReport>
  <ImageShowLarge>true</ImageShowLarge>
  <Memo>sample string 4</Memo>
  <Model>sample string 3</Model>
  <Name>sample string 2</Name>
  <PlatformID>1</PlatformID>
  <SeftAddImage>true</SeftAddImage>
  <Type>1</Type>
  <UpdateTime>2026-05-02T18:09:30.5273821+08:00</UpdateTime>
  <UpdateUserID>1</UpdateUserID>
  <UploadResultMatchMode>1</UploadResultMatchMode>
  <ValidReviewDoctor>true</ValidReviewDoctor>
</EquipmentDTO>

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.