GET api/organization/employees?skip={skip}&take={take}&name={name}
Get all employees
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
skip | integer |
Default value is 0 |
|
take | integer |
Default value is 50 |
|
name |
Employee name |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of GetEmployeeDTOName | Description | Type | Additional information |
---|---|---|---|
EmployeeId |
Employee ID. |
integer |
None. |
Name |
Employee name. |
string |
None. |
IsUser |
Is an employee a user. |
boolean |
None. |
IsDeleted |
Is an employee deleted. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "EmployeeId": 1, "Name": "sample string 2", "IsUser": true, "IsDeleted": true }, { "EmployeeId": 1, "Name": "sample string 2", "IsUser": true, "IsDeleted": true } ]
text/html
Sample:
[{"EmployeeId":1,"Name":"sample string 2","IsUser":true,"IsDeleted":true},{"EmployeeId":1,"Name":"sample string 2","IsUser":true,"IsDeleted":true}]
application/xml, text/xml
Sample:
<ArrayOfGetEmployeeDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs"> <GetEmployeeDTO> <EmployeeId>1</EmployeeId> <IsDeleted>true</IsDeleted> <IsUser>true</IsUser> <Name>sample string 2</Name> </GetEmployeeDTO> <GetEmployeeDTO> <EmployeeId>1</EmployeeId> <IsDeleted>true</IsDeleted> <IsUser>true</IsUser> <Name>sample string 2</Name> </GetEmployeeDTO> </ArrayOfGetEmployeeDTO>