---
title: "Get the last location of the assetNumber"
url: "https://developers.vzconnect.com/apis/verizon-connect-api/versions/50310ce9-d69d-4329-ac0b-f98a90ed73e2/operations/getAssetLocation"
---

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

# Get the last location of the assetNumber

`GET` `/ast/v1/assets/{assetNumber}/location`

Operation ID: `getAssetLocation`

## 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 Extracts the last recorded location of a specified asset. Notes: - A location may be not found (204 No Content) 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 /ast/v1/assets/A10001/location

## Path parameters

- `assetNumber` (string, required) - The AssetNumber for which to get the last location.

## Responses

- `200` - If the request was successful
- `204` - If the assetNumber was found but no location information was found within the Account's DataPlan. No content is returned.
- `400` - If the assetNumber was invalid (whitespace only, or longer than 96 characters)
- `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, including when the last location could not be retrieved

## 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}/location:
    get:
      tags:
        - Non-Powered Assets Update API
      summary: Get the last location of the assetNumber
      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

        Extracts the last recorded location of a specified asset.

        Notes:
        - A location may be not found (204 No Content) 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 /ast/v1/assets/A10001/location
      operationId: getAssetLocation
      parameters:
        - name: assetNumber
          in: path
          required: true
          schema:
            type: string
          description: The AssetNumber for which to get the last location.
          example: A10001
      responses:
        "200":
          description: If the request was successful
          content:
            application/xml:
              schema:
                type: object
                properties:
                  GeofenceName:
                    type: string
                    description: Geofence is a place configured within a REVEAL account to easily
                      identify particular locations. An empty string if the GPS
                      plot does not occur within a Geofence.
                    example: VZC
                  Address:
                    type: object
                    properties:
                      AddressLine1:
                        type: string
                        description: Location specific identification such as a house number
                        example: 2 Victoria Street, Christchurch Central City, Christchurch 8013, New
                          Zealand
                      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
                    nullable: true
                  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 last location
                    example: -41
                  Longitude:
                    type: number
                    format: double
                    description: The longitude of the last location
                    example: 162
                  UpdateUTC:
                    type: string
                    format: date-time
                    description: The date and time stamp when the GPS plot was received
                      (YEAR-MONTH-DAY T HOURS-MINUTES-SECONDS)
                    example: 2020-05-07T19:56:06
                description: "Designed for Asset last Location requests\r

                  /v1/assets/{assetnumber}/location"
                title: AssetGeoLocation
            application/json:
              schema:
                type: object
                properties:
                  GeofenceName:
                    type: string
                    description: Geofence is a place configured within a REVEAL account to easily
                      identify particular locations. An empty string if the GPS
                      plot does not occur within a Geofence.
                    example: VZC
                  Address:
                    type: object
                    properties:
                      AddressLine1:
                        type: string
                        description: Location specific identification such as a house number
                        example: 2 Victoria Street, Christchurch Central City, Christchurch 8013, New
                          Zealand
                      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
                    nullable: true
                  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 last location
                    example: -41
                  Longitude:
                    type: number
                    format: double
                    description: The longitude of the last location
                    example: 162
                  UpdateUTC:
                    type: string
                    format: date-time
                    description: The date and time stamp when the GPS plot was received
                      (YEAR-MONTH-DAY T HOURS-MINUTES-SECONDS)
                    example: 2020-05-07T19:56:06
                description: "Designed for Asset last Location requests\r

                  /v1/assets/{assetnumber}/location"
                title: AssetGeoLocation
              example:
                GeofenceName: VZC
                Address:
                  AddressLine1: 2 Victoria Street, Christchurch Central City, Christchurch 8013,
                    New Zealand
                  AddressLine2: ""
                  Locality: Christchurch
                  AdministrativeArea: Canterbury
                  PostalCode: "8013"
                  Country: NZL
                DeviceTimeZoneOffset: 12
                DeviceTimeZoneUseDST: false
                Latitude: -41
                Longitude: 162
                UpdateUTC: 2020-05-07T19:56:06
        "204":
          description: If the assetNumber was found but no location information was found
            within the Account's DataPlan. No content is returned.
        "400":
          description: If the assetNumber was invalid (whitespace only, or longer than 96
            characters)
          content:
            application/json:
              schema:
                type: object
                properties:
                  Message:
                    type: string
                    description: A human-readable description of the error
                title: ErrorMessage
        "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:
              schema:
                type: object
                properties:
                  Message:
                    type: string
                    description: A human-readable description of the error
                title: ErrorMessage
              example:
                Message: No Asset found with AssetNumber A10001
        "500":
          description: If an unknown error occurred when processing the request, including
            when the last location could not be retrieved
          content:
            application/json:
              schema:
                type: object
                properties:
                  Message:
                    type: string
                    description: A human-readable description of the error
                title: ErrorMessage
              example:
                Message: An error occurred when processing the request. Please contact
                  VerizonConnect support.
      x-kong-route-defaults:
        strip_path: false
        paths:
          - ~/ast/v1/assets/[^/]+/location/?$
```
