1.0OAS 3.0
API Base URL
  • Server 1:https://api.us.vzconnect.com

Non-Powered Assets API

Operations for retrieving and updating non-powered assets and their primary group.

List active assets

Get all active Assets for the authenticated account.

Sample request:

GET /v1/assets

Sample responses:
200
[]

200
[{
    "AssetNumber": "A10001",
    "AssetName": "Flatbed - 1",
    "Make": "Hino",
    "Model": "GH",
    "Year": 2003,
    "Notes": "",
    "ESN": "659865465241"
    "PrimaryGroupId": null,
    "PrimaryGroupName": "Entire Fleet"
},{
    "AssetNumber": "A10002",
    "AssetName": "Flatbed - 2",
    "Make": "Hino",
    "Model": "FM1J",
    "Year": 2006,
    "Notes": "Requires Service"
    "ESN": "6598654587987",
    "PrimaryGroupId": "G10001",
    "PrimaryGroupName": "East coast fleet"
},{
    "AssetNumber": "A10003",
    "AssetName": "Chiller - 1",
    "Make": "",
    "Model": "",
    "Year": null,
    "Notes": "",
    "ESN": "11321654879"
    "PrimaryGroupId": "G10001",
    "PrimaryGroupName": "East coast fleet"
}]
get
https://api.us.vzconnect.com/ast/v1/assets

Response

If the request was successful

 

List active assets in a group

Get all active Assets in Group matching the given groupId. This will include Assets that are in any sub-groups of the given groupId.

Sample request:

GET /v1/assets/group/G10001

Sample responses:

200
[]
        
200
[{
    "AssetNumber": "A10002",
    "AssetName": "Flatbed - 2",
    "Make": "Hino",
    "Model": "FM1J",
    "Year": 2006,
    "Notes": "Requires Service"
    "ESN": "6598654587987",
    "PrimaryGroupId": "G10001",
    "PrimaryGroupName": "East coast fleet"
},{
    "AssetNumber": "A10003",
    "AssetName": "Chiller - 1",
    "Make": "",
    "Model": "",
    "Year": null,
    "Notes": "",
    "ESN": "11321654879"
    "PrimaryGroupId": "G10001",
    "PrimaryGroupName": "East coast fleet"
}]

404
{
    "Message": "The GroupId was not found G99999",
}
get
https://api.us.vzconnect.com/ast/v1/assets/group/{groupId}

Path Parameters

groupIdstringrequired

The GroupId that identifies the group for which all Assets should be retrieved. Should not be null or empty and should be no more than 45 characters long

Response

If the request was successful

 

Get an asset

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",
}
get
https://api.us.vzconnect.com/ast/v1/assets/{assetNumber}

Path Parameters

assetNumberstringrequired

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

Response

If the request was successful

AssetFull

AssetNumberstring
AssetNamestring
Makestring
Modelstring
Yearinteger(int32)
Notesstring
ESNstring
PrimaryGroupIdstring
PrimaryGroupNamestring