GET api/Account/Login?Username={Username}&Password={Password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Username

string

Required

Password

string

Required

Body Parameters

None.

Response Information

Resource Description

AspNetUser
NameDescriptionTypeAdditional information
Id

string

None.

Email

string

None.

EmailConfirmed

boolean

None.

PasswordHash

string

None.

SecurityStamp

string

None.

PhoneNumber

string

None.

PhoneNumberConfirmed

boolean

None.

TwoFactorEnabled

boolean

None.

LockoutEndDateUtc

date

None.

LockoutEnabled

boolean

None.

AccessFailedCount

integer

None.

UserName

string

None.

FirstName

string

None.

LastName

string

None.

Image

string

None.

AspNetUserClaims

Collection of AspNetUserClaim

None.

AspNetUserLogins

Collection of AspNetUserLogin

None.

AspNetUserRoles

Collection of AspNetUserRole

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Email": "sample string 2",
  "EmailConfirmed": true,
  "PasswordHash": "sample string 4",
  "SecurityStamp": "sample string 5",
  "PhoneNumber": "sample string 6",
  "PhoneNumberConfirmed": true,
  "TwoFactorEnabled": true,
  "LockoutEndDateUtc": "2021-12-01T00:08:14.5038211+02:00",
  "LockoutEnabled": true,
  "AccessFailedCount": 10,
  "UserName": "sample string 11",
  "FirstName": "sample string 12",
  "LastName": "sample string 13",
  "Image": "sample string 14",
  "AspNetUserClaims": [
    {
      "Id": 1,
      "UserId": "sample string 2",
      "ClaimType": "sample string 3",
      "ClaimValue": "sample string 4"
    },
    {
      "Id": 1,
      "UserId": "sample string 2",
      "ClaimType": "sample string 3",
      "ClaimValue": "sample string 4"
    }
  ],
  "AspNetUserLogins": [
    {
      "LoginProvider": "sample string 1",
      "ProviderKey": "sample string 2",
      "UserId": "sample string 3"
    },
    {
      "LoginProvider": "sample string 1",
      "ProviderKey": "sample string 2",
      "UserId": "sample string 3"
    }
  ],
  "AspNetUserRoles": [
    {
      "UserId": "sample string 1",
      "RoleId": "sample string 2",
      "Id": 3,
      "AspNetRole": {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "isDriver": true,
        "AspNetUserRoles": []
      }
    },
    {
      "UserId": "sample string 1",
      "RoleId": "sample string 2",
      "Id": 3,
      "AspNetRole": {
        "Id": "sample string 1",
        "Name": "sample string 2",
        "isDriver": true,
        "AspNetUserRoles": []
      }
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.