POST api/Account/UpdateUser

Request Information

URI Parameters

None.

Body Parameters

MOGOUserModel
NameDescriptionTypeAdditional information
RowState

RowState

None.

Email

string

None.

PhoneNumber

string

None.

LockoutEndDateUtc

date

None.

LockoutEnabled

boolean

None.

UserName

string

None.

Password

string

None.

UserId

string

None.

DataLogical

string

None.

VersionId

integer

None.

IsVersionLocked

boolean

None.

CanEditVersion

boolean

None.

LastUpdated

date

None.

DisplayName

string

None.

CorpId

string

None.

BranchNo

string

None.

UnitId

integer

None.

ClientId

string

None.

ClientSecret

string

None.

UUID

string

None.

IdentifyingNumber

string

None.

Expiration

date

None.

LastContact

date

None.

TimeZone

string

None.

Note

string

None.

CreatedOn

date

None.

CreatedBy

string

None.

ModifiedOn

date

None.

ModifiedBy

string

None.

Version

string

None.

AppLauncherVersion

string

None.

IsLockedOut

boolean

None.

IsInGracePeriod

boolean

None.

IsExpiringThisMonth

boolean

None.

HasExpired

boolean

None.

PasswordNeedsUpdating

boolean

None.

MOGORoles

Collection of MOGORoleModel

None.

IsChecked

boolean

None.

Versions

Collection of MOGOVersions

None.

EmailConfirmed

boolean

None.

PasswordHash

string

None.

SecurityStamp

string

None.

PhoneNumberConfirmed

boolean

None.

TwoFactorEnabled

boolean

None.

AccessFailedCount

integer

None.

Roles

Collection of IdentityUserRole

None.

Claims

Collection of IdentityUserClaim

None.

Logins

Collection of IdentityUserLogin

None.

Id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RowState": 0,
  "Email": "sample string 1",
  "PhoneNumber": "sample string 2",
  "LockoutEndDateUtc": "2024-11-09T11:27:48.9043375-05:00",
  "LockoutEnabled": true,
  "UserName": "sample string 4",
  "Password": "sample string 5",
  "UserId": "sample string 6",
  "DataLogical": "sample string 7",
  "VersionId": 8,
  "IsVersionLocked": true,
  "CanEditVersion": false,
  "LastUpdated": "2024-11-09T11:27:48.9043375-05:00",
  "DisplayName": "sample string 10",
  "CorpId": "sample string 11",
  "BranchNo": "sample string 12",
  "UnitId": 13,
  "ClientId": "sample string 14",
  "ClientSecret": "sample string 15",
  "UUID": "sample string 16",
  "IdentifyingNumber": "sample string 17",
  "Expiration": "2024-11-09T11:27:48.9043375-05:00",
  "LastContact": "2024-11-09T11:27:48.9043375-05:00",
  "TimeZone": "sample string 19",
  "Note": "sample string 20",
  "CreatedOn": "2024-11-09T11:27:48.9043375-05:00",
  "CreatedBy": "sample string 22",
  "ModifiedOn": "2024-11-09T11:27:48.9043375-05:00",
  "ModifiedBy": "sample string 23",
  "Version": "sample string 24",
  "AppLauncherVersion": "sample string 25",
  "IsLockedOut": true,
  "IsInGracePeriod": true,
  "IsExpiringThisMonth": true,
  "HasExpired": true,
  "PasswordNeedsUpdating": true,
  "MOGORoles": [
    {
      "Name": "sample string 1",
      "UserId": "sample string 2",
      "IsChecked": true,
      "RowState": 0,
      "Users": [],
      "Id": "sample string 4"
    },
    {
      "Name": "sample string 1",
      "UserId": "sample string 2",
      "IsChecked": true,
      "RowState": 0,
      "Users": [],
      "Id": "sample string 4"
    }
  ],
  "IsChecked": true,
  "Versions": [
    {
      "VersionId": 1,
      "Version": "sample string 2",
      "Major": 3,
      "Minor": 4,
      "Build": 5,
      "Revision": 6,
      "Folder": "sample string 7",
      "AppLauncherVersion": "sample string 8",
      "Description": "sample string 9",
      "IsActive": true,
      "CreatedOn": "2024-11-09T11:27:48.9043375-05:00",
      "CreatedBy": "sample string 12",
      "ModifiedOn": "2024-11-09T11:27:48.9043375-05:00",
      "ModifiedBy": "sample string 13",
      "RowState": 0,
      "IsChecked": true,
      "MessageId": "sample string 15"
    },
    {
      "VersionId": 1,
      "Version": "sample string 2",
      "Major": 3,
      "Minor": 4,
      "Build": 5,
      "Revision": 6,
      "Folder": "sample string 7",
      "AppLauncherVersion": "sample string 8",
      "Description": "sample string 9",
      "IsActive": true,
      "CreatedOn": "2024-11-09T11:27:48.9043375-05:00",
      "CreatedBy": "sample string 12",
      "ModifiedOn": "2024-11-09T11:27:48.9043375-05:00",
      "ModifiedBy": "sample string 13",
      "RowState": 0,
      "IsChecked": true,
      "MessageId": "sample string 15"
    }
  ],
  "EmailConfirmed": true,
  "PasswordHash": "sample string 32",
  "SecurityStamp": "sample string 33",
  "PhoneNumberConfirmed": true,
  "TwoFactorEnabled": true,
  "AccessFailedCount": 36,
  "Roles": [],
  "Claims": [],
  "Logins": [],
  "Id": "sample string 37"
}

