Vehicle import
API calls to import vehicles.
API actions
API path: /vehicle/import/.
start
Starting the background process of importing vehicles.
Parameters
headers
List of files' headers, see available fields above
string array
user_headers
Optional. List of user labels for headers
string array
Available fields:
labelmodelmax_speedtypesubtypegaragetrailermanufacture_yearcoloradditional_infotrailer_reg_numberreg_numberchassis_numberframe_numbervinpassengerspayload_weightpayload_heightpayload_widthpayload_lengthgross_weightfuel_gradefuel_tank_volumefuel_costnorm_avg_fuel_consumptionfuel_typetyre_sizetyres_numberwheel_arrangementfree_insurance_policy_numberliability_insurance_policy_numberfree_insurance_valid_tillliability_insurance_valid_tilltracker_labeltagsundefined(if a meaning of a field is not known)
Response
Example
cURL
Errors
15 - Too many requests (rate limit exceeded) - if too many imports in progress
233 - No data file
234 - Invalid data format
247 - Entity already exists - there is another identical import with the same file
read
Returns an import process with specified ID.
Parameters
process_id
Process ID
int
Response
Example
cURL
Errors
201 – Not found in database (if import is not found)
list
Returns the list of the user's vehicle import processes.
Response
Example
cURL
download_failed
Retrieve a file with lines that contained errors and did not pass validation.
Parameters
process_id
Process ID
int
Response
File (standard file download).
Example
cURL
Errors
201 – Not found in database (if import is not found)
204 – Entity not found (if file is not found)
Last updated
Was this helpful?