POST api/account/system/validate

This method will verify system user accout using username assigned to him by the system administrator and his last 4 social security digits

Request Information

URI Parameters

None.

Body Parameters

Instance of AccountVerificationBindingModel

AccountVerificationBindingModel
NameDescriptionTypeAdditional information
UserName

string

Required

Last4Digits

string

Required

Max length: 4

Min length: 4

Request Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "last4Digits": "sample string 2"
}

text/html

Sample:
{"userName":"sample string 1","last4Digits":"sample string 2"}

application/xml, text/xml

Sample:
<AccountVerificationBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.AccountBinding">
  <Last4Digits>sample string 2</Last4Digits>
  <UserName>sample string 1</UserName>
</AccountVerificationBindingModel>

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 'AccountVerificationBindingModel'.

Response Information

Resource Description

Instance of UserMinProfile

UserMinProfile
NameDescriptionTypeAdditional information
UserId

integer

None.

UserName

string

None.

FirstName

string

None.

LastName

string

None.

EmailConfirmed

boolean

None.

LockoutEnabled

boolean

None.

Avatar

string

None.

AccountVerified

boolean

None.

PasswordSet

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "userName": "sample string 2",
  "firstName": "sample string 3",
  "lastName": "sample string 4",
  "emailConfirmed": true,
  "lockoutEnabled": true,
  "avatar": "sample string 7",
  "accountVerified": true,
  "passwordSet": true
}

text/html

Sample:
{"userId":1,"userName":"sample string 2","firstName":"sample string 3","lastName":"sample string 4","emailConfirmed":true,"lockoutEnabled":true,"avatar":"sample string 7","accountVerified":true,"passwordSet":true}

application/xml, text/xml

Sample:
<UserMinProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos">
  <AccountVerified>true</AccountVerified>
  <Avatar>sample string 7</Avatar>
  <EmailConfirmed>true</EmailConfirmed>
  <FirstName>sample string 3</FirstName>
  <LastName>sample string 4</LastName>
  <LockoutEnabled>true</LockoutEnabled>
  <PasswordSet>true</PasswordSet>
  <UserId>1</UserId>
  <UserName>sample string 2</UserName>
</UserMinProfile>