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

# Live Position Latest GeoJSON

> Returns the live position and status for all vehicles in GeoJSON Specification (RFC 7946) format.<br/><br/>Returns the live position and status for a resource (driver or vehicle). The live position for a vehicle on a private journey is not returned. By default vehicles which have a status of SOLD are not included in the response.<br/><br/>This endpoint can be used to return details for only those vehicles where tracking data has been processed since a specified processed date/time as follows:<ul><li>Call the endpoint and do not specify a value for fromDateTime</li><li>In the next call to this endpoint, specify the value for fromDateTime to be processedDateTime from the previous call</li></ul>If vehicleIds, driverIds or groupIds are not specified, then the live position for all vehicles is returned. If driverIds is specified, then the driver must be recorded against their vehicle for their live position to be returned. If groupIds is specified, then the current position for all drivers/vehicles in the specified groups are included in the output. Only one of vehicleIds, driverIds or groupIds can be specified as an input parameter.<br/><br/>If fromDateTime is specified, then only vehicles where tracking information has been processed since the specified date/time are included in the output response. An error is returned if the value specified for fromDateTime is more than one day in the past. No details are returned if the value specified for fromDateTime is a future date.<br/><br/><b>Request Limit:</b><br/>The request limit on this endpoint is one request every 15 seconds. You will receive an HTTP status code of 429 (too many requests) and no details will be returned if you exceed this restriction.



## OpenAPI

````yaml https://api.connectedfleet.michelin.com/vehicle-tracking/api-docs get /public/v1/customer/{customerId}/tracking/live/latest/geojson
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.connectedfleet.michelin.com/vehicle-tracking
    description: Product Server
security:
  - bearerAuth: []
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/live/latest/geojson:
    get:
      tags:
        - /tracking/live
      summary: Live Position Latest GeoJSON
      description: >-
        Returns the live position and status for all vehicles in GeoJSON
        Specification (RFC 7946) format.<br/><br/>Returns the live position and
        status for a resource (driver or vehicle). The live position for a
        vehicle on a private journey is not returned. By default vehicles which
        have a status of SOLD are not included in the response.<br/><br/>This
        endpoint can be used to return details for only those vehicles where
        tracking data has been processed since a specified processed date/time
        as follows:<ul><li>Call the endpoint and do not specify a value for
        fromDateTime</li><li>In the next call to this endpoint, specify the
        value for fromDateTime to be processedDateTime from the previous
        call</li></ul>If vehicleIds, driverIds or groupIds are not specified,
        then the live position for all vehicles is returned. If driverIds is
        specified, then the driver must be recorded against their vehicle for
        their live position to be returned. If groupIds is specified, then the
        current position for all drivers/vehicles in the specified groups are
        included in the output. Only one of vehicleIds, driverIds or groupIds
        can be specified as an input parameter.<br/><br/>If fromDateTime is
        specified, then only vehicles where tracking information has been
        processed since the specified date/time are included in the output
        response. An error is returned if the value specified for fromDateTime
        is more than one day in the past. No details are returned if the value
        specified for fromDateTime is a future date.<br/><br/><b>Request
        Limit:</b><br/>The request limit on this endpoint is one request every
        15 seconds. You will receive an HTTP status code of 429 (too many
        requests) and no details will be returned if you exceed this
        restriction.
      operationId: getLatestLiveStatusAsGeoJson
      parameters:
        - name: customerId
          in: path
          required: true
          schema:
            type: string
        - name: vehicleIds
          in: query
          description: Comma separated list of vehicle identifiers (alphanumeric).
          required: false
          schema:
            type: array
            description: Comma separated list of vehicle identifiers (alphanumeric).
            items:
              type: string
        - name: groupIds
          in: query
          description: Comma separated list of group ids.
          required: false
          schema:
            type: array
            description: Comma separated list of group ids.
            items:
              type: string
        - name: driverIds
          in: query
          description: Comma separated list of driver identifiers (alphanumeric).
          required: false
          schema:
            type: array
            description: Comma separated list of driver identifiers (alphanumeric).
            items:
              type: string
        - name: fromDateTime
          in: query
          description: Start date and time for the tracking data retrieval
          required: false
          schema:
            type: string
            description: Start date and time for the tracking data retrieval
            format: date-time
        - name: showAllVehicleStatus
          in: query
          description: >-
            Boolean (true/false) to indicate if details of all vehicles should
            be included, irrespective of their status. If not specified,
            defaults to FALSE, so vehicles with a status of SOLD are excluded
            from the response.
          required: false
          schema:
            type: boolean
            description: >-
              Boolean (true/false) to indicate if details of all vehicles should
              be included, irrespective of their status. If not specified,
              defaults to FALSE, so vehicles with a status of SOLD are excluded
              from the response.
        - name: locale
          in: query
          description: Locale for the response data.
          required: false
          schema:
            type: string
            description: Locale for the response data.
        - name: hideSpeedIfSpeedSensitive
          in: query
          description: >-
            Boolean (true/false) to indicate if the vehicle speed should be
            excluded from the output if the driver;'s group (if there is a
            driver for the vehicle) or the vehicle's group has been defined to
            be speed sensitive. If not specified, defaults to FALSE, so the
            vehicle's speed is included in the response.
          required: false
          schema:
            type: boolean
            description: >-
              Boolean (true/false) to indicate if the vehicle speed should be
              excluded from the output if the driver;'s group (if there is a
              driver for the vehicle) or the vehicle's group has been defined to
              be speed sensitive. If not specified, defaults to FALSE, so the
              vehicle's speed is included in the response.
      responses:
        '200':
          description: >-
            Paginated List of most recent detailed tracking inputs
            (LatestTrackingLiveResultsDto), where 1 item is
            TrackingLiveResultDto and contains combined CurrentPositionResult
            and Asset data. Data are selected from DB based on either vehicleIds
            or driverIds or groupIds. If none of the DB selector fits it returns
            empty list
          content:
            application/geo+json:
              schema:
                $ref: '#/components/schemas/FeatureCollection'
        '400':
          description: >-
            When multiple filter option are filled in (vehicleIds and groupIds
            OR vehicleIds and driverIds OR driverIds and groupIds).

            When filtering field contains id of resource which is not visible to
            user. Message is: 'fieldName: Invalid value [value] => Resource not
            visible to User'
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/ApiErrorDto'
components:
  schemas:
    FeatureCollection:
      type: object
      properties:
        features:
          type: array
          items:
            $ref: '#/components/schemas/Feature'
        type:
          type: string
    ApiErrorDto:
      type: object
      properties:
        errorCode:
          type: integer
          format: int32
        errorMessage:
          type: string
        offendingFields:
          type: array
          items:
            type: string
    Feature:
      type: object
      properties:
        properties:
          type: object
          additionalProperties:
            type: object
        geometry:
          $ref: '#/components/schemas/Geometry'
        type:
          type: string
    Geometry:
      type: object
      properties:
        type:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````