> ## 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.

# Driver Journey History Latest

> Returns the latest tracking events that have been processed by Connect for a driver since the specified date. No details are returned for a private journey.<br/><br/>An error is returned if the value specified for fromDateTime is more than 14 days in the past or is a future date.<br/><br/>The output response is limited to a maximum of 500 tracking events as the output is not paged.<br/><br/>To use this endpoint to return tracking events for only those drivers that have been processed by Connect since a specified processed date/time, the procedure is as follows:<ul><li>Call the endpoint with a value for fromDateTime that is not 14 days in the past</li><li>In the next call this endpoint, specify the value for fromDateTime to be processedDateTime from the previous call</li><li>If there are more than 500 tracking events that have been processed by Connect from the value specified fromDateTime, then only 500 tracking events will be included in the output response. In this case, processedDateTime will be set to the date that the 500th tracking event was processed by Connect and therefore should be used as the value for fromDateTime in subsequent calls</li></ul>



## OpenAPI

````yaml /api-reference/vehicle-tracking.json get /public/v1/customer/{customerId}/tracking/history/driver/latest
openapi: 3.0.1
info:
  title: Vehicle Tracking
  description: >-
    A foundational pack delivering essential “track & trace” capability across
    your fleet.
  contact:
    name: Masternaut
    url: https://www.masternaut.com
    email: support@masternautconnect.com
  version: 124.0.2607160821
servers:
  - url: https://api.masternautconnect.com/connect-webservices/services
    description: Product Server
security:
  - basicAuth: []
tags:
  - name: /alert
    description: Alert history and notification management operations
  - name: /input
    description: Input usage operations for vehicles and drivers
  - name: /journey/detail
    description: Journey detail operations with vehicle and driver perspectives
  - name: /location
    description: Location management operations
  - name: /tokenInformation
    description: Token operations
  - name: /tracking/history
    description: Tracking history operations for vehicles and drivers
  - name: /tracking/journey
    description: Journey tracking and management operations
  - name: /tracking/live
    description: Live tracking operations
  - name: /vehicle
    description: Vehicle management operations
paths:
  /public/v1/customer/{customerId}/tracking/history/driver/latest:
    get:
      tags:
        - /tracking/history
      summary: Driver Journey History Latest
      description: >-
        Returns the latest tracking events that have been processed by Connect
        for a driver since the specified date. No details are returned for a
        private journey.<br/><br/>An error is returned if the value specified
        for fromDateTime is more than 14 days in the past or is a future
        date.<br/><br/>The output response is limited to a maximum of 500
        tracking events as the output is not paged.<br/><br/>To use this
        endpoint to return tracking events for only those drivers that have been
        processed by Connect since a specified processed date/time, the
        procedure is as follows:<ul><li>Call the endpoint with a value for
        fromDateTime that is not 14 days in the past</li><li>In the next call
        this endpoint, specify the value for fromDateTime to be
        processedDateTime from the previous call</li><li>If there are more than
        500 tracking events that have been processed by Connect from the value
        specified fromDateTime, then only 500 tracking events will be included
        in the output response. In this case, processedDateTime will be set to
        the date that the 500th tracking event was processed by Connect and
        therefore should be used as the value for fromDateTime in subsequent
        calls</li></ul>
      operationId: getLatestEventHistoryByDriver
      parameters:
        - name: customerId
          in: path
          required: true
          schema:
            type: string
        - name: fromDateTime
          in: query
          description: >-
            Start date and time for the tracking history search period. Format:
            yyyy-MM-dd'T'HH:mm:ss in UTC. Required.
          required: true
          schema:
            type: string
            description: >-
              Start date and time for the tracking history search period.
              Format: yyyy-MM-dd'T'HH:mm:ss in UTC. Required.
            format: date-time
        - name: driverId
          in: query
          description: >-
            Unique identifier of the driver to retrieve latest tracking history
            for
          required: true
          schema:
            type: string
            description: >-
              Unique identifier of the driver to retrieve latest tracking
              history for
      responses:
        '200':
          description: Successful operation
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/LatestTrackingHistoryResultsDto'
        '400':
          description: Invalid request parameters or validation errors.
        '404':
          description: Driver not found.
