GET api/Loginn?company={company}&username={username}&password={password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
company

string

Required

username

string

Required

password

string

Required

Body Parameters

None.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
companydetail

companydetails

None.

employeedetail

Employeedetails

None.

UserLogin_Tbl1

userLogin_Tbl1

None.

userLogin_Tbl2

userLogin_Tbl2

None.

userLogin_Tbl3

userLogin_Tbl3

None.

Response Formats

application/json, text/json

Sample:
{
  "companydetail": {
    "companyid": 1,
    "companyname": "sample string 2",
    "LogonName": "sample string 3"
  },
  "employeedetail": {
    "companyid": 1,
    "EmployeeId": 2,
    "EmployeeRoleId": 3,
    "EmployeeRoleName": "sample string 4"
  },
  "UserLogin_Tbl1": {
    "PWD": "sample string 1",
    "UID": "sample string 2",
    "AccessLevel": "sample string 3",
    "Is_Active": "sample string 4",
    "Location1": 5,
    "EmployeeId": 6,
    "ChangePwdAtNextLogin": true,
    "PwdChangedOn": "2024-06-19T05:59:10.8881603-05:00"
  },
  "userLogin_Tbl2": {},
  "userLogin_Tbl3": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Adaptive_WebAModel">
  <UserLogin_Tbl1>
    <AccessLevel>sample string 3</AccessLevel>
    <ChangePwdAtNextLogin>true</ChangePwdAtNextLogin>
    <EmployeeId>6</EmployeeId>
    <Is_Active>sample string 4</Is_Active>
    <Location1>5</Location1>
    <PWD>sample string 1</PWD>
    <PwdChangedOn>2024-06-19T05:59:10.8881603-05:00</PwdChangedOn>
    <UID>sample string 2</UID>
  </UserLogin_Tbl1>
  <companydetail>
    <LogonName>sample string 3</LogonName>
    <companyid>1</companyid>
    <companyname>sample string 2</companyname>
  </companydetail>
  <employeedetail>
    <EmployeeId>2</EmployeeId>
    <EmployeeRoleId>3</EmployeeRoleId>
    <EmployeeRoleName>sample string 4</EmployeeRoleName>
    <companyid>1</companyid>
  </employeedetail>
  <userLogin_Tbl2 />
  <userLogin_Tbl3 />
</Response>