GET api/user/GetByUsernameAndPasswordEmployee/{username}/{password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

password

string

Required

Body Parameters

None.

Response Information

Resource Description

User
NameDescriptionTypeAdditional information
UserId

integer

None.

Username

string

Required

Max length: 100

Password

string

Required

Max length: 50

PasswordChangeDate

date

None.

FirstName

string

Required

Max length: 100

String length: inclusive between 0 and 50

LastName

string

Required

Max length: 50

String length: inclusive between 0 and 50

MiddleName

string

Max length: 50

String length: inclusive between 0 and 50

Role

string

Required

Max length: 50

Website

string

Matching regular expression pattern: ((?:(?:https?|ftp|gopher|telnet|file|notes|ms-help):(?://|\\\\)(?:www\.)?|www\.)[\w\d:#@%/;$()~_?\+,\-=\\.&]+)

Max length: 300

IsSendImportantEmail

boolean

Required

IsApproved

boolean

Required

IsActiveDirectory

boolean

Required

ApprovedDate

date

Data type: DateTime

Phone

string

Max length: 50

PublicImagePath

string

Max length: 500

Email

string

Required

Max length: 500

IsActivated

boolean

Required

CurrentFacilityId

integer

None.

CurrentFacilityName

string

None.

FacilityResidentId

integer

None.

CreatedDate

date

Required

Data type: Date

CreatedById

integer

Required

UpdatedDate

date

Required

Data type: Date

UpdatedById

integer

Required

DeletedDate

date

Data type: Date

UpdateRemarks

string

Max length: 1500

IsDeleted

boolean

Required

IsGenericUser

boolean

None.

OldPassword

string

Required

Data type: Password

Max length: 50

NewPassword

string

Required

Data type: Password

Max length: 50

String length: inclusive between 6 and 50

ConfirmPassword

string

Required

Data type: Password

Max length: 50

RememberMe

boolean

None.

HiddenImageId

string

None.

EmailToCollection

string

None.

LastNameNotRequired

string

None.

EmailFrom

string

Required

Max length: 500

EmailSubject

string

Required

Max length: 500

EmailBody

string

Required

UpdatedDateString

string

None.

CompanyNames

string

None.

DepartmentNames

string

None.

TempPublicImagePath

string

None.

FullName

string

None.

PositionName

string

None.

ApiToken

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "Username": "sample string 2",
  "Password": "sample string 3",
  "PasswordChangeDate": "2026-06-15T03:44:22.3863487-07:00",
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "MiddleName": "sample string 7",
  "Role": "sample string 8",
  "Website": "sample string 9",
  "IsSendImportantEmail": true,
  "IsApproved": true,
  "IsActiveDirectory": true,
  "ApprovedDate": "2026-06-15T03:44:22.3863487-07:00",
  "Phone": "sample string 13",
  "PublicImagePath": "sample string 14",
  "Email": "sample string 15",
  "IsActivated": true,
  "CurrentFacilityId": 1,
  "CurrentFacilityName": "sample string 17",
  "FacilityResidentId": 18,
  "CreatedDate": "2026-06-15T03:44:22.3863487-07:00",
  "CreatedById": 20,
  "UpdatedDate": "2026-06-15T03:44:22.3863487-07:00",
  "UpdatedById": 22,
  "DeletedDate": "2026-06-15T03:44:22.3863487-07:00",
  "UpdateRemarks": "sample string 23",
  "IsDeleted": true,
  "IsGenericUser": true,
  "OldPassword": "sample string 26",
  "NewPassword": "sample string 27",
  "ConfirmPassword": "sample string 28",
  "RememberMe": true,
  "HiddenImageId": "sample string 30",
  "EmailToCollection": "sample string 31",
  "LastNameNotRequired": "sample string 32",
  "EmailFrom": "sample string 33",
  "EmailSubject": "sample string 34",
  "EmailBody": "sample string 35",
  "UpdatedDateString": "sample string 36",
  "CompanyNames": "sample string 37",
  "DepartmentNames": "sample string 38",
  "TempPublicImagePath": "sample string 39",
  "FullName": "sample string 40",
  "PositionName": "sample string 41",
  "ApiToken": "sample string 42"
}