---
title: "Get an asset's GPS history"
url: "https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/V1AssetsByAssetNumberStatusHistoryGet"
---

> Full API specification: https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2.md

# Get an asset's GPS history

`GET` `/ast/v1/assets/{assetNumber}/status/history`

Operation ID: `V1AssetsByAssetNumberStatusHistoryGet`

## Before you start Before you make your first API call, make sure you have the following: - Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace. - You have the Client ID and Client Secret for your integration. - Get an access token using your Client ID and Client Secret. For instructions, read [get your token](/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getToken). > If you are maintaining an existing integration configured before **November 27, 2026** using an **App ID** and **legacy credentials**, follow the [Call the APIs with legacy credentials Guide](/guides/legacy). ## Purpose Returns the reported GPS location history of a non-powered asset between two dates, up to 30 days apart. A 400 status will be returned if any of the following conditions are not met: - The assetnumber must not be null or empty and be no more than 96 characters long - The startdatetimeutc and enddatetimeutc parameters are both required and should have the format yyyy-MM-ddTHH:mm:ss - The enddatetimeutc DateTime cannot be before startdatetimeutc - The startdatetimeutc and enddatetimeutc must be within 30 days of each other - The enddatetimeutc DateTime cannot be after the DateTime that the request was made - The startdatetimeutc DateTime cannot be before the DataPlan of the requesting Account Notes: - Gps history locations may be not found (Status 204) if the Asset has not yet reported a location, or if it has but the last time it reported was outside the *DataPlan* of the account Sample request: GET /v1/assets/A10001/status/history?startdatetimeutc=2020-04-27T19:00:00&enddatetimeutc=2020-05-01T01:00:00

## Path parameters

- `assetNumber` (string, required) - The AssetNumber for which to get Gps location history. Should not be null or empty and should be no more than 96 characters long

## Query parameters

- `endDateTimeUtc` (string, required) - The end of the date range for which to get Gps location history for the assetNumber. Must have the format yyyy-MM-ddTHH:mm:ss. Must be within 30 days of startDateTimeUtc. Must be after startDateTimeUtc and before the DateTime the request was made.
- `startDateTimeUtc` (string, required) - The start of the date range for which to get Gps location history for the assetNumber. Must have the format yyyy-MM-ddTHH:mm:ss. Must be within 30 days of endDateTimeUtc. Must be within the account's DataPlan

## Responses

- `200` - If the request was successful
- `204` - If the assetNumber was found but no location information was found within the Account's DataPlan
- `400` - If the assetNumber was invalid, or if the startDateTimeUtc or endDateTimeUtc query parameters were invalid
- `401` - If the authentication credentials were invalid
- `403` - If the caller's security token does not contain an account Id
- `404` - If the assetNumber was not found
- `500` - If an unknown error occurred when processing the request

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Verizon Connect API
  version: 1.0.0
servers:
  - url: https://api.us.vzconnect.com
