POST api/Admin/UpdateUser

Request Information

URI Parameters

None.

Body Parameters

ApplicationUser
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Pin

string

None.

Language

string

None.

DefaultCountry

Collection of string

None.

DefaultMapProvider

string

None.

LastLogin

date

None.

LoginBeforeLast

date

None.

Regions

Collection of string

None.

SignInCount

integer

None.

DepartmentNumber

string

None.

Organization

string

None.

OrganizationUnit

string

None.

Manager

string

None.

ManagerOrganization

string

None.

ManagerOrganizationUnit

string

None.

Roles

Collection of string

None.

Id

string

None.

UserName

string

None.

PasswordHash

string

None.

SecurityStamp

string

None.

Email

string

None.

PhoneNumber

string

None.

IsEmailConfirmed

boolean

None.

IsPhoneNumberConfirmed

boolean

None.

AccessFailedCount

integer

None.

LockoutEnabled

boolean

None.

LockoutEndDate

date

None.

TwoFactorAuthEnabled

boolean

None.

Claims

Collection of IdentityUserClaim

None.

Logins

Collection of UserLoginInfo

None.

Request Formats

application/json, text/json

Sample:
{
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "pin": "sample string 3",
  "language": "sample string 4",
  "defaultCountry": [
    "sample string 1",
    "sample string 2"
  ],
  "defaultMapProvider": "sample string 5",
  "lastLogin": "2024-11-16T20:01:47.597705+00:00",
  "loginBeforeLast": "2024-11-16T20:01:47.6133767+00:00",
  "regions": [
    "sample string 1",
    "sample string 2"
  ],
  "signInCount": 8,
  "departmentNumber": "sample string 9",
  "organization": "sample string 10",
  "organizationUnit": "sample string 11",
  "manager": "sample string 12",
  "managerOrganization": "sample string 13",
  "managerOrganizationUnit": "sample string 14",
  "roles": [
    "sample string 1",
    "sample string 2"
  ],
  "id": "sample string 15",
  "userName": "sample string 16",
  "passwordHash": "sample string 17",
  "securityStamp": "sample string 18",
  "email": "sample string 19",
  "phoneNumber": "sample string 20",
  "isEmailConfirmed": true,
  "isPhoneNumberConfirmed": true,
  "accessFailedCount": 23,
  "lockoutEnabled": true,
  "lockoutEndDate": "2024-11-16T20:01:47.6133767+00:00",
  "twoFactorAuthEnabled": true,
  "claims": [],
  "logins": []
}

application/xml, text/xml

Sample:
<ApplicationUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InstallerDb.Core.Models">
  <AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">23</AccessFailedCount>
  <Email xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 19</Email>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 15</Id>
  <IsEmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">true</IsEmailConfirmed>
  <IsPhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">true</IsPhoneNumberConfirmed>
  <LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">true</LockoutEnabled>
  <LockoutEndDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">
    <d2p1:DateTime>2024-11-16T20:01:47.6133767Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </LockoutEndDate>
  <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 17</PasswordHash>
  <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 20</PhoneNumber>
  <SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 18</SecurityStamp>
  <TwoFactorAuthEnabled xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">true</TwoFactorAuthEnabled>
  <UserName xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 16</UserName>
  <DefaultCountry xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </DefaultCountry>
  <DefaultMapProvider>sample string 5</DefaultMapProvider>
  <DepartmentNumber>sample string 9</DepartmentNumber>
  <FirstName>sample string 1</FirstName>
  <Language>sample string 4</Language>
  <LastLogin>2024-11-16T20:01:47.597705+00:00</LastLogin>
  <LastName>sample string 2</LastName>
  <LoginBeforeLast>2024-11-16T20:01:47.6133767+00:00</LoginBeforeLast>
  <Manager>sample string 12</Manager>
  <ManagerOrganization>sample string 13</ManagerOrganization>
  <ManagerOrganizationUnit>sample string 14</ManagerOrganizationUnit>
  <Organization>sample string 10</Organization>
  <OrganizationUnit>sample string 11</OrganizationUnit>
  <Pin>sample string 3</Pin>
  <Regions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Regions>
  <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Roles>
  <SignInCount>8</SignInCount>
</ApplicationUser>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApplicationUser
NameDescriptionTypeAdditional information
FirstName

