Skip to main content

Create a condition check-in.

POST 

/api/vehicles/checkin/condition

Create a condition check-in. A mileage check-in requires 8 photos of the vehicle from various sides. Photos need to be uploaded to the Ownli cloud via the Photo upload api.

Request

Header Parameters

    partnerId stringrequired

    Partner Id

    clientId stringrequired

    Client Id

    clientSecret stringrequired

    Client Secret

Body

required

    vehicleId stringrequired

    Vehicle Id of the vehicle.

    licensePlate string

    License plate number of the vehicle.

    state string

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

    photos

    object[]

    required

  • Array [

  • url stringrequired

    Url of the photo. The photo needs to be uploaded via the Photo Upload API.

    type stringrequired

    Possible values: Value must match regular expression ^(Back|Front|DriverSide|DriverSideFront|DriverSideBack|PassengerSide|PassengerSideFront|PassengerSideBack)$, [Back, Front, DriverSide, DriverSideFront, DriverSideBack, PassengerSide, PassengerSideFront, PassengerSideBack]

    Type of the photo. A value from one of the condition checkin photo types.

  • ]

Responses

The created condition check-in object.

Schema

    id string

    Id of the checkin

    license string

    License plate number

    userNote string

    User generated note. For communication between the user to the admin

    adminNote string

    Admin generated note. Usually used for on-hold or declined check-ins

    checkedInAt string

    Check-in date

    checkInStatus string

    Possible values: [Confirmed, Declined, OnHold, Pending]

    Status of the check-in

    updated string

    Last updated on

    photos

    object[]

    The photos of the vehicle taken from different angles

  • Array [

  • photoUrl string

    URL of the photo

    type string

    Possible values: [Back, Front, DriverSide, DriverSideFront, DriverSideBack, PassengerSide, PassengerSideFront, PassengerSideBack]

    Type of the photo. A value from one of the condition checkin photo types.

    latitude double

    Latitude at which photo was taken

    longitude double

    Longitude at which photo was taken

  • ]

Loading...