paths:
  /ast/v1/assets/{assetNumber}/status/history:
    get:
      tags:
        - Non-Powered Assets GPS History API
      summary: Get an asset's GPS history
      description: |-
        ## Before you start

        Before you make your first API call, make sure you have the following:

        - Your Verizon Connect account manager or administrator has requested a Client ID and Client Secret for your integration in Reveal Marketplace.
        - You have the Client ID and Client Secret for your integration.
        - Get an access token using your Client ID and Client Secret. For instructions, read [get your token](/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getToken).

        > If you are maintaining an existing integration configured before **November 27, 2026** using an **App ID** and **legacy credentials**, follow the [Call the APIs with legacy credentials Guide](/guides/legacy).

        ## Purpose

        Returns the reported GPS location history of a non-powered asset between two dates, up to 30 days apart.

        A 400 status will be returned if any of the following conditions are not met:
        - The assetnumber must not be null or empty and be no more than 96 characters long
        - The startdatetimeutc and enddatetimeutc parameters are both required and should have the format yyyy-MM-ddTHH:mm:ss
        - The enddatetimeutc DateTime cannot be before startdatetimeutc
        - The startdatetimeutc and enddatetimeutc must be within 30 days of each other
        - The enddatetimeutc DateTime cannot be after the DateTime that the request was made
        - The startdatetimeutc DateTime cannot be before the DataPlan of the requesting Account

        Notes:
        - Gps history locations may be not found (Status 204) if the Asset has not yet reported a location, or if it has but the last time it reported was outside the *DataPlan* of the account

        Sample request:

            GET /v1/assets/A10001/status/history?startdatetimeutc=2020-04-27T19:00:00&enddatetimeutc=2020-05-01T01:00:00
      operationId: V1AssetsByAssetNumberStatusHistoryGet
      parameters:
        - name: assetNumber
          in: path
          description: The AssetNumber for which to get Gps location history. Should not
            be null or empty and should be no more than 96 characters long
          required: true
          schema:
            type: string
            description: The AssetNumber for which to get Gps location history. Should not
              be null or empty and should be no more than 96 characters long
          example: A10001
        - name: endDateTimeUtc
          in: query
          description: The end of the date range for which to get Gps location history for
            the assetNumber. Must have the format yyyy-MM-ddTHH:mm:ss. Must be
            within 30 days of startDateTimeUtc. Must be after startDateTimeUtc
            and before the DateTime the request was made.
          required: true
          schema:
            type: string
            description: The end of the date range for which to get Gps location history for
              the assetNumber. Must have the format yyyy-MM-ddTHH:mm:ss. Must be
              within 30 days of startDateTimeUtc. Must be after startDateTimeUtc
              and before the DateTime the request was made.
          example: 2020-05-01T01:00:00
        - name: startDateTimeUtc
          in: query
          description: The start of the date range for which to get Gps location history
            for the assetNumber. Must have the format yyyy-MM-ddTHH:mm:ss. Must
            be within 30 days of endDateTimeUtc. Must be within the account's
            DataPlan
          required: true
          schema:
            type: string
            description: The start of the date range for which to get Gps location history
              for the assetNumber. Must have the format yyyy-MM-ddTHH:mm:ss.
              Must be within 30 days of endDateTimeUtc. Must be within the
              account's DataPlan
          example: 2020-04-27T19:00:00
      responses:
        "200":
          description: If the request was successful
          content:
            application/xml:
              schema:
                uniqueItems: false
                type: array
                items:
                  type: object
                  properties:
                    Address:
                      type: object
                      properties:
                        AddressLine1:
                          type: string
                          description: Location specific identification such as a house number
                          example: 57 Bealey Avenue
                        AddressLine2:
                          type: string
                          description: Additional information to identify location such as an apartment
                            number
                        Locality:
                          type: string
                          description: "'City' is presented to the customer as 'Locality'"
                          example: Christchurch
                        AdministrativeArea:
                          type: string
                          description: "'State' is presented to the customer as 'AdministrativeArea'"
                          example: Canterbury
                        PostalCode:
                          type: string
                          example: "8013"
                        Country:
                          type: string
                          example: NZL
                      description: Address contains the global standards for address components
                      title: Address
                    DeviceTimeZoneOffset:
                      type: integer
                      format: int32
                      description: The GPS device's current time zone compared to UTC
                      example: 12
                    DeviceTimeZoneUseDST:
                      type: boolean
                      description: If the REVEAL account is set to acknowledge Daylight Savings Time
                        then this value will return as TRUE. REVEAL accounts in
                        the United States are automatically defaulted to True.
                      example: false
                    Latitude:
                      type: number
                      format: double
                      description: The latitude of the location
                      example: -41
                    Longitude:
                      type: number
                      format: double
                      description: The longitude of the location
                      example: 163
                    UpdateUTC:
                      type: string
                      format: date-time
                      description: The date time that the location was reported to reveal
                      example: 2020-04-29T22:06:37
                  description: "Designed for Asset History requests\r

                    /v1/assets/{assetnumber}/status/history"
                  title: AssetLocation
            application/json:
              schema:
                uniqueItems: false
                type: array
                items:
                  type: object
                  properties:
                    Address:
                      type: object
                      properties:
                        AddressLine1:
                          type: string
                          description: Location specific identification such as a house number
                          example: 57 Bealey Avenue
                        AddressLine2:
                          type: string
                          description: Additional information to identify location such as an apartment
                            number
                        Locality:
                          type: string
                          description: "'City' is presented to the customer as 'Locality'"
                          example: Christchurch
                        AdministrativeArea:
                          type: string
                          description: "'State' is presented to the customer as 'AdministrativeArea'"
                          example: Canterbury
                        PostalCode:
                          type: string
                          example: "8013"
                        Country:
                          type: string
                          example: NZL
                      description: Address contains the global standards for address components
                      title: Address
                    DeviceTimeZoneOffset:
                      type: integer
                      format: int32
                      description: The GPS device's current time zone compared to UTC
                      example: 12
                    DeviceTimeZoneUseDST:
                      type: boolean
                      description: If the REVEAL account is set to acknowledge Daylight Savings Time
                        then this value will return as TRUE. REVEAL accounts in
                        the United States are automatically defaulted to True.
                      example: false
                    Latitude:
                      type: number
                      format: double
                      description: The latitude of the location
                      example: -41
                    Longitude:
                      type: number
                      format: double
                      description: The longitude of the location
                      example: 163
                    UpdateUTC:
                      type: string
                      format: date-time
                      description: The date time that the location was reported to reveal
                      example: 2020-04-29T22:06:37
                  description: "Designed for Asset History requests\r

                    /v1/assets/{assetnumber}/status/history"
                  title: AssetLocation
              example:
                - Address:
                    AddressLine1: 2 Victoria Street
                    AddressLine2: ""
                    Locality: Christchurch
                    AdministrativeArea: Canterbury
                    PostalCode: "8013"
                    Country: NZL
                  DeviceTimeZoneOffset: 12
                  DeviceTimeZoneUseDST: false
                  Latitude: -41
                  Longitude: 163
                  UpdateUTC: 2020-05-01T00:56:06
                - Address:
                    AddressLine1: 57 Bealey Avenue
                    AddressLine2: ""
                    Locality: Christchurch
                    AdministrativeArea: Canterbury
                    PostalCode: "8013"
                    Country: NZL
                  DeviceTimeZoneOffset: 12
                  DeviceTimeZoneUseDST: false
                  Latitude: -41
                  Longitude: 162
                  UpdateUTC: 2020-04-29T22:06:37
        "204":
          description: If the assetNumber was found but no location information was found
            within the Account's DataPlan
          content:
            application/xml: {}
            application/json: {}
        "400":
          description: If the assetNumber was invalid, or if the startDateTimeUtc or
            endDateTimeUtc query parameters were invalid
          content:
            application/xml: {}
            application/json:
              schema:
                type: object
                properties:
                  Message:
                    type: string
                    description: A human-readable description of the error
                title: ErrorMessage
              example:
                Message: Start date must be greater than 2019-10-15T24:00:00
        "401":
          description: If the authentication credentials were invalid
          content:
            application/xml: {}
            application/json: {}
        "403":
          description: If the caller's security token does not contain an account Id
          content:
            application/xml: {}
            application/json: {}
        "404":
          description: If the assetNumber was not found
          content:
            application/xml: {}
            application/json: {}
        "500":
          description: If an unknown error occurred when processing the request
          content:
            application/xml: {}
            application/json: {}
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/ast/v1/assets/[^/]+/status/history/?$
```
