Retrieve Axle Configuration
GEThttps://secure.fleetio.com/api/v1/axle_configs/:id
Retrieve the details of an existing Axle Configuration.
Request
Path Parameters
The Fleetio ID of the relevant Axle Configuration
Responses
- 200
- 401
- 403
- 404
- 500
OK
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 1
The date and time at which this record was created.
2023-03-14T13:46:27-06:00
The date and time at which this record was most recently updated.
2023-03-14T13:46:27-06:00
Possible values: >= 1
This Axle Configuration's name.
4x4
This Axle Configuration's name.
4 wheel positions, 4 driven
Possible values: >= 1
Whether this is the Vehicle's current active Axle Configuration
axles object[]required
{
"id": 0,
"created_at": "2023-03-14T13:46:27-06:00",
"updated_at": "2023-03-14T13:46:27-06:00",
"account_id": 0,
"name": "4x4",
"description": "4 wheel positions, 4 driven",
"vehicle_id": 0,
"active": true,
"axles": [
{
"id": 1,
"axle_config_id": 1,
"name": "Front Axle",
"sequence": 0,
"type_code": "steer",
"is_powered": true,
"tire_positions": [
{
"id": 1,
"axle_id": 1,
"left_right": "left",
"inner_outer": null,
"tire": [
{
"id": 1,
"part_id": null,
"tire_position_id": 1,
"tread_depth": 6,
"tread_depth_health": "warning",
"pressure": 28,
"pressure_health": "normal",
"current_meter": 4315,
"part": null
}
]
},
{
"id": 2,
"axle_id": 1,
"left_right": "right",
"inner_outer": null,
"tire": [
{
"id": 2,
"part_id": null,
"tire_position_id": 2,
"tread_depth": 4,
"tread_depth_health": "low",
"pressure": 34,
"pressure_health": "normal",
"current_meter": 4315,
"part": null
}
]
}
]
},
{
"id": 2,
"axle_config_id": 1,
"name": "Rear Axle",
"sequence": 1,
"rear_axle": "drive",
"is_powered": true,
"tire_positions": [
{
"id": 3,
"axle_id": 2,
"left_right": "left",
"inner_outer": null,
"tire": [
{
"id": 3,
"part_id": null,
"tire_position_id": 3,
"tread_depth": 12,
"tread_depth_health": "ok",
"pressure": 30,
"pressure_health": "ok",
"current_meter": 4315,
"part": null
}
]
},
{
"id": 4,
"axle_id": 2,
"left_right": "right",
"inner_outer": null,
"tire": [
{
"id": 4,
"part_id": null,
"tire_position_id": 4,
"tread_depth": 15,
"tread_depth_health": "normal",
"pressure": null,
"pressure_health": "unknown",
"current_meter": 4315,
"part": null
}
]
}
]
}
]
}
Request could not be authenticated
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Insufficient permission to perform this operation
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
The requested resource could not be located
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Something unexpected happened
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64". You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)
- curl
- ruby
- python
- csharp
- go
- java
- nodejs
- php
- CURL
curl -L 'https://secure.fleetio.com/api/v1/axle_configs/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Token <Authorization>' \
-H 'Account-Token: <Authorization>'