Lane API Trade- In API
The Trade- In API from Lane API — 4 operation(s) for trade- in.
The Trade- In API from Lane API — 4 operation(s) for trade- in.
openapi: 3.0.2
info:
version: 1.3.43
title: Lane Trade- In API
contact:
email: support@netsolapp.io, support@appexnow.com
x-logo:
url: ../lane/docs/64x64.png
altText: Lane
backgroundColor: '#FFFFFF'
description: Lane offers a feature-rich, end-to-end order management system for asset leasing, loans and credit companies. Our platform covers all aspects, from conducting end-to-end sales to performing dealer and partner-related tasks and marketing-related activities.
servers:
- url: https://dms-api.netsolapp.io
tags:
- name: Trade- In
paths:
/dms/get-trade-in-vehicle_value/:
post:
tags:
- Trade- In
summary: Get vehicle estimation from KBB
description: This method will provide vehicle estimation from KBB
operationId: get_trade_in_vehicle_value_dms_get_trade_in_vehicle_value__post
parameters:
- description: Vehicle valuation service to use
required: false
schema:
allOf:
- $ref: '#/components/schemas/VehicleValuationProviders'
description: Vehicle valuation service to use
name: x-service-provider
in: header
- description: Dealer code from the header
required: false
schema:
title: X-Dealer-Code
type: string
description: Dealer code from the header
name: x-dealer-code
in: header
- description: Company ID from the dealer
required: false
schema:
title: Company-Id
type: string
description: Company ID from the dealer
name: company-id
in: header
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TradeInVehicleValue'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/get-trade-in-vehicle_detail/:
post:
tags:
- Trade- In
summary: Get vehicle details from KBB
description: This will give vehicle details from KBB
operationId: get_trade_in_vehicle_detail_dms_get_trade_in_vehicle_detail__post
parameters:
- description: Vehicle valuation service to use
required: false
schema:
allOf:
- $ref: '#/components/schemas/VehicleValuationProviders'
description: Vehicle valuation service to use
name: x-service-provider
in: header
- description: Dealer code from the header
required: false
schema:
title: X-Dealer-Code
type: string
description: Dealer code from the header
name: x-dealer-code
in: header
- description: Company ID from the dealer
required: false
schema:
title: Company-Id
type: string
description: Company ID from the dealer
name: company-id
in: header
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TradeInVehicleDetail'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/set-trade-in-inspection-status/{order_id}:
patch:
tags:
- Trade- In
summary: Set Trade-in inspection status
description: This method will set Trade-in inspection status
operationId: set_trade_in_inspection_status_dms_set_trade_in_inspection_status__order_id__patch
parameters:
- required: true
schema:
title: Order Id
type: integer
name: order_id
in: path
- required: true
schema:
$ref: '#/components/schemas/TradeInInspectionStatus'
name: inspection_status
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/get-trade_in_history/{order_id}:
get:
tags:
- Trade- In
summary: Get trade in history
description: This method will get all the trade in history
operationId: get_trade_in_history_dms_get_trade_in_history__order_id__get
parameters:
- required: true
schema:
title: Order Id
type: integer
name: order_id
in: path
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
components:
schemas:
TradeInVehicleValue:
title: TradeInVehicleValue
type: object
properties:
vehicle_id:
title: Vehicle Id
type: integer
default: 0
odometer:
title: Odometer
type: integer
default: 0
zip_code:
title: Zip Code
type: string
default: ''
vehicle_option_id:
title: Vehicle Option Id
type: array
items:
$ref: '#/components/schemas/VehicleOption'
default: []
start_year:
title: Start Year
type: integer
default: 0
end_year:
title: End Year
type: integer
default: 0
model_id:
title: Model Id
type: integer
default: 0
TradeInInspectionStatus:
title: TradeInInspectionStatus
enum:
- Pending
- Completed
description: An enumeration.
HTTPValidationError:
title: HTTPValidationError
type: object
properties:
detail:
title: Detail
type: array
items:
$ref: '#/components/schemas/ValidationError'
ValidationError:
title: ValidationError
required:
- loc
- msg
- type
type: object
properties:
loc:
title: Location
type: array
items:
anyOf:
- type: string
- type: integer
msg:
title: Message
type: string
type:
title: Error Type
type: string
VehicleValuationProviders:
title: VehicleValuationProviders
enum:
- KBB
- JDPower
type: string
description: An enumeration.
TradeInVehicleDetail:
title: TradeInVehicleDetail
type: object
properties:
platform_vehicle_type:
$ref: '#/components/schemas/PlateformVehicleType'
vehicle_id:
title: Vehicle Id
type: integer
default: 0
year_id:
title: Year Id
type: integer
default: 0
make_id:
title: Make Id
type: integer
default: 0
model_year_id:
title: Model Year Id
type: integer
default: 0
model_id:
title: Model Id
type: integer
default: 0
trim_id:
title: Trim Id
type: integer
default: 0
make_name:
title: Make Name
type: string
default: ''
model_name:
title: Model Name
type: string
default: ''
VehicleOption:
title: VehicleOption
required:
- vehicleOptionId
type: object
properties:
vehicleOptionId:
title: Vehicleoptionid
type: integer
PlateformVehicleType:
title: PlateformVehicleType
enum:
- Car
- NewCar
- UsedCar
- MotorBike
type: string
description: An enumeration.
securitySchemes:
APIKeyHeader:
type: apiKey
in: header
name: X-Api-Key
OAuth2PasswordBearer:
type: oauth2
flows:
password:
scopes: {}
tokenUrl: /signup/verify-otp
externalDocs:
url: https://developer.appexnow.com/docs/lane/overview
description: Product Documentation