get
/api/v2/filters/vehicle-classesPython SDK method:
client.filters.get_vehicle_classes()Get vehicle classes
Returns the list of vehicle classes for the specified vehicle class scheme. Pass the filter IDs returned here in the vehicleClassIds field of analysis requests.
Altitude Help Center — getVehicleClassesInput Parameters
| Name | Location | Type | Values | Description | Value Required |
|---|---|---|---|---|---|
vehicleClassSchemeId | query | VehicleClassSchemeID | 1, 2, 3, 4, 5 | Vehicle class scheme ID (1–5). Defaults to 2 (FHWA/GVWR) when omitted. See GET /api/v2/filters/vehicle-class-schemes. | N |
Success Responses
200 response: object
OK.
| Name | Type | Description |
|---|---|---|
categoryDescription | string | Vehicle class category description. |
categoryIndex | integer (int64) | Vehicle category index within the scheme. |
id | string | Stable vehicle class identifier. |
maxWeightKilograms | integer (int64) | Maximum weight in kilograms. |
maxWeightPounds | integer (int64) | Maximum weight in pounds. |
minWeightKilograms | integer (int64) | Minimum weight in kilograms. |
minWeightPounds | integer (int64) | Minimum weight in pounds. |
schemeId | integer (int64) | Vehicle class scheme identifier. |
vehicleClass | string | Vehicle class label. |
vehicleClassIndex | integer (int64) | Vehicle class index within the scheme. |
vehicleType | string | Vehicle type label. |
weightClassGrouping | string | Weight class grouping label. |
weightClasses | array<WeightClass> | Included weight-class labels. |
Response Errors
| HTTP Status Code | Reason |
|---|---|
| 400 | The request body or parameters are invalid. |
| 401 | Authentication is required or the provided credentials are invalid. |
| 403 | The authenticated user lacks permission to perform this operation. |
| 404 | The requested resource does not exist. |
| 422 | The request is syntactically valid but semantically cannot be processed. |
| 429 | The request rate limit has been exceeded. |
| 500 | An unexpected server error occurred. |