Update Tire
Updates a Tire
Path Parameters
- id string required
Possible values: Value must match regular expression
^[0-9]+$
The id of the relevant record
- application/json
Request Body
- part_id NullableId
Possible values:
>= 1
- tire_position_id NullableId
Possible values:
>= 1
- pressure integer
Pressure
- tread_depth integer
Tread Depth
- 200
- 401
- 403
- 422
OK
- application/json
- Schema
- Example (from schema)
Schema
- id integer
The id of the
Tire
- tire_position_id integer
A
Tire Position
id. The existence of atire_position_id
indicates thisTire
is currently installed. Similiarly, if this value isnull
, then thisTire
is not currently installed on aVehicle
. - part_id integer
A
Part
id. - axle_config_id integer
An
Axle Configuration
id. The existence of aaxle_config_id
indicates thisTire
is currently installed. Similiarly, if this value isnull
, then thisTire
is not currently installed on aVehicle
. - pressure integer
The air pressure of the
Tire
in pounds per square inch (PSI) - tread_depth integer
The tread depth of the
Tire
in /32 inch. - current_meter number
The current meter of the
Tire
. - created_at date-time
When the
Tire
was created - updated_at date-time
When the
Tire
was last updated
{
"id": 1,
"tire_position_id": 1,
"part_id": 1,
"axle_config_id": 1,
"pressure": 32,
"tread_depth": 12,
"current_meter": 19250,
"created_at": "2024-09-06",
"updated_at": "2024-09-06"
}
Request could not be authenticated
- application/json
- Schema
- Example (from schema)
Schema
- status integer
Possible values:
>= 400
and<= 599
- title string
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.
- detail string
A human-readable explanation specific to this occurrence of the problem.
- instance string
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 (from schema)
Schema
- status integer
Possible values:
>= 400
and<= 599
- title string
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.
- detail string
A human-readable explanation specific to this occurrence of the problem.
- instance string
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"
}
Unprocessable Entity
- application/json
- Schema
- Example (from schema)
- Example
Schema
errors object
typeitems string
{
"errors": {}
}
{
"errors": {
"field1": [
"error1",
"error2"
],
"field2": [
"error3"
]
}
}