Skip to main content

Create Tire

POST 

https://secure.fleetio.com/api/v1/tires

Creates a new Tire

Request

Body

    part_idId (integer)

    Possible values: >= 1

    tire_position_idId (integer)

    Possible values: >= 1

    pressureinteger

    Pressure

    tread_depthinteger

    Tread Depth

Responses

OK

Schema
    idintegerrequired

    The id of the Tire

    Example: 1
    tire_position_idintegernullablerequired

    A Tire Position id. The existence of a tire_position_id indicates this Tire is currently installed. Similiarly, if this value is null, then this Tire is not currently installed on a Vehicle.

    Example: 1
    part_idintegernullablerequired

    A Part id.

    Example: 1
    axle_config_idintegernullablerequired

    An Axle Configuration id. The existence of a axle_config_id indicates this Tire is currently installed. Similiarly, if this value is null, then this Tire is not currently installed on a Vehicle.

    Example: 1
    pressureintegernullablerequired

    The air pressure of the Tire in pounds per square inch (PSI)

    Example: 32
    tread_depthintegernullablerequired

    The tread depth of the Tire in /32 inch.

    Example: 12
    current_meternumberrequired

    The current meter of the Tire.

    Example: 19250
    created_atdate-timerequired

    When the Tire was created

    updated_atdate-timerequired

    When the Tire was last updated

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 -L 'https://secure.fleetio.com/api/v1/tires' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Token <Authorization>' \
-H 'Account-Token: <Authorization>' \
-d '{
"part_id": 0,
"tire_position_id": 0,
"pressure": 0,
"tread_depth": 0
}'
Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Body
{
  "part_id": 0,
  "tire_position_id": 0,
  "pressure": 0,
  "tread_depth": 0
}
ResponseClear

Click the Send API Request button above and see the response here!