POST api/Login/Login?apiKey={apiKey}&username={username}&password={password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

username

string

Required

password

string

Required

Body Parameters

None.

Response Information

Resource Description

ApiResponseOfStaffModel
NameDescriptionTypeAdditional information
status

integer

None.

results

StaffModel

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "results": {
    "StaffID": "856aa65b-6a6a-499e-ac8e-72d96216e3c4",
    "Name": "sample string 2",
    "EmailID": "sample string 3",
    "ContactNo": "sample string 4"
  },
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiResponseOfStaffModelrCFkjxrI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Service.Areas.CheckInOutApp.Models">
  <message>sample string 2</message>
  <results>
    <StaffID>856aa65b-6a6a-499e-ac8e-72d96216e3c4</StaffID>
  </results>
  <status>1</status>
</ApiResponseOfStaffModelrCFkjxrI>