GET api/Employee
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of EmployeeModelName | Description | Type | Additional information |
---|---|---|---|
emp_id | integer |
None. |
|
full_name | string |
None. |
|
job_title | string |
None. |
|
picture | string |
None. |
|
performance | boolean |
None. |
|
attitude | boolean |
None. |
|
score | decimal number |
None. |
|
warning | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "emp_id": 1, "full_name": "sample string 2", "job_title": "sample string 3", "picture": "sample string 4", "performance": true, "attitude": true, "score": 7.1, "warning": true }, { "emp_id": 1, "full_name": "sample string 2", "job_title": "sample string 3", "picture": "sample string 4", "performance": true, "attitude": true, "score": 7.1, "warning": true } ]
application/xml, text/xml
Sample:
<ArrayOfEmployeeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <EmployeeModel> <attitude>true</attitude> <emp_id>1</emp_id> <full_name>sample string 2</full_name> <job_title>sample string 3</job_title> <performance>true</performance> <picture>sample string 4</picture> <score>7.1</score> <warning>true</warning> </EmployeeModel> <EmployeeModel> <attitude>true</attitude> <emp_id>1</emp_id> <full_name>sample string 2</full_name> <job_title>sample string 3</job_title> <performance>true</performance> <picture>sample string 4</picture> <score>7.1</score> <warning>true</warning> </EmployeeModel> </ArrayOfEmployeeModel>