Vehicle API - V2
Create import.
Imports multiple resources at once and returns the import result.
Endpoint
POST - https://api.travisroadservices.com/v1/imports
Copy
Request body
Fields
| Field | Type | Required | Description |
|---|---|---|---|
type
|
string | No | Type of the import operation. |
settings
|
object | No | Additional settings to configure the import behaviour. |
updateExisting
|
boolean | No | This setting determines whether existing records should be updated. |
deleteMissing
|
boolean | No | This setting determines whether missing records should be deleted. |
data
|
array | No | Array of resource records to be imported. |
Example
Response body
Response 201
ImportResource resource created
Fields
| Field | Type | Description |
|---|---|---|
id
|
string (uuid) | Unique identifier of the import. |
type
|
string | Type of the import operation. |
settings
|
object | Additional settings to configure the import behaviour. |
updateExisting
|
boolean | This setting determines whether existing records should be updated. |
deleteMissing
|
boolean | This setting determines whether missing records should be deleted. |
status
|
string | Current processing status of the import. |
Example