PUT api/docs/User/Put

Request Information

URI Parameters

None.

Body Parameters

UserDTO
NameDescriptionTypeAdditional information
ID

integer

None.

KeyCode

string

None.

HospitalID

integer

None.

SmartReportPlatformUserGUID

string

None.

Name

string

None.

Code

string

None.

Password

string

None.

Job

string

None.

Memo

string

None.

AuthDate

date

None.

InitialOpenForm

string

None.

Phone

string

None.

SignImg

string

None.

Available

boolean

None.

LastLoginTime

date

None.

LogoutTime

date

None.

Token

string

None.

WXOpenID

string

None.

WXBindTime

date

None.

WXAllowCheckin

boolean

None.

WXAllowSetSampleNo

boolean

None.

WXAllowViewChart

boolean

None.

WXPrinter

string

None.

IsSupportRole

boolean

None.

UpdateTime

date

None.

UpdateUserID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "KeyCode": "sample string 1",
  "HospitalID": 1,
  "SmartReportPlatformUserGUID": "sample string 2",
  "Name": "sample string 3",
  "Code": "sample string 4",
  "Password": "sample string 5",
  "Job": "sample string 6",
  "Memo": "sample string 7",
  "AuthDate": "2026-05-02T18:07:49.5291298+08:00",
  "InitialOpenForm": "sample string 8",
  "Phone": "sample string 9",
  "SignImg": "sample string 10",
  "Available": true,
  "LastLoginTime": "2026-05-02T18:07:49.5291298+08:00",
  "LogoutTime": "2026-05-02T18:07:49.5291298+08:00",
  "Token": "sample string 11",
  "WXOpenID": "sample string 12",
  "WXBindTime": "2026-05-02T18:07:49.5291298+08:00",
  "WXAllowCheckin": true,
  "WXAllowSetSampleNo": true,
  "WXAllowViewChart": true,
  "WXPrinter": "sample string 13",
  "IsSupportRole": true,
  "UpdateTime": "2026-05-02T18:07:49.5291298+08:00",
  "UpdateUserID": 1
}

application/xml, text/xml

Sample:
<UserDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HSYK.GWPIS.DTO">
  <AuthDate>2026-05-02T18:07:49.5291298+08:00</AuthDate>
  <Available>true</Available>
  <Code>sample string 4</Code>
  <HospitalID>1</HospitalID>
  <ID>1</ID>
  <InitialOpenForm>sample string 8</InitialOpenForm>
  <IsSupportRole>true</IsSupportRole>
  <Job>sample string 6</Job>
  <KeyCode>sample string 1</KeyCode>
  <LastLoginTime>2026-05-02T18:07:49.5291298+08:00</LastLoginTime>
  <LogoutTime>2026-05-02T18:07:49.5291298+08:00</LogoutTime>
  <Memo>sample string 7</Memo>
  <Name>sample string 3</Name>
  <Password>sample string 5</Password>
  <Phone>sample string 9</Phone>
  <SignImg>sample string 10</SignImg>
  <SmartReportPlatformUserGUID>sample string 2</SmartReportPlatformUserGUID>
  <Token>sample string 11</Token>
  <UpdateTime>2026-05-02T18:07:49.5291298+08:00</UpdateTime>
  <UpdateUserID>1</UpdateUserID>
  <WXAllowCheckin>true</WXAllowCheckin>
  <WXAllowSetSampleNo>true</WXAllowSetSampleNo>
  <WXAllowViewChart>true</WXAllowViewChart>
  <WXBindTime>2026-05-02T18:07:49.5291298+08:00</WXBindTime>
  <WXOpenID>sample string 12</WXOpenID>
  <WXPrinter>sample string 13</WXPrinter>
</UserDTO>

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.