List Acquisitions
GEThttps://secure.fleetio.com/api/v1/acquisitions
Returns a list of your Acquisitions.
Request
Responses
- 200
- 401
- 500
OK
Response Headers
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
Possible values: >= 1
Possible values: >= 1
The acquisition type of the asset.
Possible values: [loan
, lease
]
Possible values: >= 1
Possible values: >= 1
The date of the first payment for the Acquisition
, if applicable.
2023-03-14
For lease
type Acquisitions, this number represents the number of
months for which the vehicle is leased. For loan
type Acquisitions,
this number represents the number of payments until the loan is paid
off.
For lease
type Acquisitions, this number represents the number of
miles allowed each year, before additional charges will be incurred.
For loan
type Acquisitions, the annual percentage rate for the loan.
Optional data for collecting information such as the invoice number, transaction id, or receipt number.
Optional free text field for additional notes.
For loan
type Acquisitions, the total principal amount at the start
of the loan.
For loan
type Acquisitions, the amount of the initial down payment.
Total amount that will be paid each month including any taxes and fees.
Capitalized cost per month of the Vehicle
.
For lease
type Acquisitions, the value of the Vehicle
at the end of
the lease.
For loan
type Acquisitions, the total purchase price of the Vehicle
.
For lease
type Acquisitions, the amount charged for each mile over
the mileage cap.
The date on which the Acquisition occurred or began.
2023-03-14
The Vehicle
related to the Acquisition.
The Lender
related to the Acquisition.
The Vendor
related to the Acquisition.
[
{
"id": 0,
"vehicle_id": 0,
"acquisition_type": "loan",
"vendor_id": 0,
"lender_id": 0,
"first_payment_date": "2023-03-14",
"number_of_payments": 0,
"mileage_cap": 0,
"annual_percentage_rate": 0,
"reference_number": "string",
"notes": "string",
"loan_amount": 0,
"down_payment_amount": 0,
"monthly_cost": 0,
"capitalized_cost": 0,
"residual_value": 0,
"purchase_price": 0,
"mileage_charge": 0,
"acquisition_date": "2023-03-14",
"vehicle": {},
"lender": {},
"vendor": {}
}
]
Request could not be authenticated
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Something unexpected happened
- application/json
- Schema
- Example (auto)
Schema
Possible values: >= 400
and <= 599
A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"status": 0,
"title": "string",
"detail": "string",
"instance": "string"
}
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64". You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)
- curl
- ruby
- python
- csharp
- go
- java
- nodejs
- php
- CURL
curl -L 'https://secure.fleetio.com/api/v1/acquisitions' \
-H 'Accept: application/json' \
-H 'Authorization: Token <Authorization>' \
-H 'Account-Token: <Authorization>'