GET api/ERP/Jobs/GetEmployees?typeID={typeID}
Get Employees
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
typeID |
Employees Type |
integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Employees
Collection of EmployeeTypeName | Description | Type | Additional information |
---|---|---|---|
EmpID | integer |
None. |
|
FullName | string |
None. |
|
LastName | string |
None. |
|
FirstName | string |
None. |
|
IsInactive | boolean |
None. |
|
Status | integer |
None. |
|
Sort | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "EmpID": 1, "FullName": "sample string 2", "LastName": "sample string 3", "FirstName": "sample string 4", "IsInactive": true, "Status": 1, "Sort": 1 }, { "EmpID": 1, "FullName": "sample string 2", "LastName": "sample string 3", "FirstName": "sample string 4", "IsInactive": true, "Status": 1, "Sort": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfEmployeeType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessObjects.ERP"> <EmployeeType> <EmpID>1</EmpID> <FirstName>sample string 4</FirstName> <FullName>sample string 2</FullName> <IsInactive>true</IsInactive> <LastName>sample string 3</LastName> <Sort>1</Sort> <Status>1</Status> </EmployeeType> <EmployeeType> <EmpID>1</EmpID> <FirstName>sample string 4</FirstName> <FullName>sample string 2</FullName> <IsInactive>true</IsInactive> <LastName>sample string 3</LastName> <Sort>1</Sort> <Status>1</Status> </EmployeeType> </ArrayOfEmployeeType>