Lane API Customers API
The Customers API from Lane API — 52 operation(s) for customers.
The Customers API from Lane API — 52 operation(s) for customers.
openapi: 3.0.2
info:
version: 1.3.43
title: Lane Customers 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: Customers
paths:
/dms/customer/:
post:
tags:
- Customers
summary: Creates customer
description: Create single customer record
operationId: add_customer_dms_customer__post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerProfileModel'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerProfileModelResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/customer/send-email-to-customer:
post:
tags:
- Customers
summary: send email to customer
description: send email to customer
operationId: send_on_boarding_email_dms_customer_send_email_to_customer_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SendCustomerEmailModel'
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/customer/all-customers:
get:
tags:
- Customers
summary: Get all customer records
description: Get all record against customers
operationId: get_all_customer_dms_customer_all_customers_get
parameters:
- required: true
schema:
title: Page Number
type: integer
name: page_number
in: query
- required: true
schema:
title: Page Size
minimum: 1
type: integer
name: page_size
in: query
- required: false
schema:
allOf:
- $ref: '#/components/schemas/SortEnum'
default: asc
name: sort
in: query
- required: false
schema:
allOf:
- $ref: '#/components/schemas/SortByEnum'
default: created_at
name: sort_by
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerProfilePaginationResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/customer/all-customers-dynamic-search:
post:
tags:
- Customers
summary: Get all customer records dynamic search
description: Get all customer records dynamic search
operationId: get_all_customer_dynamic_search_dms_customer_all_customers_dynamic_search_post
parameters:
- required: true
schema:
title: Page Number
type: integer
name: page_number
in: query
- required: true
schema:
title: Page Size
minimum: 1
type: integer
name: page_size
in: query
- required: false
schema:
$ref: '#/components/schemas/SortEnum'
name: sort
in: query
- required: false
schema:
$ref: '#/components/schemas/SortByEnum'
name: sort_by
in: query
- description: 'Format: YYYY-MM-DD'
required: false
schema:
title: From Date
type: string
description: 'Format: YYYY-MM-DD'
format: date
name: from_date
in: query
- description: 'Format: YYYY-MM-DD'
required: false
schema:
title: To Date
type: string
description: 'Format: YYYY-MM-DD'
format: date
name: to_date
in: query
requestBody:
content:
application/json:
schema:
title: Filters
type: array
items:
$ref: '#/components/schemas/FilterModel'
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/customer/customer-history:
get:
tags:
- Customers
summary: Get all customers records history
description: Get all customers records history
operationId: get_customer_history_dms_customer_customer_history_get
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
- description: 'Format: YYYY-MM-DD'
required: false
schema:
title: From Date
type: string
description: 'Format: YYYY-MM-DD'
format: date
name: from_date
in: query
- description: 'Format: YYYY-MM-DD'
required: false
schema:
title: To Date
type: string
description: 'Format: YYYY-MM-DD'
format: date
name: to_date
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
title: Response Get Customer History Dms Customer Customer History Get
type: array
items:
$ref: '#/components/schemas/CustomerProfileModelResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/check-customer-by-email:
patch:
tags:
- Customers
summary: Check customer, create if does not exist
description: Check customer, create if does not exist
operationId: check_customer_dms_check_customer_by_email_patch
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateCustomerModel'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerProfileModelResponseWithID'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/update-dms-customer:
patch:
tags:
- Customers
summary: Update Dms Customer
operationId: update_dms_customer_dms_update_dms_customer_patch
parameters:
- required: false
schema:
title: Reference Id
type: string
name: reference_id
in: query
- required: false
schema:
title: Dealer Code
type: string
name: dealer_code
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/customer:
get:
tags:
- Customers
summary: Get customer record
description: Get customer record by customer ID
operationId: find_customer_by_reference_dms_customer_get
parameters:
- required: false
schema:
title: Reference Id
type: string
name: reference_id
in: query
- required: false
schema:
title: Ssn
type: string
name: ssn
in: query
- required: false
schema:
title: Email
type: string
name: email
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerProfileModelResponseWithDisclaimer'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
delete:
tags:
- Customers
summary: Deprecate customer delete enpoint. Use [delete-customer] instead
description: Delete customer record by customer ID
operationId: remove_customer_deprecated_dms_customer_delete
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteRequestModel'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
deprecated: true
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
patch:
tags:
- Customers
summary: Updates customer
description: Update customer record by customer ID
operationId: update_customer_dms_customer_patch
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
- required: false
schema:
title: Dealer Code
type: string
name: dealer_code
in: query
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerProfileUpdateModel'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerProfileModelResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/check-dms-customer:
get:
tags:
- Customers
summary: Get customer record
description: Get customer record by customer ID
operationId: fetch_dms_customer_dms_check_dms_customer_get
parameters:
- required: false
schema:
title: Reference Id
type: string
name: reference_id
in: query
- required: false
schema:
title: Dealer Code
type: string
name: dealer_code
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/customer-by-email:
get:
tags:
- Customers
summary: Get Customer Record by email
description: Gets a customer record by email
operationId: find_customer_info_by_email_dms_customer_by_email_get
parameters:
- required: true
schema:
title: Email
type: string
name: email
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerProfileModelResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/customer/license-info:
get:
tags:
- Customers
summary: Get license info record by reference id
description: Get license info record by reference id
operationId: findone_license_info_dms_customer_license_info_get
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
- required: false
schema:
title: Is Presigned Url Required
type: boolean
default: false
name: is_presigned_url_required
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: []
post:
tags:
- Customers
summary: Creates license information
description: Create license information against customer
operationId: add_license_info_dms_customer_license_info_post
parameters:
- required: false
schema:
title: Dealer Code
type: string
name: dealer_code
in: query
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LisenceInfoWithAdress'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LicenseInfoResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
delete:
tags:
- Customers
summary: Delete single license information record
description: Delete customer license information record of customer record ID
operationId: delete_license_by_reference_id_dms_customer_license_info_delete
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
patch:
tags:
- Customers
summary: Updates License Info Record
description: Updates a license info setup record by license id
operationId: update_license_info_dms_customer_license_info_patch
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
- required: false
schema:
title: Is Presigned Url Required
type: boolean
default: false
name: is_presigned_url_required
in: query
- required: false
schema:
title: Dealer Code
type: string
name: dealer_code
in: query
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/LisenceInfoUpdateModel'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LicenseInfoUpdateResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/customers:
get:
tags:
- Customers
summary: Gets customer names by customer reference ids
description: Gets customer names by reference ids
operationId: find_customer_names_dms_customers_get
parameters:
- required: true
schema:
title: Reference Ids
type: array
items:
type: string
name: reference_ids
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: []
post:
tags:
- Customers
summary: Gets customer names by customer reference ids
description: Gets customer names by reference ids
operationId: find_customer_data_dms_customers_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CustomersParamsModel'
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/customer/license-info-history:
get:
tags:
- Customers
summary: Get all customer license information history
description: Get all customer license information history
operationId: get_license_information_history_dms_customer_license_info_history_get
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
- required: true
schema:
title: Page Number
type: integer
name: page_number
in: query
- required: true
schema:
title: Page Size
minimum: 1
type: integer
name: page_size
in: query
- description: 'Format: YYYY-MM-DD'
required: false
schema:
title: From Date
type: string
description: 'Format: YYYY-MM-DD'
name: from_date
in: query
- description: 'Format: YYYY-MM-DD'
required: false
schema:
title: To Date
type: string
description: 'Format: YYYY-MM-DD'
name: to_date
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LicenseInfoPaginationResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/customer/third-party-response-history:
get:
tags:
- Customers
summary: Get third party response history
description: Get third party response history
operationId: get_third_part_response_history_dms_customer_third_party_response_history_get
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
- required: false
schema:
title: Identifier
type: string
name: identifier
in: query
- required: false
schema:
title: Include Images
type: boolean
default: false
name: include_images
in: query
- required: false
schema:
title: Include Response
type: boolean
default: false
name: include_response
in: query
- required: false
schema:
title: Type List
type: array
items:
type: string
name: type_list
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/customer/employment-info:
get:
tags:
- Customers
summary: Get single employment information record
description: Get employment information by customer ID
operationId: findone_employment_info_dms_customer_employment_info_get
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EmploymentInfoResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
post:
tags:
- Customers
summary: Creates employment information
description: Create employment information against customer
operationId: add_customer_employment_info_dms_customer_employment_info_post
parameters:
- required: false
schema:
title: Dealer Code
type: string
name: dealer_code
in: query
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EmploymentInfoCreateModelEmpTypeMendatory'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EmploymentInfoResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
delete:
tags:
- Customers
summary: Delete single employment information record
description: Delete employment information record of customer employment record ID
operationId: delete_employment_info_by_id_dms_customer_employment_info_delete
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
patch:
tags:
- Customers
summary: Updates employment information
description: Update employment information against customer
operationId: update_customer_employment_info_dms_customer_employment_info_patch
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
- required: false
schema:
title: Dealer Code
type: string
name: dealer_code
in: query
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EmploymentInfoUpdateModel'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/EmploymentInfoResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/customer/personal-finance:
get:
tags:
- Customers
summary: Get single personal finance information record
description: Get personal finance information by customer ID
operationId: findone_personal_finance_info_dms_customer_personal_finance_get
parameters:
- required: true
schema:
title: Reference Id
minLength: 1
type: string
name: reference_id
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerPersonalFinanceResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
post:
tags:
- Customers
summary: Creates personal finance information
description: Create personal finance information against customer
operationId: add_personal_finance_info_dms_customer_personal_finance_post
parameters:
- required: false
schema:
title: Dealer Code
type: string
name: dealer_code
in: query
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PersonalFinanceModel'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerPersonalFinanceResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
delete:
tags:
- Customers
summary: Delete single personal finance information record
description: Delete personal finance information record of customer employment record ID
operationId: delete_personal_finance_info_by_id_dms_customer_personal_finance_delete
parameters:
- required: true
schema:
title: Reference Id
minLength: 1
type: string
name: reference_id
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
patch:
tags:
- Customers
summary: Updates personal finance information
description: Update personal finance information against customer
operationId: update_personal_finance_info_dms_customer_personal_finance_patch
parameters:
- required: true
schema:
title: Reference Id
type: string
name: reference_id
in: query
- required: false
schema:
title: Dealer Code
type: string
name: dealer_code
in: query
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PersonalFinanceUpdateModel'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerPersonalFinanceResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
/dms/customer/payment-information:
get:
tags:
- Customers
summary: Get customer payment information
description: Get customer payment information
operationId: get_customer_payment_info_by_dms_customer_payment_information_get
parameters:
- required: true
schema:
title: Reference Id
minLength: 1
type: string
name: reference_id
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
title: Response Get Customer Payment Info By Dms Customer Payment Information Get
type: array
items:
$ref: '#/components/schemas/CustomerPaymentInformationResponseModel'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- APIKeyHeader: []
- OAuth2PasswordBearer: []
post:
tags:
- Customers
summary: Create customer payment information
description: Create customer payment information
operationId: add_customer_payment_info_dms_customer_payment_information_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerPay
# --- truncated at 32 KB (168 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lane-api/refs/heads/main/openapi/lane-api-customers-api-openapi.yml