POST api/ChemtestApi/Authentication

Request Information

URI Parameters

None.

Body Parameters

LoginReqModel
NameDescriptionTypeAdditional information
UserEmail

string

Required

UserPass

string

Required

Key

string

Required

Request Formats

application/json, text/json

Sample:
{
  "UserEmail": "sample string 1",
  "UserPass": "sample string 2",
  "Key": "sample string 3"
}

application/xml, text/xml

Sample:
<LoginReqModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Chemtest.EntityModel.Models">
  <Key>sample string 3</Key>
  <UserEmail>sample string 1</UserEmail>
  <UserPass>sample string 2</UserPass>
</LoginReqModel>

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

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Response

Object

None.

Status

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": {},
  "Status": 2
}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Chemtest.EntityModel.Models">
  <Response />
  <Status>2</Status>
</ResponseModel>