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

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

# Get the last location for each of the requested assetNumbers

`POST` `/ast/v1/assets/locations`

Operation ID: `getAssetLocationsBatch`

## 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 Because multiple assetNumbers can be requested, the response will indicate the success status of the Asset and if the Asset is found, its respective location. For each distinct requested Asset, the response will have a Status of - 200 if the assetNumber was found for the account - 400 if the assetNumber was invalid (empty, whitespace only, or longer than 96 characters) - 404 if the assetNumber was not found for the account For each successfully found Asset of assetNumbers, the last location will have a Status of - 200 if the last location was successfully found for the respective Asset - 404 if no last location was found (within the account Data Plan) for the respective Asset - 500 if something else went wrong while fetching the last location of the Asset Notes: - A location may be not found (location Status 404) 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 - *Duplicate* assetNumbers are ignored. assetNumbers are compared case-insensitively and ignoring trailing whitespace - assetNumbers may have a maximum of 50 entries per request, counted before duplicates are removed. If this is exceeded, a 400 response will be returned - The order of the response items is not guaranteed to match the order of the request - If the asset or location lookup fails for the whole request, a 500 response is returned instead of per-Asset statuses Sample request: POST /ast/v1/assets/locations [ "A10001", "A10002", "X99999" ]

## Request body (required)

Content types: `application/xml`, `application/*+xml`, `application/json-patch+json`, `application/*+json`, `application/json`, `text/json`, `text/xml`

## Responses

- `200` - If the request was successful
- `400` - If more than 50 assetNumbers were requested. The body is a standard problem details object.
- `401` - If the authentication credentials were invalid
- `403` - If the caller's security token does not contain an account Id
- `500` - If an unknown error occurred when processing the request, including a failure to look up the requested assets or their locations

## 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/locations:
    post:
      tags:
        - Non-Powered Assets Update API
      summary: Get the last location for each of the requested assetNumbers
      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

        Because multiple assetNumbers can be requested, the response will indicate the success status of the Asset and if the Asset is found, its respective location.

        For each distinct requested Asset, the response will have a Status of
        - 200 if the assetNumber was found for the account
        - 400 if the assetNumber was invalid (empty, whitespace only, or longer than 96 characters)
        - 404 if the assetNumber was not found for the account

        For each successfully found Asset of assetNumbers, the last location will have a Status of
        - 200 if the last location was successfully found for the respective Asset
        - 404 if no last location was found (within the account Data Plan) for the respective Asset
        - 500 if something else went wrong while fetching the last location of the Asset

        Notes:
        - A location may be not found (location Status 404) 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
        - *Duplicate* assetNumbers are ignored. assetNumbers are compared case-insensitively and ignoring trailing whitespace
        - assetNumbers may have a maximum of 50 entries per request, counted before duplicates are removed. If this is exceeded, a 400 response will be returned
        - The order of the response items is not guaranteed to match the order of the request
        - If the asset or location lookup fails for the whole request, a 500 response is returned instead of per-Asset statuses

        Sample request:

            POST /ast/v1/assets/locations
            [
               "A10001",
               "A10002",
               "X99999"
            ]
      operationId: getAssetLocationsBatch
      requestBody:
        content:
          application/xml:
            schema:
              type: array
              items:
                type: string
          application/*+xml:
            schema:
              type: array
              items:
                type: string
          application/json-patch+json:
            schema:
              uniqueItems: false
              type: array
              items:
                type: string
          application/*+json:
            schema:
              uniqueItems: false
              type: array
              items:
                type: string
          application/json:
            schema:
              uniqueItems: false
              type: array
              items:
                type: string
            example:
              - A10001
              - A10002
              - X99999
          text/json:
            schema:
              uniqueItems: false
              type: array
              items:
                type: string
          text/xml:
            schema:
              type: array
              items:
                type: string
        required: true
        description: A list of up to 50 assetNumbers for which to retrieve the last
          location. Duplicate assetNumbers are ignored.
      responses:
        "200":
          description: If the request was successful
          content:
            application/xml:
              schema:
                uniqueItems: false
                type: array
                items:
                  required:
                    - AssetNumber
                  type: object
                  properties:
                    AssetNumber:
                      type: string
                      description: The AssetNumber called in the request, returned within the
                        response.
                      example: A10001
                    ContentResource:
                      type: object
                      nullable: true
                      allOf:
                        - $ref: "#/components/schemas/ContentResource%5BAssetGeoLocation%5D"
                      description: The last location lookup result. null unless Status is 200.
                    Status:
                      type: integer
                      format: int32
                      enum:
                        - 200
                        - 400
                        - 404
                      description: The status code indicating whether the AssetNumber could be found.
                        200 if found; 400 if the AssetNumber is invalid (empty,
                        whitespace only, or longer than 96 characters); 404 if
                        no Asset with that AssetNumber exists in the account.
                  title: AssetContentResource[AssetGeoLocation]
            application/json:
              schema:
                uniqueItems: false
                type: array
                items:
                  $ref: "#/components/schemas/AssetContentResource%5BAssetGeoLocation%5D"
              example:
                - AssetNumber: A10001
                  ContentResource:
                    Value:
                      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
                    Status: 200
                  Status: 200
                - AssetNumber: A10002
                  ContentResource:
                    Value: null
                    Status: 404
                  Status: 200
                - AssetNumber: X99999
                  ContentResource: null
                  Status: 404
        "400":
          description: If more than 50 assetNumbers were requested. The body is a standard
            problem details object.
          content:
            application/problem+json:
              schema:
                type: object
                description: A standard problem details object (RFC 9110 / RFC 7807).
                properties:
                  type:
                    type: string
                    description: A URI reference that identifies the problem type
                  title:
                    type: string
                    description: A short summary of the problem type
                  status:
                    type: integer
                    format: int32
                    description: The HTTP status code
                  traceId:
                    type: string
                    description: An identifier for the request, useful when contacting support
                title: ProblemDetails
              example:
                type: https://tools.ietf.org/html/rfc9110#section-15.5.1
                title: Bad Request
                status: 400
                traceId: 00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-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: {}
        "500":
          description: If an unknown error occurred when processing the request, including
            a failure to look up the requested assets or their locations
          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/locations/?$
```
