POST api/{version}/User/LoginWithConfirmationofSession

Updating the LogId in Loginlog table in order to login the user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

LoginUserInfo
NameDescriptionTypeAdditional information
EmailAddress

string

None.

Password

string

None.

SessionId

string

None.

IPAddress

string

None.

Browser

string

None.

TypeofDevice

string

None.

UserAgent

string

None.

LoginLogId

integer

None.

IsAllDevice

boolean

None.

PreviousTokenkey

Gets or sets the previous device token key

string

None.

CurrentTokenkey

Gets or sets the current device token key

string

None.

SSOIssuer

string

None.

LoginIssuer

string

None.

UserAction

string

None.

AccountID

string

None.

isNewUser

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EmailAddress": "sample string 1",
  "Password": "sample string 2",
  "SessionId": "sample string 3",
  "IPAddress": "sample string 4",
  "Browser": "sample string 5",
  "TypeofDevice": "sample string 6",
  "UserAgent": "sample string 7",
  "LoginLogId": 8,
  "IsAllDevice": true,
  "PreviousTokenkey": "sample string 10",
  "CurrentTokenkey": "sample string 11",
  "SSOIssuer": "sample string 12",
  "LoginIssuer": "sample string 13",
  "UserAction": "sample string 14",
  "AccountID": "sample string 15",
  "isNewUser": true
}

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

Response Information

Resource Description

LoginConfirmation
NameDescriptionTypeAdditional information
AllowLogin

boolean

None.

IsLoginLogInserted

boolean

None.

UpdatedGivenLoginLogId

boolean

None.

ErrorMessage

string

None.

LoginLogId

integer

None.

RedirectTo

string

None.

DeviceList

Collection of Device

None.

Response Formats

application/json, text/json

Sample:
{
  "AllowLogin": true,
  "IsLoginLogInserted": true,
  "UpdatedGivenLoginLogId": true,
  "ErrorMessage": "sample string 4",
  "LoginLogId": 5,
  "RedirectTo": "sample string 6",
  "DeviceList": [
    {
      "SessionId": "sample string 1",
      "LoginLogId": 2,
      "Browser": "sample string 3",
      "TypeofDevice": "sample string 4",
      "LoggedInTime": "sample string 5",
      "LoggedInDate": "sample string 6",
      "MaximumDeviceAllowed": 7
    },
    {
      "SessionId": "sample string 1",
      "LoginLogId": 2,
      "Browser": "sample string 3",
      "TypeofDevice": "sample string 4",
      "LoggedInTime": "sample string 5",
      "LoggedInDate": "sample string 6",
      "MaximumDeviceAllowed": 7
    }
  ]
}