---
title: "Get active DTCs for the fleet"
url: "https://developers.vzconnect.com/apis/vehicle-update-api-v1/versions/05da0a4a-83c3-4ea4-bf95-677b0523cf9a/operations/getVehiclesActiveDtcs"
---

> Full API specification: https://developers.vzconnect.com/apis/vehicle-update-api-v1/versions/05da0a4a-83c3-4ea4-bf95-677b0523cf9a.md

# Get active DTCs for the fleet

`GET` `/rad/v1/vehicles/getvehiclesactivedtcs`

Operation ID: `getVehiclesActiveDtcs`

Pull all active Diagnostic Trouble Codes (DTCs) across an entire REVEAL fleet. At most 1,000 vehicles of an account are checked, and which ones is not defined, so for fleets with more than 1,000 vehicles the DTCs of some vehicles may be missing. Not all ECM units may be compatible or configured to report DTCs.

## Responses

- `200` - Successfully retrieved active DTCs. Only vehicles with at least one active DTC are included; the array is empty when no vehicle has an active DTC.
- `400` - Bad request — the request is not valid.
- `401` - Unauthorized — authentication credentials are missing or invalid.
- `500` - Internal server error.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Vehicle Update API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /rad/v1/vehicles/getvehiclesactivedtcs:
    get:
      summary: Get active DTCs for the fleet
      description: Pull all active Diagnostic Trouble Codes (DTCs) across an entire
        REVEAL fleet. At most 1,000 vehicles of an account are checked, and
        which ones is not defined, so for fleets with more than 1,000 vehicles
        the DTCs of some vehicles may be missing. Not all ECM units may be
        compatible or configured to report DTCs.
      operationId: getVehiclesActiveDtcs
      responses:
        "200":
          description: Successfully retrieved active DTCs. Only vehicles with at least one
            active DTC are included; the array is empty when no vehicle has an
            active DTC.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/VehiclesActiveDTC"
              example:
                - VehicleNumber: "33242526"
                  VehicleName: Gem2
                  ActiveDTCs: "OBDII DTC: P0123,OBDII DTC: P0111"
                  LastUpdatedDateTime: 2017-04-17T18:56:30
                - VehicleNumber: "999001"
                  VehicleName: Gem1
                  ActiveDTCs: "OBDII DTC: P0300"
                  LastUpdatedDateTime: 2017-04-17T18:56:31
        "400":
          description: Bad request — the request is not valid.
          content:
            application/json:
              schema:
                type: object
        "401":
          description: Unauthorized — authentication credentials are missing or invalid.
        "500":
          description: Internal server error.
          content:
            application/json:
              schema:
                type: object
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/rad/v1/vehicles/getvehiclesactivedtcs/?$
      tags:
        - Vehicle Update API
components:
  schemas:
    VehiclesActiveDTC:
      type: object
      description: Active DTC summary for a single vehicle.
      properties:
        VehicleNumber:
          type: string
          description: Unique vehicle identifier.
          example: "33242526"
        VehicleName:
          type: string
          description: Display name of the vehicle.
          example: Gem2
        ActiveDTCs:
          type: string
          description: Comma-separated list of currently active DTC codes.
        LastUpdatedDateTime:
          type: string
          format: date-time
          description: UTC timestamp of the last DTC update.
          example: null
          nullable: true
```
