Web API – Vehicles
Updated over a week ago

List Vehicles

Request URL

Query parameters

  • userEmail – Email address of a particular user to search for.

  • minLastUpdated – The date when the record was modified or created. Format ‘yyyy-mm-dd’. Inclusive.

  • maxLastUpdated – The date when the record was modified or created. Format ‘yyyy-mm-dd’. Inclusive.

Note

You need to provide at least one of the query parameters in the request.

Example

Add Vehicle

Request URL

Query parameters

None

JSON request data

{
"userId" : Integer (required),
"year" : Integer (required),
"make" : String (required),
"model" : String (required),
"truck" : boolean (optional), enables state-by-state mileage tracking for IFTA
"plate" : String (optional),
"state" : String (optional),
"vin" : String (optional),
"defaultActivity" : String (optional),
}

Update Vehicle

Request URL

Query parameters

None

JSON request data

Specify the fields you want to change. Leaving it out or setting to ‘null’ means no change to that field.

{
"year" : Integer (optional),
"make" : String (optional),
"model" : String (optional),
"truck" : boolean (optional),
enables state-by-state mileage tracking for IFTA
"plate" : String (optional),
"state" : String (optional),
"vin" : String (optional),
"disabled" : boolean (optional),
"defaultActivity" : String (optional),
}

Did this answer your question?