Skip to main content

Create a vehicle (by license plate and state)

POST 

/api/vehicles/create/by-license

Create a vehicle in the Ownli System. This method requires the caller to pass the license plate number and the license plate state. 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

    customerPhoneNumber stringrequired

    User's cell phone number used when creating the user.

    license stringrequired

    License plate number.

    state stringrequired

    2 Letter State code for the state in which License plate is registered.

    mileage int32required

    Possible values: >= 1

    Current Mileage of vehicle.

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...