POST api/account/login

Request Information

URI Parameters

None.

Body Parameters

LoginViewModel
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

Password

string

None.

Email

string

None.

LastLoginDate

date

None.

username

string

None.

ResetPasswordOtp

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "51a7ffb8-3342-46ab-9957-a2f9a43811be",
  "Password": "sample string 2",
  "Email": "sample string 3",
  "LastLoginDate": "2019-08-21T16:14:40.8096441-07:00",
  "username": "sample string 5",
  "ResetPasswordOtp": 6
}

text/html

Sample:
{"UserId":"51a7ffb8-3342-46ab-9957-a2f9a43811be","Password":"sample string 2","Email":"sample string 3","LastLoginDate":"2019-08-21T16:14:40.8096441-07:00","username":"sample string 5","ResetPasswordOtp":6}

application/xml, text/xml

Sample:
<LoginViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SingersBabel.BAL.ViewModel">
  <Email>sample string 3</Email>
  <LastLoginDate>2019-08-21T16:14:40.8096441-07:00</LastLoginDate>
  <Password>sample string 2</Password>
  <ResetPasswordOtp>6</ResetPasswordOtp>
  <UserId>51a7ffb8-3342-46ab-9957-a2f9a43811be</UserId>
  <Username>sample string 5</Username>
</LoginViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.