moovexDocs

Get driver shift

Retrieve a driver shift by numeric id.

GET/driver-shifts/single/{id}

Path Parameters

ParameterTypeDescription
idstring-

Example Response

{
  "driverId": 10,
  "start": 1715000000,
  "end": 1715040000,
  "breaks": [
    {
      "start": {
        "hour": 12,
        "minute": 0
      },
      "end": {
        "hour": 12,
        "minute": 30
      }
    }
  ],
  "maxFirstTripDistance": 10,
  "startAddress": {
    "address": "123 Main St"
  },
  "allowedAreas": [
    5
  ],
  "areasPriorityMode": "all-stops",
  "areasPriorityLevel": "medium",
  "attributesIds": [
    7
  ],
  "suppliersIds": [
    9
  ],
  "allowSharedRides": true,
  "locationsIds": [
    3
  ],
  "enableInBetweenRides": true
}

On this page