GET api/SWPON_Employee/Login?UserName={UserName}&Password={Password}&CompanytId={CompanytId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
Required |
|
| Password | string |
Required |
|
| CompanytId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
SWPON_Employee| Name | Description | Type | Additional information |
|---|---|---|---|
| CompanyId | integer |
None. |
|
| EmployeeId | integer |
None. |
|
| EmployeeCode | string |
None. |
|
| EmployeeName | string |
None. |
|
| string |
None. |
||
| Mobile | string |
None. |
|
| LocationId | integer |
None. |
|
| ShiftId | integer |
None. |
|
| DepartmentId | integer |
None. |
|
| Designation | string |
None. |
|
| WorkActivity | string |
None. |
|
| ManagerId | integer |
None. |
|
| JoiningDate | string |
None. |
|
| Active | boolean |
None. |
|
| Password | string |
None. |
|
| Location | string |
None. |
|
| ShiftName | string |
None. |
|
| DepartmentDesc | string |
None. |
|
| DescDesc | string |
None. |
|
| CompanyName | string |
None. |
|
| Role | string |
None. |
|
| SW_CustomerId | integer |
None. |
|
| SalaryDateDay | string |
None. |
|
| MachineId | string |
None. |
|
| IsPunchIn | string |
None. |
|
| SW_EmpId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CompanyId": 1,
"EmployeeId": 2,
"EmployeeCode": "sample string 3",
"EmployeeName": "sample string 4",
"Email": "sample string 5",
"Mobile": "sample string 6",
"LocationId": 7,
"ShiftId": 8,
"DepartmentId": 9,
"Designation": "sample string 10",
"WorkActivity": "sample string 11",
"ManagerId": 12,
"JoiningDate": "sample string 13",
"Active": true,
"Password": "sample string 15",
"Location": "sample string 16",
"ShiftName": "sample string 17",
"DepartmentDesc": "sample string 18",
"DescDesc": "sample string 19",
"CompanyName": "sample string 20",
"Role": "sample string 21",
"SW_CustomerId": 22,
"SalaryDateDay": "sample string 23",
"MachineId": "sample string 24",
"IsPunchIn": "sample string 25",
"SW_EmpId": "sample string 26"
}
application/xml, text/xml
Sample:
<SWPON_Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLibrary"> <Active>true</Active> <CompanyId>1</CompanyId> <CompanyName>sample string 20</CompanyName> <DepartmentDesc>sample string 18</DepartmentDesc> <DepartmentId>9</DepartmentId> <DescDesc>sample string 19</DescDesc> <Designation>sample string 10</Designation> <Email>sample string 5</Email> <EmployeeCode>sample string 3</EmployeeCode> <EmployeeId>2</EmployeeId> <EmployeeName>sample string 4</EmployeeName> <IsPunchIn>sample string 25</IsPunchIn> <JoiningDate>sample string 13</JoiningDate> <Location>sample string 16</Location> <LocationId>7</LocationId> <MachineId>sample string 24</MachineId> <ManagerId>12</ManagerId> <Mobile>sample string 6</Mobile> <Password>sample string 15</Password> <Role>sample string 21</Role> <SW_CustomerId>22</SW_CustomerId> <SW_EmpId>sample string 26</SW_EmpId> <SalaryDateDay>sample string 23</SalaryDateDay> <ShiftId>8</ShiftId> <ShiftName>sample string 17</ShiftName> <WorkActivity>sample string 11</WorkActivity> </SWPON_Employee>