PUT api/EquipmentConfig

Request Information

URI Parameters

None.

Body Parameters

EquipmentConfigDTO
NameDescriptionTypeAdditional information
ID

integer

None.

HospitalID

integer

None.

EquipmentID

integer

None.

ComputerID

integer

None.

Config

string

None.

DebugModel

boolean

None.

LastRunState

integer

None.

LastRunInfo

string

None.

LastRunTime

date

None.

UpdateTime

date

None.

UpdateUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "HospitalID": 1,
  "EquipmentID": 1,
  "ComputerID": 1,
  "Config": "sample string 1",
  "DebugModel": true,
  "LastRunState": 1,
  "LastRunInfo": "sample string 2",
  "LastRunTime": "2026-05-02T18:08:27.8441795+08:00",
  "UpdateTime": "2026-05-02T18:08:27.8441795+08:00",
  "UpdateUserID": 1
}

application/xml, text/xml

Sample:
<EquipmentConfigDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">
  <ComputerID>1</ComputerID>
  <Config>sample string 1</Config>
  <DebugModel>true</DebugModel>
  <EquipmentID>1</EquipmentID>
  <HospitalID>1</HospitalID>
  <ID>1</ID>
  <LastRunInfo>sample string 2</LastRunInfo>
  <LastRunState>1</LastRunState>
  <LastRunTime>2026-05-02T18:08:27.8441795+08:00</LastRunTime>
  <UpdateTime>2026-05-02T18:08:27.8441795+08:00</UpdateTime>
  <UpdateUserID>1</UpdateUserID>
</EquipmentConfigDTO>

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.