get
/api/v2/filters/vocationsPython SDK method:
client.filters.get_vocations()Get vocation filter options
Returns the list of vehicle vocation options as determined by Geotab's machine learning classification. Pass the vocation IDs returned here in the vocations field of analysis requests.
Altitude Help Center — getVocationsSuccess Responses
200 response: object
OK.
| Name | Type | Description |
|---|---|---|
displayOrder | integer (int64) | Sort order for display. |
vocation | string | Vocation label. |
vocationId | integer (int64) | Unique vocation identifier. |
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. |