POST mobile/login

Request Information

URI Parameters

None.

Body Parameters

LabCare.Data.Auth.Models.Login
NameDescriptionTypeAdditional information
user_name

string

None.

mobile_no

string

None.

password

string

None.

source

LabCare.Data.Enums.LoginSource

None.

ip_add

string

None.

last_login_token

string

None.

log_out_from_all_device

boolean

None.

machine_key

string

None.

Request Formats

application/json, text/json

Sample:
{
  "user_name": "sample string 1",
  "mobile_no": "sample string 2",
  "password": "sample string 3",
  "source": 1,
  "ip_add": "sample string 4",
  "last_login_token": "sample string 5",
  "log_out_from_all_device": true,
  "machine_key": "sample string 7"
}

application/xml, text/xml

Sample:
<Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LabCare.Data.Auth.Models">
  <IPAddress>sample string 4</IPAddress>
  <LastLoginToken>sample string 5</LastLoginToken>
  <LogoutFromAllDevice>true</LogoutFromAllDevice>
  <MachineKey>sample string 7</MachineKey>
  <MobileNo>sample string 2</MobileNo>
  <Password>sample string 3</Password>
  <Source>WebApp</Source>
  <UserName>sample string 1</UserName>
</Login>

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

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.