---
title: "Get an asset"
url: "https://developers.vzconnect.com/apis/non-powered-assets-api-1/versions/b533035a-e30c-4262-8e48-4a8c49989686/operations/V1AssetsByAssetNumberGet"
---

> Full API specification: https://developers.vzconnect.com/apis/non-powered-assets-api-1/versions/b533035a-e30c-4262-8e48-4a8c49989686.md

# Get an asset

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

Operation ID: `V1AssetsByAssetNumberGet`

Get the Asset that matches the assetNumber for the authenticated account. Sample request: GET /v1/assets/A10001 Sample response: 200 { "AssetNumber": "A10001", "AssetName": "Flatbed - 1", "Make": "Hino", "Model": "GH", "Year": 2003, "Notes": "", "ESN": "659865465241" "PrimaryGroupId": null, "PrimaryGroupName": "Entire Fleet" } 404 { "Message": "The AssetNumber was not found A99999", }

## Path parameters

- `assetNumber` (string, required) - The AssetNumber that defines the Asset that will be retrieved. Should not be null or empty and should be no more than 96 characters long

## Responses

- `200` - If the request was successful
- `400` - If the assetNumber was invalid
- `401` - If the authentication credentials are invalid
- `404` - If no Asset matching the given assetNumber was found
- `500` - If an unknown error occurred when processing the request

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Non-Powered Assets API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
paths:
  /ast/v1/assets/{assetNumber}:
    get:
      tags:
        - Non-Powered Assets API
      summary: Get an asset
      description: >-
        Get the Asset that matches the assetNumber for the authenticated
        account.


        Sample request:
                    
            GET /v1/assets/A10001

                    
        Sample response:
                    
            200
            {
                "AssetNumber": "A10001",
                "AssetName": "Flatbed - 1",
                "Make": "Hino",
                "Model": "GH",
                "Year": 2003,
                "Notes": "",
                "ESN": "659865465241"
                "PrimaryGroupId": null,
                "PrimaryGroupName": "Entire Fleet"
            }
                    
            404
            {
                "Message": "The AssetNumber was not found A99999",
            }
      operationId: V1AssetsByAssetNumberGet
      parameters:
        - name: assetNumber
          in: path
          description: The AssetNumber that defines the Asset that will be retrieved.
            Should not be null or empty and should be no more than 96 characters
            long
          required: true
          schema:
            type: string
            description: The AssetNumber that defines the Asset that will be retrieved.
              Should not be null or empty and should be no more than 96
              characters long
      responses:
        "200":
          description: If the request was successful
          content:
            application/xml:
              schema:
                $ref: "#/components/schemas/AssetFull"
            application/json:
              schema:
                $ref: "#/components/schemas/AssetFull"
        "400":
          description: If the assetNumber was invalid
          content:
            application/xml: {}
            application/json: {}
        "401":
          description: If the authentication credentials are invalid
          content:
            application/xml: {}
            application/json: {}
        "404":
          description: If no Asset matching the given assetNumber was 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/[^/]+/?$
components:
  schemas:
    AssetFull:
      type: object
      properties:
        AssetNumber:
          type: string
        AssetName:
          type: string
        Make:
          type: string
        Model:
          type: string
        Year:
          type: integer
          format: int32
        Notes:
          type: string
        ESN:
          type: string
        PrimaryGroupId:
          type: string
        PrimaryGroupName:
          type: string
```
