ADA Systems API v1
REST API for fleet management integration — vehicles, drivers, devices & live tracking.
Authentication
All API requests require a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_TOKEN
Accept: application/json
Content-Type: application/json
Base URL
https://adasystems.uk/api/v1
Live Positions
Real-time GPS positions of all tracked vehicles.
Query Parameters
| Param | Type | Description |
|---|---|---|
| company_id | integer optional | Filter by company |
Response
{
"data": [
{
"device_id": 22,
"device_name": "ADA-00001",
"vehicle_id": 2,
"registration": "YM69CCU",
"company_id": 1,
"company_name": "DYNAMIK APP LTD",
"latitude": 52.4712,
"longitude": -2.0178,
"speed": 45.5,
"heading": 180.0,
"ignition": true,
"online": true,
"last_seen": "2026-03-19T22:18:56Z",
"recorded_at": "2026-03-19T22:18:52Z"
}
],
"count": 1,
"timestamp": "2026-03-19T22:20:00Z"
}
Returns position data for a specific vehicle by its ID.
Companies
Query Parameters
| Param | Type | Description |
|---|---|---|
| active | boolean optional | Filter active companies only |
Returns full company details by ID.
Body Parameters
| Param | Type | Description |
|---|---|---|
| name | string required | Company name |
| registration_number | string optional | Company registration number |
| vat_number | string optional | VAT number |
| address | string optional | Full address |
| city | string optional | City |
| postcode | string optional | Postcode |
| country | string optional | 2-letter country code (GB, RO, etc.) |
| phone | string optional | Phone number |
| string optional | Contact email |
Same parameters as create, all optional. Only provided fields are updated.
Permanently deletes a company. This action cannot be undone.
Vehicles
Query Parameters
| Param | Type | Description |
|---|---|---|
| company_id | integer optional | Filter by company |
Returns full vehicle details including assigned device and active drivers.
Body Parameters
| Param | Type | Description |
|---|---|---|
| registration_number | string required | Vehicle registration |
| company_id | integer required | Company ID |
| make | string optional | e.g. Ford, Mercedes |
| model | string optional | e.g. Transit, Sprinter |
| year | integer optional | Year of manufacture |
| vin | string optional | Vehicle Identification Number |
| fuel_type | string optional | petrol, diesel, electric, hybrid |
| device_id | integer optional | Assign ADA device |
Same parameters as create, all optional.
Permanently deletes a vehicle. This action cannot be undone.
Drivers
Query Parameters
| Param | Type | Description |
|---|---|---|
| company_id | integer optional | Filter by company |
Body Parameters
| Param | Type | Description |
|---|---|---|
| name | string required | Full name |
| company_id | integer required | Company ID |
| string optional | Email address | |
| phone | string optional | Phone number |
| license_number | string optional | Driving licence number |
| license_expiry_date | date optional | Licence expiry (YYYY-MM-DD) |
Same parameters as create, all optional.
Permanently deletes a driver. This action cannot be undone.
Devices
Query Parameters
| Param | Type | Description |
|---|---|---|
| company_id | integer optional | Filter by company |
Returns device info with assigned vehicle and latest telemetry.
Body Parameters
| Param | Type | Description |
|---|---|---|
| company_id | integer optional | Assign to company |
| vehicle_id | integer optional | Assign to vehicle |
| status | string optional | Set device status: active or inactive |
Error Handling
The API returns standard HTTP status codes:
| Code | Meaning |
|---|---|
| 200 | Success |
| 201 | Created successfully |
| 401 | Unauthorized — invalid or missing token |
| 403 | Forbidden — insufficient permissions |
| 404 | Resource not found |
| 422 | Validation error — check the response body for details |
| 500 | Server error |
Validation Error Response
{
"message": "The registration number field is required.",
"errors": {
"registration_number": [
"The registration number field is required."
]
}
}