---
title: "SegmentResult"
url: "https://developers.vzconnect.com/apis/vehicle-segment-data-api-v1/versions/ff312cd1-d8ba-464a-9a56-cfc6adc7d18b/schemas/SegmentResult"
---

> Full API specification: https://developers.vzconnect.com/apis/vehicle-segment-data-api-v1/versions/ff312cd1-d8ba-464a-9a56-cfc6adc7d18b.md

# SegmentResult

A segment result grouping the driver, vehicle, and list of segments for the requested period.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Vehicle Segment Data API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    SegmentDriver:
      type: object
      description: Driver details for the segment result.
      properties:
        Number:
          type: string
          nullable: true
          description: Driver Number, the unique identifier for Drivers created within
            REVEAL. Null if the Driver record has no Driver Number.
          example: "204"
        FirstName:
          type: string
          nullable: true
          description: The first name of the driver.
          example: Cameron
        LastName:
          type: string
          nullable: true
          description: The last name of the driver.
          example: Potvin
    SegmentVehicle:
      type: object
      description: Vehicle details for the segment result.
      properties:
        Number:
          type: string
          description: The Vehicle Number called in the request, returned within the
            response.
          example: "95000"
        Name:
          type: string
          description: The Vehicle Name as displayed within the REVEAL account.
          example: FD 0095
    Segment:
      type: object
      description: A single journey/stop segment. Vehicle Start is an Ignition On
        event; Vehicle End is an Ignition Off event.
      properties:
        StartDateUtc:
          type: string
          format: date-time
          description: "The date and time stamp (UTC) when the Ignition On start event
            occurred for the segment. Format:
            YEAR-MONTH-DAYTHOURS-MINUTES-SECONDS."
          example: 2026-11-01T20:31:59
        StartLocation:
          allOf:
            - $ref: "#/components/schemas/SegmentLocation"
          nullable: true
          description: The start location of the segment. Null when StartLocationIsPrivate
            is TRUE.
        StartLocationIsPrivate:
          type: boolean
          nullable: true
          description: TRUE when the plot is flagged as private (Privacy feature). When
            TRUE, the corresponding location is returned as null.
          example: false
        EndLocation:
          allOf:
            - $ref: "#/components/schemas/SegmentLocation"
          nullable: true
          description: The end location of the segment. Null when EndLocationIsPrivate is
            TRUE or the segment is not complete.
        EndDateUtc:
          type: string
          format: date-time
          nullable: true
          description: "The date and time stamp (UTC) when the Ignition Off end event
            occurred for the segment. Null when IsComplete is FALSE. Format:
            YEAR-MONTH-DAYTHOURS-MINUTES-SECONDS."
          example: 2026-11-02T00:42:38
        EndLocationIsPrivate:
          type: boolean
          nullable: true
          description: TRUE when the plot is flagged as private (Privacy feature). When
            TRUE, the corresponding location is returned as null.
          example: false
        IsComplete:
          type: boolean
          description: False when only a starting segment event occurs within the queried
            24 hour window (no ending segment details are available); otherwise
            true.
          example: true
        DistanceKilometers:
          type: number
          format: double
          nullable: true
          description: The number of kilometers traveled between the Start and End
            Location for the segment, calculated from the odometer readings.
            Null when IsComplete is FALSE.
          example: 25
    SegmentLocation:
      type: object
      description: Location elements for a segment start or end, including coordinates
        and address components (global standards).
      properties:
        Latitude:
          type: number
          format: double
          nullable: true
          description: The Latitude coordinate for the location.
          example: 33.008785
        Longitude:
          type: number
          format: double
          nullable: true
          description: The Longitude coordinate for the location.
          example: -97.35084
        AddressLine1:
          type: string
          nullable: true
          description: Location specific identification such as a house number.
          example: 13200 Raceway Dr
        AddressLine2:
          type: string
          nullable: true
          description: Additional information to identify location such as an apartment
            number.
          example: ""
        Locality:
          type: string
          nullable: true
          description: City, town, etc.
          example: Roanoke
        AdministrativeArea:
          type: string
          nullable: true
          description: State, province, etc.
          example: TX
        PostalCode:
          type: string
          nullable: true
          description: Postal code.
          example: "76262"
        Country:
          type: string
          nullable: true
          description: Country.
          example: USA
    SegmentResult:
      type: object
      description: A segment result grouping the driver, vehicle, and list of segments
        for the requested period.
      properties:
        Driver:
          allOf:
            - $ref: "#/components/schemas/SegmentDriver"
          nullable: true
          description: Driver associated with the segments. Null when no driver is
            assigned to the vehicle for the segments.
        Vehicle:
          allOf:
            - $ref: "#/components/schemas/SegmentVehicle"
          nullable: true
          description: Vehicle associated with the segments. Null when the driver has no
            vehicle assigned in the period.
        Segments:
          type: array
          nullable: true
          description: The segments for the selected driver/vehicle. Each segment includes
            start/end dates, locations, privacy flags, completeness, and
            distance. Null when the vehicle has no tracking data in the period;
            empty when the driver has no vehicle assigned.
          items:
            $ref: "#/components/schemas/Segment"
```