application/xml, text/xml

Sample:
<MOGOUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RCCI.Security">
  <AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">36</AccessFailedCount>
  <Email xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 1</Email>
  <EmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</EmailConfirmed>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 37</Id>
  <LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</LockoutEnabled>
  <LockoutEndDateUtc xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2024-11-09T11:27:48.9043375-05:00</LockoutEndDateUtc>
  <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 32</PasswordHash>
  <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 2</PhoneNumber>
  <PhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</PhoneNumberConfirmed>
  <SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 33</SecurityStamp>
  <TwoFactorEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</TwoFactorEnabled>
  <UserName xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 4</UserName>
  <AppLauncherVersion>sample string 25</AppLauncherVersion>
  <BranchNo>sample string 12</BranchNo>
  <ClientId>sample string 14</ClientId>
  <ClientSecret>sample string 15</ClientSecret>
  <CorpId>sample string 11</CorpId>
  <CreatedBy>sample string 22</CreatedBy>
  <CreatedOn>2024-11-09T11:27:48.9043375-05:00</CreatedOn>
  <DataLogical>sample string 7</DataLogical>
  <DisplayName>sample string 10</DisplayName>
  <Expiration>2024-11-09T11:27:48.9043375-05:00</Expiration>
  <HasExpired>true</HasExpired>
  <IdentifyingNumber>sample string 17</IdentifyingNumber>
  <IsChecked>true</IsChecked>
  <IsInGracePeriod>true</IsInGracePeriod>
  <IsLockedOut>true</IsLockedOut>
  <IsVersionLocked>true</IsVersionLocked>
  <LastContact>2024-11-09T11:27:48.9043375-05:00</LastContact>
  <LastUpdated>2024-11-09T11:27:48.9043375-05:00</LastUpdated>
  <MOGORoles>
    <MOGORoleModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 4</Id>
      <Name i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework" />
      <IsChecked>true</IsChecked>
      <Name>sample string 1</Name>
      <RowState>Unchanged</RowState>
      <UserId>sample string 2</UserId>
    </MOGORoleModel>
    <MOGORoleModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 4</Id>
      <Name i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework" />
      <IsChecked>true</IsChecked>
      <Name>sample string 1</Name>
      <RowState>Unchanged</RowState>
      <UserId>sample string 2</UserId>
    </MOGORoleModel>
  </MOGORoles>
  <ModifiedBy>sample string 23</ModifiedBy>
  <ModifiedOn>2024-11-09T11:27:48.9043375-05:00</ModifiedOn>
  <Note>sample string 20</Note>
  <Password>sample string 5</Password>
  <PasswordNeedsUpdating>true</PasswordNeedsUpdating>
  <RowState>Unchanged</RowState>
  <TimeZone>sample string 19</TimeZone>
  <UUID>sample string 16</UUID>
  <UnitId>13</UnitId>
  <UserId>sample string 6</UserId>
  <Version>sample string 24</Version>
  <VersionId>8</VersionId>
  <Versions>
    <MOGOVersions>
      <IsChecked xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">true</IsChecked>
      <MessageId xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">sample string 15</MessageId>
      <ProposedChanges xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common" />
      <RowState xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">Unchanged</RowState>
      <AppLauncherVersion>sample string 8</AppLauncherVersion>
      <Build>5</Build>
      <CreatedBy>sample string 12</CreatedBy>
      <CreatedOn>2024-11-09T11:27:48.9043375-05:00</CreatedOn>
      <Description>sample string 9</Description>
      <Folder>sample string 7</Folder>
      <IsActive>true</IsActive>
      <Major>3</Major>
      <Minor>4</Minor>
      <ModifiedBy>sample string 13</ModifiedBy>
      <ModifiedOn>2024-11-09T11:27:48.9043375-05:00</ModifiedOn>
      <Revision>6</Revision>
      <Version>sample string 2</Version>
      <VersionId>1</VersionId>
    </MOGOVersions>
    <MOGOVersions>
      <IsChecked xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">true</IsChecked>
      <MessageId xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">sample string 15</MessageId>
      <ProposedChanges xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common" />
      <RowState xmlns="http://schemas.datacontract.org/2004/07/RCCI.Common">Unchanged</RowState>
      <AppLauncherVersion>sample string 8</AppLauncherVersion>
      <Build>5</Build>
      <CreatedBy>sample string 12</CreatedBy>
      <CreatedOn>2024-11-09T11:27:48.9043375-05:00</CreatedOn>
      <Description>sample string 9</Description>
      <Folder>sample string 7</Folder>
      <IsActive>true</IsActive>
      <Major>3</Major>
      <Minor>4</Minor>
      <ModifiedBy>sample string 13</ModifiedBy>
      <ModifiedOn>2024-11-09T11:27:48.9043375-05:00</ModifiedOn>
      <Revision>6</Revision>
      <Version>sample string 2</Version>
      <VersionId>1</VersionId>
    </MOGOVersions>
  </Versions>
</MOGOUserModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MOGOUserModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.