GET api/Employee/{id}
Get Specific Employee details based on parameter passed
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
EmployeeName | Description | Type | Additional information |
---|---|---|---|
id |
Unique Identified of the Employee |
integer |
None. |
employeeName |
Employee Name |
string |
None. |
employeeSalary |
Employee Salary |
integer |
None. |
employeeAge |
Age of the Employee |
integer |
None. |
profileImage |
Profile image of the Employee |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "employeeName": "sample string 2", "employeeSalary": 3, "employeeAge": 4, "profileImage": "sample string 5" }
application/xml, text/xml
Sample:
<Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models"> <employeeAge>4</employeeAge> <employeeName>sample string 2</employeeName> <employeeSalary>3</employeeSalary> <id>1</id> <profileImage>sample string 5</profileImage> </Employee>