POST api/mobile/UserAuth

Request Information

URI Parameters

None.

Body Parameters

UserAuthRequestModel
NameDescriptionTypeAdditional information
Type

string

None.

Login

string

None.

Password

string

None.

LoginLowerCase

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Type": "sample string 1",
  "Login": "sample string 2",
  "Password": "sample string 3",
  "LoginLowerCase": "sample string 2"
}

application/xml, text/xml

Sample:
<UserAuthRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nevoton.Rep.Models.RequestModels">
  <Login>sample string 2</Login>
  <Password>sample string 3</Password>
  <Type>sample string 1</Type>
</UserAuthRequestModel>

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

Response Information

Resource Description

UserAuthResponseModel
NameDescriptionTypeAdditional information
Token

string

None.

Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "Success": true,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<UserAuthResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nevoton.Rep.Models.ResponseModels">
  <Message>sample string 3</Message>
  <Success>true</Success>
  <Token>sample string 1</Token>
</UserAuthResponseModel>