---
title: "VehicleLocationResponse"
url: "https://stage-api-docs.centraldispatch.com/apis/stage-fulfillment-api-1-0-0/versions/8637c155-7ff6-49fa-ac0a-3b4df78c9665/schemas/VehicleLocationResponse"
---

> Full API specification: https://stage-api-docs.centraldispatch.com/apis/stage-fulfillment-api-1-0-0/versions/8637c155-7ff6-49fa-ac0a-3b4df78c9665.md

# VehicleLocationResponse

Details of a vehicle's location.

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Fulfillment API
  version: 1.0.0
servers:
  - url: https://fulfillment-api.centraldispatch.com
    description: Production server
components:
  schemas:
    EventType:
      enum:
        - PICKED_UP
        - IN_TRANSIT
        - DELIVERED
      description: The event type. This list is not exhaustive and additional values
        may be added at any time.
      example: IN_TRANSIT
    VehicleLocationResponse:
      type: object
      properties:
        href:
          type: string
          description: The fully qualified URL of the dispatch.
          nullable: true
          example: https://fulfillment-api.centraldispatch.com/api/fulfillments/id/d159acc0-e89b-12d3-a456-426614174000
        vehicleId:
          type: string
          description: The ID of the vehicle.
          format: uuid
          example: b331c130-e89b-12d3-a456-426614174000
        dispatchId:
          type: string
          description: The ID of the dispatch.
          format: uuid
          example: d159acc0-e89b-12d3-a456-426614174000
        userId:
          type: string
          description: The Central Dispatch user ID.
          format: uuid
          example: d71b5750-e89b-12d3-a456-426614174000
        vehicleTrackingDeviceId:
          type: string
          description: The vehicle tracking device ID.
          nullable: true
          example: 2539f4b4-d3d6-45db-8df3-7ba768caba9b
        eventType:
          $ref: "#/components/schemas/EventType"
        lastVehicleLocationId:
          type: string
          description: The location ID of the vehicle's last location.
          format: uuid
          nullable: true
          example: 3fde6068-5fa2-4ae4-af16-06d65fc87dc9
        latitude:
          type: number
          description: The latitude of the location.
          format: double
          example: 33.81228788622535
        longitude:
          type: number
          description: The longitude of the location.
          format: double
          example: -117.91836265987132
        locationDateUtc:
          type: string
          description: The date and time of the vehicle's last location, in UTC/ISO 8601
            format.
          format: date-time
          example: 2024-10-15T00:00:00Z
      description: Details of a vehicle's location.
```