components:
  schemas:
    LatestTrackingHistoryResultsDto:
      type: object
      properties:
        items:
          type: array
          description: List of latest tracking history results for vehicles
          items:
            $ref: '#/components/schemas/TrackingHistoryResultDto'
        processedDateTime:
          type: string
          description: >-
            Date and time when the results were processed. Format:
            yyyy-MM-dd'T'HH:mm:ss.SSS in UTC.
          format: date-time
        totalCount:
          type: integer
          description: Total count of tracking history results
          format: int32
      description: >-
        Container for latest tracking history results with processing
        information
    TrackingHistoryResultDto:
      type: object
      properties:
        eventDate:
          type: string
          description: >-
            Date and time of the tracking event. Format: yyyy-MM-dd'T'HH:mm:ss
            in UTC.
          format: date-time
        vehicleId:
          type: string
          description: Unique identifier of the vehicle
        vehicleRegistration:
          type: string
          description: Registration number of the vehicle
        vehicleName:
          type: string
          description: Name of the vehicle
        vehicleGroupName:
          type: string
          description: Name of the vehicle's group
        driverId:
          type: string
          description: Unique identifier of the driver
        driverName:
          type: string
          description: Name of the driver
        driverGroupName:
          type: string
          description: Name of the driver's group
        eventStatus:
          type: string
          description: Status of the tracking event
        longitude:
          type: number
          description: Longitude coordinate of the vehicle location
          format: double
        latitude:
          type: number
          description: Latitude coordinate of the vehicle location
          format: double
        formattedAddress:
          type: string
          description: Formatted address of the vehicle location
        locationId:
          type: string
          description: Unique identifier of the location
        locationName:
          type: string
          description: Name of the location
        locationCategory:
          type: string
          description: Category of the location
        speed:
          type: number
          description: Vehicle speed in kilometers per hour
          format: double
        heading:
          type: number
          description: Vehicle heading in degrees
          format: double
        inputId:
          type: string
          description: Unique identifier of the input device
        inputLabel:
          type: string
          description: Label of the input device
        inputState:
          type: string
          description: State of the input device
        customInputLabel:
          type: string
          description: Custom label of the input device
        customInputState:
          type: string
          description: Custom state of the input device
        cumulativeRuntime:
          type: integer
          description: Cumulative runtime of the vehicle in seconds
          format: int64
        cumulativeRuntimeType:
          type: string
          description: Type of cumulative runtime measurement
          enum:
            - CAN
            - ESTIMATED
        cumulativeIdleTime:
          type: integer
          description: Cumulative idle time of the vehicle in seconds
          format: int64
        cumulativePtoTime:
          type: integer
          description: Cumulative PTO (Power Take-Off) time of the vehicle in seconds
          format: int64
        cumulativeDistance:
          type: number
          description: Cumulative distance traveled by the vehicle in kilometers
          format: double
        cumulativeFuelUsage:
          type: number
          description: Cumulative fuel usage by the vehicle
          format: double
        fuelLevelPercentage:
          type: number
          description: Fuel level as a percentage
          format: float
        fuelLevelLitres:
          type: number
          description: Fuel level in litres
          format: float
        electricRangeKm:
          type: number
          description: Electric vehicle range in kilometers
          format: float
        electricRangeKmEstimated:
          type: boolean
          description: Whether the electric range is estimated
        electricBatteryLevelPercent:
          type: number
          description: Electric vehicle battery level as a percentage
          format: float
        electricBatteryLevelPercentEstimated:
          type: boolean
          description: Whether the electric battery level is estimated
        createdDate:
          type: string
          description: Date when the record was created
          format: date-time
        distanceKms:
          type: number
          description: Distance traveled in kilometers for this event
          format: double
      description: >-
        Vehicle tracking history information containing location, status, and
        vehicle/driver details
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic

````