POST api/Account/Doctor/Login

Request Information

URI Parameters

None.

Not Require Authorization!

Body Parameters

DoctorLoginViewModel
NameDescriptionTypeAdditional information
UserID

integer

None.

Email

string

Required

Matching regular expression pattern: ^\s*[\w\-\+_]+(\.[\w\-\+_]+)*\@[\w\-\+_]+\.[\w\-\+_]+(\.[\w\-\+_]+)*\s*$

Password

string

Required

Data type: Password

DeviceID

string

None.

LoginVia

string

Required

Matching regular expression pattern: mobile|web

IsfirstTime

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Email": "sample string 2",
  "Password": "sample string 3",
  "DeviceID": "sample string 4",
  "LoginVia": "sample string 5",
  "IsfirstTime": true
}

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Status

integer

None.

Response

Object

None.

Errors

Object

None.

Authorized

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Response": {},
  "Errors": {},
  "Authorized": true
}