> ## Documentation Index
> Fetch the complete documentation index at: https://docs.connectedfleet.michelin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overlapping jobs

> GET request to retrieve a list of jobs where the window defined by scheduled start and planned duration overlaps with another job scheduled for the same resource. The request is limited to future jobs, a 24-hour window and only jobs with duration e.g. 0 mins jobs are omitted.



## OpenAPI

````yaml https://api.connectedfleet.michelin.com/job-management/api-docs get /job/overlaps
openapi: 3.0.1
info:
  title: Job Management API
  description: Jobs - API Documentation
  contact:
    url: http://www.masternaut.com
  version: 1.0.0
servers:
  - url: https://api.connectedfleet.michelin.com/job-management
security:
  - bearerAuth: []
paths:
  /job/overlaps:
    get:
      tags:
        - /job
      summary: Overlapping jobs
      description: >-
        GET request to retrieve a list of jobs where the window defined by
        scheduled start and planned duration overlaps with another job scheduled
        for the same resource. The request is limited to future jobs, a 24-hour
        window and only jobs with duration e.g. 0 mins jobs are omitted.
      operationId: overlaps
      parameters:
        - name: startWindow
          in: query
          description: >-
            The date and time to begin the search. Start window must be before
            the end window. Dates entered cannot be wholly in the past. The
            limit of the query is 24 hours.
          required: true
          schema:
            type: string
        - name: endWindow
          in: query
          description: The date and time to end the search.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: overlaps 200 response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OverlapsResponseDto'
components:
  schemas:
    OverlapsResponseDto:
      type: object
      properties:
        primaryResource:
          $ref: '#/components/schemas/PrimaryResource'
        resourceId:
          type: string
          description: System identifier for an existing driver
        overlappingJobs:
          type: array
          items:
            $ref: '#/components/schemas/OverlappingJobDto'
        resourceName:
          type: string
          description: Driver or vehicle name
    PrimaryResource:
      type: string
      enum:
        - DRIVER
        - VEHICLE
        - $UNKNOWN
    OverlappingJobDto:
      type: object
      properties:
        jobInfo:
          $ref: '#/components/schemas/OverlappedJobDto'
        overlaps:
          type: array
          items:
            $ref: '#/components/schemas/OverlappedJobDto'
    OverlappedJobDto:
      type: object
      properties:
        id:
          type: string
        scheduledStart:
          type: string
        primeResource:
          $ref: '#/components/schemas/PrimaryResource'
        duration:
          type: string
        title:
          type: string
        jobNumber:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````