POST api/user

Request Information

URI Parameters

None.

Body Parameters

UserCreateModel
NameDescriptionTypeAdditional information
UserName

string

None.

ExpiredDate

date

None.

IsSupportUser

boolean

None.

IdentityServerName

string

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:
{
  "UserName": "sample string 1",
  "ExpiredDate": "2026-10-19T07:41:18.6978936+07:00",
  "IsSupportUser": true,
  "IdentityServerName": "sample string 3",
  "FullName": "sample string 4",
  "Email": "sample string 5",
  "HomeAddress": "sample string 6",
  "MobilePhoneNumber": "sample string 7",
  "WorkAddress": "sample string 8",
  "WorkPhoneNumber": "sample string 9",
  "JobPosition": "sample string 10",
  "EmployeeCode": "sample string 11"
}

application/xml, text/xml

Sample:
<UserCreateModel 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 5</Email>
  <EmployeeCode xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 11</EmployeeCode>
  <FullName xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 4</FullName>
  <HomeAddress xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 6</HomeAddress>
  <JobPosition xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 10</JobPosition>
  <MobilePhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 7</MobilePhoneNumber>
  <WorkAddress xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 8</WorkAddress>
  <WorkPhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Vams.Domain.Models.Identities.UserModels.ShareModels">sample string 9</WorkPhoneNumber>
  <ExpiredDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2026-10-19T00:41:18.6978936Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>420</d2p1:OffsetMinutes>
  </ExpiredDate>
  <IdentityServerName>sample string 3</IdentityServerName>
  <IsSupportUser>true</IsSupportUser>
  <UserName>sample string 1</UserName>
</UserCreateModel>

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.