POST api/khadi/login

Request Information

URI Parameters

None.

Body Parameters

LoginsRequestEntity
NameDescriptionTypeAdditional information
UserName

string

None.

Password

string

None.

ProcId

integer

None.

UserType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "ProcId": 3,
  "UserType": 4
}

application/xml, text/xml

Sample:
<LoginsRequestEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDBAPI.Models">
  <Password>sample string 2</Password>
  <ProcId>3</ProcId>
  <UserName>sample string 1</UserName>
  <UserType>4</UserType>
</LoginsRequestEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LoginsResponseEntity
NameDescriptionTypeAdditional information
respCode

string

None.

respMessage

string

None.

Name

string

None.

FatherName

string

None.

MobileNo

string

None.

GId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "respCode": "sample string 1",
  "respMessage": "sample string 2",
  "Name": "sample string 3",
  "FatherName": "sample string 4",
  "MobileNo": "sample string 5",
  "GId": 6
}

application/xml, text/xml

Sample:
<LoginsResponseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LDBAPI.Models">
  <FatherName>sample string 4</FatherName>
  <GId>6</GId>
  <MobileNo>sample string 5</MobileNo>
  <Name>sample string 3</Name>
  <respCode>sample string 1</respCode>
  <respMessage>sample string 2</respMessage>
</LoginsResponseEntity>