# Get HOS clocks

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /openapi/hos/available-time/:
    get:
      summary: Get HOS clocks
      deprecated: false
      description: >-
        Get the current HOS status for all drivers. This method returns the
        current HOS status for all drivers in the organization.
      operationId: hos_available_time_retrieve
      tags:
        - Hours Of Service
        - Hours Of Service
      parameters:
        - name: date
          in: query
          description: ''
          required: false
          schema:
            type: string
            format: date
        - name: driverIds
          in: query
          description: ''
          required: true
          schema:
            type: array
            items:
              type: string
              format: uuid
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Response'
          headers: {}
          x-apidog-name: OK
      security: []
      x-apidog-folder: Hours Of Service
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/586350/apis/api-8318756-run
components:
  schemas:
    Response:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/Result'
      required:
        - results
      x-apidog-orders:
        - results
      x--orders:
        - results
      x--ignore-properties: []
      x-apidog-folder: ''
    Result:
      type: object
      properties:
        driver:
          type: string
        codrivers:
          type: array
          items:
            type: string
        availableTime:
          $ref: '#/components/schemas/AvailableTime'
        currentStatus:
          $ref: '#/components/schemas/CurrentStatusEnum'
      required:
        - driver
        - codrivers
        - availableTime
        - currentStatus
      x-apidog-orders:
        - driver
        - codrivers
        - availableTime
        - currentStatus
      x--orders:
        - driver
        - codrivers
        - availableTime
        - currentStatus
      x--ignore-properties: []
      x-apidog-folder: ''
    CurrentStatusEnum:
      enum:
        - offDuty
        - sleepingBed
        - driving
        - onDuty
        - intermediateW/CLP
        - intermediateW/RLP
        - personalConveyance
        - yardMove
        - certification
        - login
        - logout
        - enginePowerUpW/CLP
        - enginePowerUpW/RLP
        - engineShutDownW/CLP
        - engineShutDownW/RLP
        - malfunctionLogged
        - malfunctionCleared
        - diagnosticEventLogged
        - diagnosticEventCleared
      type: string
      description: |-
        * `offDuty` - Off Duty
        * `sleepingBed` - Sleeping
        * `driving` - Driving
        * `onDuty` - On-duty
        * `intermediateW/CLP` - Intermediate w/CLP
        * `intermediateW/RLP` - Intermediate w/RLP
        * `personalConveyance` - Personal Use
        * `yardMove` - Yard Move
        * `certification` - Certification
        * `login` - Login
        * `logout` - Logout
        * `enginePowerUpW/CLP` - Engine Power-up w/CLP
        * `enginePowerUpW/RLP` - Engine Power-up w/RLP
        * `engineShutDownW/CLP` - Engine Shut-down w/CLP
        * `engineShutDownW/RLP` - Engine Shut-down w/RLP
        * `malfunctionLogged` - ELD Malfunction Logged
        * `malfunctionCleared` - ELD Malfunction Cleared
        * `diagnosticEventLogged` - Data Diagnostic Event Logged
        * `diagnosticEventCleared` - Data Diagnostic Event Cleared
      x-apidog-folder: ''
    AvailableTime:
      type: object
      properties:
        cycle:
          type: integer
          description: In Milliseconds
        shift:
          type: integer
          description: In Milliseconds
        drive:
          type: integer
          description: In Milliseconds
        break:
          type: integer
          description: In Milliseconds
      required:
        - cycle
        - shift
        - drive
        - break
      x-apidog-orders:
        - cycle
        - shift
        - drive
        - break
      x--orders:
        - cycle
        - shift
        - drive
        - break
      x--ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.firsteld.com
    description: Prod Env
security: []

```
