Skip to main content

Create a vehicle using a VIN

POST 

/api/vehicles/create/by-vin

Create a vehicle in the Ownli System. This method requires the caller to pass the VIN of the vehicle. If Ownli does not find a VIN match for this, the vehicle will not be created.

Request

Header Parameters

    partnerId stringrequired

    Partner Id

    clientId stringrequired

    Client Id

    clientSecret stringrequired

    Client Secret

Body

required

    userId stringrequired

    Id of the user.

    vin stringrequired

    VIN of the vehicle.

    make stringrequired

    Make of the vehicle.

    model stringrequired

    Model of the vehicle.

    year int32required

    Possible values: >= 1980

    Year vehicle was built.

    licensePlate string

    License plate number of the vehicle.

    state string

    2 Letter State Code (eg. AL, CA, CO etc.

Responses

The vehicle object created.

Schema

    id string

    Id of the vehicle

    license string

    License plate number

    photoUrl string

    Photo of Vehicle

    make string

    Make of the vehicle

    model string

    Model of the vehicle

    vin string

    VIN of the vehicle.

    state string

    2 Letter State Code (eg. AL, CA, CO etc.)

    year string

    Year vehicle was built.

    dateAdded string

    Time at which vehicle was added to the system

    updated string

    Last updated timestamp

    userId string

    User id of the owner

    customerPhoneNumber string

    Phone number of the owner

    active boolean
Loading...