Path Parameters
HTTP Header
api-key REQUIRED string - Your Accelerate API Key | URL Substitution
subdomain REQUIRED
asset ID OPTIONAL |
Asset Requests
GET POST DELETE
GET POST - Return all assets or insert a new asset
https://{{subdomain}}.quotevineapp.com/qvine/quotevine/api/v2/assets/
Example Payload
POST
{
"asset_class":"Hard Assets - Plant",
"asset_category":"Cranes"
"asset_type":"Small Cranes (<15m)",
"build_date":"2019-01-15",
"description":"Liebherr mini 450x",
"serial_number_1":"6473749/B"
}
Response
400 Returned if the request sent is invalid. (Only for POST) | 404 Returned if the request is not found or the user does not have permission to view it. |
200
Expand to see example of a successful response. { |
GET - Return an individual asset
https://{{subdomain}}.quotevineapp.com/qvine/quotevine/api/v2/assets/{id}/
Response
200
Expand to see example of a successful response { | 404 Returned if the request is not found or the user does not have permission to view it. |
DELETE - Delete an individual asset
https://{{subdomain}}.quotevineapp.com/qvine/quotevine/api/v2/assets/{id}/
Response
204 Returned if the deletion is successful. | 404 Returned if the request is not found or the user does not have permission to view it. |
Asset Attributes
When updating/adding a new asset via the API, there are a number of fields needed.
Vehicle Usage Attributes
Mandatory Fields
Expand to see the list of mandatory fields
Expand to see the list of mandatory fields
cap_asset_type - string
CAR or LCV
cap_id - number
CAR HPI ID
Non Mandatory Fields
Expand to see the list of non-mandatory fields.
Expand to see the list of non-mandatory fields.
relationship_id - number
If you want to link this asset to a relationship, provide the relationship ID in this attribute.
contract_id - number
If you want to link this asset to a contract, provide the contract ID in this attribute. Cannot be supplied unless relationship_id is specified.
proposal_id - number
If you want to link this asset to a quote/proposal, provide the contract ID in this attribute. Cannot be supplied unless relationship_id is specified.
vehicle_order_id - number
If you want to link this asset to a vehicle order, provide the contract ID in this attribute. Cannot be supplied unless relationship_id is specified.
model_year - string
asset_status - string
external_reference - string
customer_reference - string
net_cost - number
options_cost - number
services_cost - number
vat - number
otr_grant - number
total_cost - number
p11d_value - number
recon_cost - number
transport_cost - number
chassis_number - string
engine_number - string
vin - string
registration_number - string
new_used - string
build_date - date
first_registration_date - date
purchase_date - date
available_from - date
default_offer_price - number
last_known_mileage - number
last_known_mileage_date - date
last_service_date - date
last_service_mileage - number
owners - number
mot_expiry_date - date
rfl_expiry_date - date
warranty_expiry_date - date
px_flag - string
paint_option_code - number
interior_option_code - number
primary_trim_option_code - number
scrapped_flag - string
Y or N.
exported_flag - string
Y or N.
imported_flag - string
Y or N.
comments - string
Equipment Usage Attributes
Mandatory Fields
Expand to see the list of mandatory fields
Expand to see the list of mandatory fields
asset_type - string
Must be one of the configured asset types
asset_class - string
asset_category - string
Non Mandatory Fields
Expand to see the list of non-mandatory fields.
Expand to see the list of non-mandatory fields.
relationship_id - number
If you want to link this asset to a relationship, provide the relationship ID in this attribute.
contract_id - number
If you want to link this asset to a contract, provide the contract ID in this attribute.
proposal_id - number
If you want to link this asset to a quote/proposal, provide the contract ID in this attribute.
asset_status - string
Must be one of the configured asset statuses
manufacturer - string
range - string
model - string
derivative - string
asset_category - string
description - string
external_reference - string
customer_reference - string
net_cost - number
options_cost - number
services_cost - number
vat - number
total_cost - number
recon_cost - number
transport_cost - number
new_used - string
build_date - date
purchase_date - date
available_from_date - date
default-offer_price - number
serial_number_1 - string
serial_number_2 - string
serial_number_3 - string
last_service_date - date
owners - number
warranty_expiry_date - date
px_flag - string
comments - string