Skip to main content

Create Vehicle Renewal Type

Creates a new Vehicle Renewal Type

Request Body

  • name string
Responses

OK

Response Headers


    Schema

    • id integer

      Possible values: >= 1

    • created_at date-time

      The date and time at which this record was created.

    • updated_at date-time

      The date and time at which this record was most recently updated.

    • account_id integer

      Possible values: >= 1

    • name string

      The name of the Vehicle Renewal Type.

    POST /v1/vehicle_renewal_types

    Authorization

    type: apiKeyname: Authorizationin: header
    type: apiKeyname: Account-Tokenin: header

    Request

    Base URL
    https://secure.fleetio.com/api
    Body
    {
    "name": "string"
    }
    curl -L -X POST 'https://secure.fleetio.com/api/v1/vehicle_renewal_types' \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    -H 'Authorization: Token <API_KEY>' \
    -H 'Account-Token: <ACCOUNT_TOKEN>' \
    -H 'X-Api-Version: 2024-01-01' \
    --data-raw '{
    "name": "string"
    }'