# Find all working employees.

`GET /api/employee/working`

Authentication (security requirement alternatives):

```json
[
  {
    "bearer": []
  }
]
```

- bearer: http (bearer), header JWT. Enter JWT token

Responses:

- 200: Found working employees

Content type: application/json

Type: object

Schema: [Employee](https://sourcey-gauzy.pages.dev/api-reference/models/employee/index.md)

- `deletedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `createdAt` (optional)
  Type: string, date-time
  
  The creation timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `updatedAt` (optional)
  Type: string, date-time
  
  The last update timestamp of the entity.
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `id` (optional)
  Type: string

- `isActive` (optional)
  Type: boolean
  
  default: true

- `isArchived` (optional)
  Type: boolean
  
  default: false

- `archivedAt` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2018-11-21T06:20:32.232Z"
  ```

- `tenantId` (optional)
  Type: string

- `organizationId` (optional)
  Type: string

- `short_description` (optional)
  Type: string
  
  maxLength: 200

- `description` (optional)
  Type: string

- `startedWorkOn` (optional)
  Type: string, date-time

- `endWork` (optional)
  Type: string, date-time

- `payPeriod` (optional)
  Type: string
  
  enum: ["NONE","BI_WEEKLY","WEEKLY","TWICE_PER_MONTH","MONTHLY"]
  
  Example:
  
  ```json
  "WEEKLY"
  ```

- `billRateValue` (optional)
  Type: number

- `minimumBillingRate` (optional)
  Type: number

- `billRateCurrency` (optional)
  Type: string
  
  enum: ["AFN","AFA","ALL","ALK","DZD","ADP","AOA","AOK","AON","AOR","ARA","ARS","ARM","ARP","ARL","AMD","AWG","AUD","ATS","AZN","AZM","BSD","BHD","BDT","BBD","BYN","BYB","BYR","BEF","BEC","BEL","BZD","BMD","BTN","BOB","BOL","BOV","BOP","BAM","BAD","BAN","BWP","BRC","BRZ","BRE","BRR","BRN","BRB","BRL","GBP","BND","BGL","BGN","BGO","BGM","BUK","BIF","XPF","KHR","CAD","CVE","KYD","XAF","CLE","CLP","CLF","CNX","CNY","COP","COU","KMF","CDF","CRC","HRD","HRK","CUC","CUP","CYP","CZK","CSK","DKK","DJF","DOP","NLG","XCD","DDM","ECS","ECV","EGP","GQE","ERN","EEK","ETB","EUR","XEU","FKP","FJD","FIM","FRF","XFO","XFU","GMD","GEK","GEL","DEM","GHS","GHC","GIP","GRD","GTQ","GWP","GNF","GNS","GYD","HTG","HNL","HKD","HUF","ISK","ISJ","INR","IDR","IRR","IQD","IEP","ILS","ILP","ILR","ITL","JMD","JPY","JOD","KZT","KES","KWD","KGS","LAK","LVL","LVR","LBP","LSL","LRD","LYD","LTL","LTT","LUL","LUC","LUF","MOP","MKD","MKN","MGA","MGF","MWK","MYR","MVR","MVP","MLF","MTL","MTP","MRO","MUR","MXV","MXN","MXP","MDC","MDL","MCF","MNT","MAD","MAF","MZE","MZN","MZM","MMK","NAD","NPR","ANG","TWD","NZD","NIO","NIC","NGN","KPW","NOK","OMR","PKR","PAB","PGK","PYG","PEI","PEN","PES","PHP","PLN","PLZ","PTE","GWE","QAR","XRE","RHD","RON","ROL","RUB","RUR","RWF","SVC","WST","SAR","RSD","CSD","SCR","SLL","SGD","SKK","SIT","SBD","SOS","ZAR","ZAL","KRH","KRW","KRO","SSP","SUR","ESP","ESA","ESB","LKR","SHP","SDD","SDG","SDP","SRD","SRG","SZL","SEK","CHF","SYP","STD","TJR","TJS","TZS","THB","TPE","TOP","TTD","TND","TRY","TRL","TMT","TMM","USD","USN","USS","UGX","UGS","UAH","UAK","AED","UYU","UYP","UYI","UZS","VUV","VEF","VEB","VND","VNN","CHE","CHW","XOF","YDD","YER","YUN","YUD","YUM","YUR","ZRN","ZRZ","ZMW","ZMK","ZWD","ZWR","ZWL"]
  
  Example:
  
  ```json
  "USD"
  ```

- `reWeeklyLimit` (optional)
  Type: number

- `offerDate` (optional)
  Type: string, date-time

- `acceptDate` (optional)
  Type: string, date-time

- `rejectDate` (optional)
  Type: string, date-time

- `employeeLevel` (optional)
  Type: string
  
  maxLength: 500

- `anonymousBonus` (optional)
  Type: boolean

- `averageIncome` (required)
  Type: number

- `averageBonus` (required)
  Type: number

- `totalWorkHours` (required)
  Type: number

- `averageExpenses` (required)
  Type: number

- `show_anonymous_bonus` (optional)
  Type: boolean

- `show_average_bonus` (optional)
  Type: boolean

- `show_average_expenses` (optional)
  Type: boolean

- `show_average_income` (optional)
  Type: boolean

- `show_billrate` (optional)
  Type: boolean

- `show_payperiod` (optional)
  Type: boolean

- `show_start_work_on` (optional)
  Type: boolean

- `isJobSearchActive` (optional)
  Type: boolean

- `linkedInUrl` (optional)
  Type: string

- `facebookUrl` (optional)
  Type: string

- `instagramUrl` (optional)
  Type: string

- `twitterUrl` (optional)
  Type: string

- `githubUrl` (optional)
  Type: string

- `gitlabUrl` (optional)
  Type: string

- `upworkUrl` (optional)
  Type: string

- `stackoverflowUrl` (optional)
  Type: string

- `isVerified` (optional)
  Type: boolean

- `isVetted` (optional)
  Type: boolean

- `totalJobs` (required)
  Type: number

- `jobSuccess` (required)
  Type: number

- `profile_link` (optional)
  Type: string

- `isTrackingEnabled` (optional)
  Type: boolean

- `isOnline` (optional)
  Type: boolean

- `isAway` (optional)
  Type: string
  
  default: false

- `isTrackingTime` (optional)
  Type: boolean

- `allowScreenshotCapture` (optional)
  Type: boolean

- `allowManualTime` (optional)
  Type: boolean

- `allowModifyTime` (optional)
  Type: boolean

- `allowDeleteTime` (optional)
  Type: boolean

- `allowAgentAppExit` (optional)
  Type: boolean

- `allowLogoutFromAgentApp` (optional)
  Type: boolean

- `trackKeyboardMouseActivity` (optional)
  Type: boolean

- `trackAllDisplays` (optional)
  Type: boolean

- `upworkId` (optional)
  Type: string

- `linkedInId` (optional)
  Type: string

- `userId` (required)
  Type: string

- `contactId` (required)
  Type: string

- `organizationPositionId` (required)
  Type: string

- 401: Unauthorized

- 403: Forbidden

- 404: No working employees found

## Examples

### cURL

```bash
curl -X GET 'http://localhost:3000/api/employee/working' \
  -H 'Authorization: Bearer YOUR_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/employee/working', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
  },
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get(
    'http://localhost:3000/api/employee/working',
    headers={
        'Authorization': 'Bearer YOUR_TOKEN',
    },
)
print(response.text)
```
