Employees
Search
Get total number of employees
Changed onget/employees/count
Request
- Base URLhttp://localhost:3000
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
group'ACTIVE' | 'INVOLVED' | 'JOBLESS' | 'DEPARTING' | 'NEW_HIRES' | 'PAST'
Filter employees by special groups
employeeNamestring
Filter employees by name
Example:John Doe
departmentIdstring
Filter employees by department ID
Example:123
skillsstring
Filter employees by skills according to skillsFiltering
Example:JavaScript,React
Filter employees by skills
skillsFiltering'ANY' | 'ALL'
If more than one skill is passed, return either employees with any of the skills (ANY) or with all of them (ALL)
Example:ALL
How to match employee skills
salaryFromstring
Minimum salary amount
Example:5000
salaryTostring
Maximum salary amount
Example:10000
Response
Successful operation
integer required
Example response
1250
Changes
- breaking
removed the enum value
NEWHIRESfrom thequeryrequest parametergroup - info
added the new enum value
NEW_HIRESto thequeryrequest parametergroup
- breaking
- info
added the new optional
queryrequest parametergroup
- info