POST api/auth/login

Request Information

URI Parameters

None.

Body Parameters

Login
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

string

None.

LoginType

string

None.

CountryCode

string

Required

MobileNo

string

None.

EmailId

string

None.

OTP

string

Required

RandmCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": "sample string 2",
  "LoginType": "sample string 3",
  "CountryCode": "sample string 4",
  "MobileNo": "sample string 5",
  "EmailId": "sample string 6",
  "OTP": "sample string 7",
  "RandmCode": "sample string 8"
}

application/xml, text/xml

Sample:
<Login xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Abtyp_apiproject.Models">
  <CountryCode>sample string 4</CountryCode>
  <EmailId>sample string 6</EmailId>
  <Id>1</Id>
  <LoginType>sample string 3</LoginType>
  <MobileNo>sample string 5</MobileNo>
  <OTP>sample string 7</OTP>
  <RandmCode>sample string 8</RandmCode>
  <UserId>sample string 2</UserId>
</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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.