string

None.

LastName

string

None.

Pin

string

None.

Language

string

None.

DefaultCountry

Collection of string

None.

DefaultMapProvider

string

None.

LastLogin

date

None.

LoginBeforeLast

date

None.

Regions

Collection of string

None.

SignInCount

integer

None.

DepartmentNumber

string

None.

Organization

string

None.

OrganizationUnit

string

None.

Manager

string

None.

ManagerOrganization

string

None.

ManagerOrganizationUnit

string

None.

Roles

Collection of string

None.

Id

string

None.

UserName

string

None.

PasswordHash

string

None.

SecurityStamp

string

None.

Email

string

None.

PhoneNumber

string

None.

IsEmailConfirmed

boolean

None.

IsPhoneNumberConfirmed

boolean

None.

AccessFailedCount

integer

None.

LockoutEnabled

boolean

None.

LockoutEndDate

date

None.

TwoFactorAuthEnabled

boolean

None.

Claims

Collection of IdentityUserClaim

None.

Logins

Collection of UserLoginInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "firstName": "sample string 1",
  "lastName": "sample string 2",
  "pin": "sample string 3",
  "language": "sample string 4",
  "defaultCountry": [
    "sample string 1",
    "sample string 2"
  ],
  "defaultMapProvider": "sample string 5",
  "lastLogin": "2024-11-16T20:01:47.6289741+00:00",
  "loginBeforeLast": "2024-11-16T20:01:47.6289741+00:00",
  "regions": [
    "sample string 1",
    "sample string 2"
  ],
  "signInCount": 8,
  "departmentNumber": "sample string 9",
  "organization": "sample string 10",
  "organizationUnit": "sample string 11",
  "manager": "sample string 12",
  "managerOrganization": "sample string 13",
  "managerOrganizationUnit": "sample string 14",
  "roles": [
    "sample string 1",
    "sample string 2"
  ],
  "id": "sample string 15",
  "userName": "sample string 16",
  "passwordHash": "sample string 17",
  "securityStamp": "sample string 18",
  "email": "sample string 19",
  "phoneNumber": "sample string 20",
  "isEmailConfirmed": true,
  "isPhoneNumberConfirmed": true,
  "accessFailedCount": 23,
  "lockoutEnabled": true,
  "lockoutEndDate": "2024-11-16T20:01:47.6289741+00:00",
  "twoFactorAuthEnabled": true,
  "claims": [],
  "logins": []
}

application/xml, text/xml

Sample:
<ApplicationUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InstallerDb.Core.Models">
  <AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">23</AccessFailedCount>
  <Email xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 19</Email>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 15</Id>
  <IsEmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">true</IsEmailConfirmed>
  <IsPhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">true</IsPhoneNumberConfirmed>
  <LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">true</LockoutEnabled>
  <LockoutEndDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">
    <d2p1:DateTime>2024-11-16T20:01:47.6289741Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </LockoutEndDate>
  <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 17</PasswordHash>
  <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 20</PhoneNumber>
  <SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 18</SecurityStamp>
  <TwoFactorAuthEnabled xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">true</TwoFactorAuthEnabled>
  <UserName xmlns="http://schemas.datacontract.org/2004/07/Raven.AspNet.Identity">sample string 16</UserName>
  <DefaultCountry xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </DefaultCountry>
  <DefaultMapProvider>sample string 5</DefaultMapProvider>
  <DepartmentNumber>sample string 9</DepartmentNumber>
  <FirstName>sample string 1</FirstName>
  <Language>sample string 4</Language>
  <LastLogin>2024-11-16T20:01:47.6289741+00:00</LastLogin>
  <LastName>sample string 2</LastName>
  <LoginBeforeLast>2024-11-16T20:01:47.6289741+00:00</LoginBeforeLast>
  <Manager>sample string 12</Manager>
  <ManagerOrganization>sample string 13</ManagerOrganization>
  <ManagerOrganizationUnit>sample string 14</ManagerOrganizationUnit>
  <Organization>sample string 10</Organization>
  <OrganizationUnit>sample string 11</OrganizationUnit>
  <Pin>sample string 3</Pin>
  <Regions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Regions>
  <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Roles>
  <SignInCount>8</SignInCount>
</ApplicationUser>