POST api/Login?UserId={UserId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

integer

Required

Body Parameters

LoginModel
NameDescriptionTypeAdditional information
EmailId

string

Required

Password

string

Required

RefererUrl

string

None.

Department

string

None.

OS

string

None.

Version

string

None.

IsAzureAuthentication

boolean

None.

FCMToken

string

None.

Otp

string

None.

IsNMRUser

boolean

None.

UserId

integer

None.

IsFromNMROTP

boolean

None.

IsOTPConsumed

boolean

None.

IsSuccess

boolean

None.

Message

string

None.

IsFromMobile

boolean

None.

IssuedOn

date

None.

ExpiresOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "EmailId": "sample string 1",
  "Password": "sample string 2",
  "RefererUrl": "sample string 3",
  "Department": "sample string 4",
  "OS": "sample string 5",
  "Version": "sample string 6",
  "IsAzureAuthentication": true,
  "FCMToken": "sample string 8",
  "Otp": "sample string 9",
  "IsNMRUser": true,
  "UserId": 11,
  "IsFromNMROTP": true,
  "IsOTPConsumed": true,
  "IsSuccess": true,
  "Message": "sample string 15",
  "IsFromMobile": true,
  "IssuedOn": "2024-11-15T11:04:37.5378273+05:30",
  "ExpiresOn": "2024-11-15T11:04:37.5378273+05:30"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionConfirmationDto
NameDescriptionTypeAdditional information
WasSuccessful

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "WasSuccessful": true,
  "Message": "sample string 2",
  "Data": {}
}