Skip to main content
GET
/
job
/
overlaps
Overlapping jobs
curl --request GET \
  --url https://ontime-api.masternautconnect.com/jobs/job/overlaps \
  --header 'x-connect-token: <x-connect-token>'
[
  {
    "primaryResource": "DRIVER",
    "resourceId": "<string>",
    "overlappingJobs": [
      {
        "jobInfo": {
          "id": "<string>",
          "scheduledStart": "<string>",
          "primeResource": "DRIVER",
          "duration": "<string>",
          "title": "<string>",
          "jobNumber": "<string>"
        },
        "overlaps": [
          {
            "id": "<string>",
            "scheduledStart": "<string>",
            "primeResource": "DRIVER",
            "duration": "<string>",
            "title": "<string>",
            "jobNumber": "<string>"
          }
        ]
      }
    ],
    "resourceName": "<string>"
  }
]

Headers

x-connect-token
string
required

Query Parameters

startWindow
string
required

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.

endWindow
string
required

The date and time to end the search.

Response

200 - application/json

overlaps 200 response

primaryResource
enum<string>

Denotes whether the vehicle is assigned to a vehicle or driver

Available options:
DRIVER,
VEHICLE,
$UNKNOWN
resourceId
string

System identifier for an existing driver

overlappingJobs
object[]
resourceName
string

Driver or vehicle name