openapi: 3.2.0 info: description: 'This API will return a list of information for employees who report to a manager. The base endpoint URL for this API in production is: `https://marko.aramark.net/v1/labor/manager`. For testing the API with the "Try" tool on this page or in your app, use either our testing server "qa-marko" or our development server "dev-marko".' version: 1.0.0-oas3 title: Labor Manager Employees Employee API servers: - url: https://qa-marko.aramark.net/v1/labor/manager description: Testing server - url: https://dev-marko.aramark.net/v1/labor/manager description: Development server tags: - name: Employee description: Get information about Employees who report to a Manager paths: /employeees: get: summary: Returns employee information from manager id description: 'Returns a collection of data for employees who report to a manager !This endpoint is in production' operationId: getManagerEmployees tags: - Employee parameters: - $ref: '#/components/parameters/employeeIdParam' - $ref: '#/components/parameters/bypassCacheParam' - $ref: '#/components/parameters/smokeParam' responses: '200': description: Provides the Supervisor data for an employee content: application/json: schema: type: object properties: status: type: string description: ENUM 'Success', 'Error' or 'Not Found' default: Success count: type: integer description: Number of records being returned manager: type: array items: $ref: '#/components/schemas/employees' '404': description: Requested resource does not exist. '405': description: HTTP Verb / Operation not supported components: parameters: bypassCacheParam: in: header name: bypass-cache description: This HTTP Header variable will bypass cache schema: type: string enum: - 'true' - 'false' default: 'false' smokeParam: in: header name: smoke description: When set to 'true' this HTTP Header variable will route to the Integration environment. Only applicable in QA Server schema: type: string enum: - 'true' - 'false' default: 'false' employeeIdParam: in: query name: employee_id description: Unique identifier of the employee required: true schema: type: string schemas: employees: type: object properties: employee_id: type: string description: Unqiue ID for the employee's manager securitySchemes: apikey: type: apiKey in: header name: apikey description: This HTTP Header variable will verify security