PUT api/user/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

UserEditModel
NameDescriptionTypeAdditional information
ExpiredDate

date

None.

IsSupportUser

boolean

None.

FullName

string

None.

Email

string

None.

HomeAddress

string

None.

MobilePhoneNumber

string

None.

WorkAddress

string

None.

WorkPhoneNumber

string

None.

JobPosition

string

None.

EmployeeCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ExpiredDate": "2026-10-19T07:43:32.1956563+07:00",
  "IsSupportUser": true,
  "FullName": "sample string 2",
  "Email": "sample string 3",
  "HomeAddress": "sample string 4",
  "MobilePhoneNumber": "sample string 5",
  "WorkAddress": "sample string 6",
  "WorkPhoneNumber": "sample string 7",
  "JobPosition": "sample string 8",
  "EmployeeCode": "sample string 9"
}

application/xml, text/xml

Sample:
<UserEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.EditModels">
  <Email xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 3</Email>
  <EmployeeCode xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 9</EmployeeCode>
  <FullName xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 2</FullName>
  <HomeAddress xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 4</HomeAddress>
  <JobPosition xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 8</JobPosition>
  <MobilePhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 5</MobilePhoneNumber>
  <WorkAddress xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 6</WorkAddress>
  <WorkPhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 7</WorkPhoneNumber>
  <ExpiredDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-10-19T00:43:32.1956563Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>420</d2p1:OffsetMinutes>
  </ExpiredDate>
  <IsSupportUser>true</IsSupportUser>
</UserEditModel>

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.