GET api/employee/{id}
Returns a specific Employee record by EployeeId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Employee| Name | Description | Type | Additional information |
|---|---|---|---|
| EmployeeId | integer |
None. |
|
| EmployeeCode | string |
None. |
|
| EmployeeTypeId | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| MiddleInit | string |
None. |
|
| SocialSecurity | string |
None. |
|
| DepartmentId | integer |
None. |
|
| SupervisorId | integer |
None. |
|
| UserCode | string |
None. |
|
| Receive_Inventory | string |
None. |
|
| Inactive | boolean |
None. |
|
| BranchId | integer |
None. |
|
| CategoryId | integer |
None. |
|
| PayrollAccountId | integer |
None. |
|
| HireDate | date |
None. |
|
| TerminationDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"EmployeeId": 1,
"EmployeeCode": "sample string 2",
"EmployeeTypeId": 1,
"FirstName": "sample string 3",
"LastName": "sample string 4",
"MiddleInit": "sample string 5",
"SocialSecurity": "sample string 6",
"DepartmentId": 1,
"SupervisorId": 1,
"UserCode": "sample string 7",
"Receive_Inventory": "sample string 8",
"Inactive": true,
"BranchId": 1,
"CategoryId": 1,
"PayrollAccountId": 1,
"HireDate": "2025-10-30T11:38:41.3670379-05:00",
"TerminationDate": "2025-10-30T11:38:41.3670379-05:00"
}
application/xml, text/xml
Sample:
<Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models"> <BranchId>1</BranchId> <CategoryId>1</CategoryId> <DepartmentId>1</DepartmentId> <EmployeeCode>sample string 2</EmployeeCode> <EmployeeId>1</EmployeeId> <EmployeeTypeId>1</EmployeeTypeId> <FirstName>sample string 3</FirstName> <HireDate>2025-10-30T11:38:41.3670379-05:00</HireDate> <Inactive>true</Inactive> <LastName>sample string 4</LastName> <MiddleInit>sample string 5</MiddleInit> <PayrollAccountId>1</PayrollAccountId> <Receive_Inventory>sample string 8</Receive_Inventory> <SocialSecurity>sample string 6</SocialSecurity> <SupervisorId>1</SupervisorId> <TerminationDate>2025-10-30T11:38:41.3670379-05:00</TerminationDate> <UserCode>sample string 7</UserCode> </Employee>