{
    "openapi": "3.0.0",
    "info": {
        "title": "PAJ Portal APIs",
        "description": "REST API for the PAJ GPS Portal: read your trackers' positions, notifications, logbook and more.\n\n## ⚠️ Device ID is NOT the IMEI\n\nEvery parameter called `DeviceID`, `deviceID`, `deviceId`, `iddevice`, `deviceIDs` or `devicesId` expects the device's **`id`** returned by **`GET /api/v1/device`** (for example `1000001`).\n\nThe **IMEI** (the number printed on the tracker, for example `1234567890`) is **not** accepted there. It is only used by endpoints whose parameter is literally named `imei`.\n\nIf you get *\"Device does not exist\"*, *\"You do not have permission\"* or *\"Please enter valid Device ID\"*, the most common cause is that the IMEI was sent instead of the Device ID.\n\n## Quick start\n\n1. **Log in:** call `POST /api/v1/login` with your portal email and password.\n2. **Copy the token:** take the value of `success.token` from the response.\n3. **Authorize:** click the **Authorize** button at the top of this page and paste the token (without the word `Bearer`).\n4. **Get your Device IDs:** call `GET /api/v1/device` and note the `id` of each device.\n5. **Use the API:** every endpoint with a lock icon now works with *Try it out*. Use the `id` from step 4 wherever a Device ID is asked for.\n\n**Note:** *Try it out* sends **real requests to the live API** with your account. `POST`, `PUT` and `DELETE` calls really change or delete your data. All values shown in the examples on this page are fictional.\n\n## Tokens\n\n* The access token is valid for **30 days**. Send it on every request as `Authorization: Bearer <token>`.\n* The refresh token is valid for **60 days**. Call `POST /api/v1/updatetoken` with your email and `refresh_token` to get a new access token without the password.\n\n## Conventions\n\n* **Dates and times** are Unix timestamps in **seconds** (UTC), for example `1735689600`.\n* **Successful responses** wrap their data in `{\"success\": ...}`.\n* **Errors** usually return an HTTP error status (`400`, `401`, `403`, `404`) with `{\"error\": \"message\"}`.\n* **Exception:** some **Tracking Data** endpoints return errors as **plain text with HTTP `200`**, for example `Please enter valid Device ID as this device ID does not exists`. Check that the response is JSON before reading it. If you get this message, you most likely sent the IMEI instead of the Device ID.\n* `401 Unauthenticated` means the token is missing, expired or wrong: log in again or refresh the token.\n\n## Support\n\nQuestions or problems? Contact **support@paj-gps.de**. Please include the endpoint you called, the Device ID and the full error response.",
        "contact": {
            "name": "PAJ Support",
            "email": "support@paj-gps.de"
        },
        "version": "1.0.4"
    },
    "servers": [
        {
            "url": "https://connect.paj-gps.de",
            "description": "Production"
        }
    ],
    "paths": {
        "/api/v1/login": {
            "post": {
                "tags": [
                    "Login"
                ],
                "summary": "Log in and get an access token (start here)",
                "description": "Log in with your portal email and password.\n\n**Next step:** copy `success.token` from the response, click **Authorize** at the top of the page and paste it (without the word `Bearer`). Then call `GET /api/v1/device` to get your Device IDs.\n\nThe token is valid for 30 days (`expires_in` is in seconds). Keep the `refresh_token` to get a new token later via `POST /api/v1/updatetoken`.",
                "operationId": "login",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "email",
                                    "password"
                                ],
                                "properties": {
                                    "email": {
                                        "description": "Your portal login email",
                                        "type": "string",
                                        "format": "email",
                                        "example": "user@example.com"
                                    },
                                    "password": {
                                        "description": "Your portal password",
                                        "type": "string",
                                        "format": "password",
                                        "example": "secret"
                                    },
                                    "language": {
                                        "description": "Optional. Saves this as the account language (ISO code)",
                                        "type": "string",
                                        "example": "en"
                                    },
                                    "timezone": {
                                        "description": "Optional. Saves this IANA timezone to the account settings (only if automatic timezone is enabled)",
                                        "type": "string",
                                        "example": "Europe/Berlin"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "token": {
                                                    "description": "Access token: paste this into **Authorize**",
                                                    "type": "string"
                                                },
                                                "refresh_token": {
                                                    "description": "Use with POST /api/v1/updatetoken to get a new access token",
                                                    "type": "string"
                                                },
                                                "expires_in": {
                                                    "description": "Seconds until the access token expires",
                                                    "type": "integer"
                                                },
                                                "userID": {
                                                    "description": "Your customer (user) ID",
                                                    "type": "integer"
                                                },
                                                "routeIcon": {
                                                    "description": "Icon style used for route points in the portal",
                                                    "type": "string"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...",
                                            "refresh_token": "def50200a1b2c3d4e5f6...",
                                            "expires_in": 2592000,
                                            "userID": 123456,
                                            "routeIcon": "circle"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/updatetoken": {
            "post": {
                "tags": [
                    "Login"
                ],
                "summary": "Get a new access token with your refresh token",
                "description": "Use the `refresh_token` from `POST /api/v1/login` to get a new access token without sending the password again. Refresh tokens are valid for 60 days. The response contains a **new** `refresh_token`: store it, because the old one can no longer be used.",
                "operationId": "refreshToken",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "email",
                                    "refresh_token"
                                ],
                                "properties": {
                                    "email": {
                                        "description": "The email you logged in with",
                                        "type": "string",
                                        "format": "email",
                                        "example": "user@example.com"
                                    },
                                    "refresh_token": {
                                        "description": "refresh_token from the login response",
                                        "type": "string",
                                        "example": "def50200a1b2c3d4e5f6..."
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "token": {
                                                    "description": "New access token: paste this into **Authorize**",
                                                    "type": "string"
                                                },
                                                "refresh_token": {
                                                    "description": "New refresh token (replaces the old one)",
                                                    "type": "string"
                                                },
                                                "userID": {
                                                    "description": "Your customer (user) ID",
                                                    "type": "integer"
                                                },
                                                "routeIcon": {
                                                    "description": "Icon style used for route points in the portal",
                                                    "type": "string"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...",
                                            "refresh_token": "def50200f6e5d4c3b2a1...",
                                            "userID": 123456,
                                            "routeIcon": "circle"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/sdevice/car": {
            "get": {
                "tags": [
                    "Car Device Data"
                ],
                "summary": "Get car device linked data",
                "description": "API to get data of all the cars linked with devices for a single customer. You do not need to pass customer id, as this api will automatically detect from token which customer is requesting it. Return empty array if there are no data for car device linking. Click on the 'Try it out' button to execute the call",
                "operationId": "GetCarDevice",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "description": "Array of car device records",
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "integer"
                                                    },
                                                    "car_id": {
                                                        "type": "integer"
                                                    },
                                                    "car_name": {
                                                        "type": "string"
                                                    },
                                                    "model_id": {
                                                        "type": "integer"
                                                    },
                                                    "model_name": {
                                                        "type": "string"
                                                    },
                                                    "license_plate": {
                                                        "type": "string"
                                                    },
                                                    "plate_id": {
                                                        "type": "string"
                                                    },
                                                    "iddevice": {
                                                        "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "mileage": {
                                                        "type": "string"
                                                    },
                                                    "mileage_repeat": {
                                                        "type": "string"
                                                    },
                                                    "optimized_mileage": {
                                                        "type": "string"
                                                    },
                                                    "default_driver": {
                                                        "type": "integer"
                                                    },
                                                    "default_contact": {
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "default_reason_for_private_route": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "default_reason_for_toWork_route": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "default_reason_for_bussiness_route": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "default_reason_for_mix_route": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "stop_time": {
                                                        "type": "integer"
                                                    },
                                                    "created_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "updated_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "active": {
                                                        "type": "integer"
                                                    },
                                                    "edit_logbook_routes": {
                                                        "type": "integer"
                                                    },
                                                    "last_export_start_date": {
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "last_export_end_date": {
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "tire_brand": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "tire_name": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "front_tire_range": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "rear_tire_range": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "load_index": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "speed_rating": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "tire_season": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "tire_depth": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "tire_year": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "deleted_at": {
                                                        "type": "string",
                                                        "format": "date-time",
                                                        "nullable": true
                                                    },
                                                    "driver": {
                                                        "properties": {
                                                            "id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "company_id": {
                                                                "type": "integer"
                                                            },
                                                            "first_name": {
                                                                "type": "string"
                                                            },
                                                            "last_name": {
                                                                "type": "string"
                                                            },
                                                            "created_at": {
                                                                "type": "string",
                                                                "format": "date-time"
                                                            },
                                                            "updated_at": {
                                                                "type": "string",
                                                                "format": "date-time"
                                                            },
                                                            "index": {
                                                                "type": "integer"
                                                            },
                                                            "active": {
                                                                "type": "integer"
                                                            },
                                                            "deleted_at": {
                                                                "type": "string",
                                                                "format": "date-time",
                                                                "nullable": true
                                                            },
                                                            "image_name": {
                                                                "type": "string",
                                                                "nullable": true
                                                            }
                                                        },
                                                        "type": "object",
                                                        "nullable": true
                                                    },
                                                    "device": {
                                                        "properties": {
                                                            "id": {
                                                                "type": "integer"
                                                            },
                                                            "imei": {
                                                                "description": "Hardware IMEI of the tracker. **Not** the Device ID.",
                                                                "type": "string"
                                                            },
                                                            "name": {
                                                                "type": "string"
                                                            }
                                                        },
                                                        "type": "object",
                                                        "nullable": true
                                                    },
                                                    "contact": {
                                                        "type": "object",
                                                        "nullable": true
                                                    },
                                                    "logbook_permission": {
                                                        "properties": {
                                                            "id": {
                                                                "type": "integer"
                                                            },
                                                            "idcustomer": {
                                                                "type": "integer"
                                                            },
                                                            "iddevice": {
                                                                "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                                "type": "integer"
                                                            },
                                                            "carDevice_id": {
                                                                "type": "integer"
                                                            },
                                                            "created_by": {
                                                                "type": "integer",
                                                                "nullable": true
                                                            },
                                                            "see": {
                                                                "type": "integer"
                                                            },
                                                            "modify": {
                                                                "type": "integer"
                                                            },
                                                            "share": {
                                                                "type": "integer"
                                                            },
                                                            "created_at": {
                                                                "type": "string",
                                                                "format": "date-time"
                                                            },
                                                            "updated_at": {
                                                                "type": "string",
                                                                "format": "date-time"
                                                            },
                                                            "deleted_at": {
                                                                "type": "string",
                                                                "format": "date-time",
                                                                "nullable": true
                                                            }
                                                        },
                                                        "type": "object",
                                                        "nullable": true
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_records": {
                                            "description": "Total number of records returned",
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": 8446,
                                                "car_id": 482,
                                                "car_name": "VOLKSWAGEN",
                                                "model_id": 3133,
                                                "model_name": "Golf",
                                                "license_plate": "SU-PAJ-1234",
                                                "plate_id": "SU-PAJ-1234",
                                                "iddevice": 1000003,
                                                "customer_id": 123456,
                                                "mileage": "1000.000",
                                                "mileage_repeat": "16974.809",
                                                "optimized_mileage": "19283.326",
                                                "default_driver": 4316,
                                                "default_contact": null,
                                                "default_reason_for_private_route": null,
                                                "default_reason_for_toWork_route": null,
                                                "default_reason_for_bussiness_route": null,
                                                "default_reason_for_mix_route": null,
                                                "stop_time": 10,
                                                "created_at": "2023-12-18T10:06:01.000000Z",
                                                "updated_at": "2026-02-13T10:35:55.000000Z",
                                                "active": 1,
                                                "edit_logbook_routes": 0,
                                                "last_export_start_date": 1735599600,
                                                "last_export_end_date": 1737068399,
                                                "tire_brand": null,
                                                "tire_name": null,
                                                "front_tire_range": null,
                                                "rear_tire_range": null,
                                                "load_index": null,
                                                "speed_rating": null,
                                                "tire_season": null,
                                                "tire_depth": null,
                                                "tire_year": null,
                                                "deleted_at": null,
                                                "driver": {
                                                    "id": 4316,
                                                    "customer_id": 123457,
                                                    "company_id": 45,
                                                    "first_name": "Max",
                                                    "last_name": "Mustermann",
                                                    "created_at": "2023-10-26T09:33:39.000000Z",
                                                    "updated_at": "2024-07-17T07:20:14.000000Z",
                                                    "index": 6,
                                                    "active": 1,
                                                    "deleted_at": null,
                                                    "image_name": "logBookDriver---653a32b454ade.png"
                                                },
                                                "device": {
                                                    "id": 1000003,
                                                    "imei": "1234567891",
                                                    "name": "PAJ Mobil"
                                                },
                                                "contact": null,
                                                "logbook_permission": {
                                                    "id": 6800,
                                                    "idcustomer": 123456,
                                                    "iddevice": 1000003,
                                                    "carDevice_id": 8446,
                                                    "created_by": null,
                                                    "see": 1,
                                                    "modify": 1,
                                                    "share": 1,
                                                    "created_at": "2025-09-17T17:41:10.000000Z",
                                                    "updated_at": "2025-09-17T17:41:10.000000Z",
                                                    "deleted_at": null
                                                }
                                            }
                                        ],
                                        "number_of_records": 1
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "post": {
                "tags": [
                    "Car Device Data"
                ],
                "summary": "Link single car device linked data by id",
                "description": "API to link single cars linked with single device for a customer. You do not need to pass customer id, as this api will automatically detect from token which customer is requesting it. Return error if there is any issue while linking. Click on the 'Try it out' button to execute the call",
                "operationId": "CreateCarDeviceByID",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "car_id": {
                                        "description": "The id of the car",
                                        "type": "integer"
                                    },
                                    "car_name": {
                                        "description": "The name of the car",
                                        "type": "string"
                                    },
                                    "model_id": {
                                        "description": "The model id of the car",
                                        "type": "integer"
                                    },
                                    "model_name": {
                                        "description": "The model name of the car",
                                        "type": "string"
                                    },
                                    "license_plate": {
                                        "description": "The license plate number of the car",
                                        "type": "string"
                                    },
                                    "iddevice": {
                                        "description": "The id of the device",
                                        "type": "integer"
                                    },
                                    "mileage": {
                                        "description": "The mileage of the car at the start",
                                        "type": "integer"
                                    },
                                    "plate_id": {
                                        "description": "The plate id number of the car",
                                        "type": "string"
                                    },
                                    "mileage_repeat": {
                                        "description": "The mileage_repeat of the car",
                                        "type": "integer"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "car_id": 1234,
                                    "car_name": "test",
                                    "model_id": 1234,
                                    "model_name": "testnew",
                                    "license_plate": "123456",
                                    "plate_id": "123456",
                                    "iddevice": 6622,
                                    "mileage": 12,
                                    "mileage_repeat": 12
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "description": "The unique identifier for the car device link",
                                                    "type": "integer"
                                                },
                                                "car_id": {
                                                    "description": "The ID of the car",
                                                    "type": "integer"
                                                },
                                                "car_name": {
                                                    "description": "The name of the car",
                                                    "type": "string"
                                                },
                                                "model_id": {
                                                    "description": "The model ID of the car",
                                                    "type": "integer"
                                                },
                                                "model_name": {
                                                    "description": "The model name of the car",
                                                    "type": "string"
                                                },
                                                "license_plate": {
                                                    "description": "The license plate number of the car",
                                                    "type": "string"
                                                },
                                                "plate_id": {
                                                    "description": "The plate ID number of the car",
                                                    "type": "string"
                                                },
                                                "iddevice": {
                                                    "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                    "type": "integer"
                                                },
                                                "customer_id": {
                                                    "description": "The ID of the customer",
                                                    "type": "integer"
                                                },
                                                "mileage": {
                                                    "description": "The mileage of the car at the start",
                                                    "type": "string"
                                                },
                                                "mileage_repeat": {
                                                    "description": "The repeated mileage value",
                                                    "type": "string"
                                                },
                                                "optimized_mileage": {
                                                    "description": "The optimized mileage value",
                                                    "type": "string"
                                                },
                                                "default_driver": {
                                                    "description": "The default driver ID",
                                                    "type": "integer"
                                                },
                                                "default_contact": {
                                                    "description": "The default contact ID",
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "default_reason_for_private_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "default_reason_for_toWork_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "default_reason_for_bussiness_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "default_reason_for_mix_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "stop_time": {
                                                    "description": "The stop time",
                                                    "type": "integer"
                                                },
                                                "created_at": {
                                                    "description": "The creation timestamp",
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "updated_at": {
                                                    "description": "The last update timestamp",
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "active": {
                                                    "description": "The active status (1 for active, 0 for inactive)",
                                                    "type": "integer"
                                                },
                                                "edit_logbook_routes": {
                                                    "type": "integer"
                                                },
                                                "last_export_start_date": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_export_end_date": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "tire_brand": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_name": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "front_tire_range": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "rear_tire_range": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "load_index": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "speed_rating": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_season": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_depth": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_year": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "driver": {
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer"
                                                        },
                                                        "customer_id": {
                                                            "type": "integer"
                                                        },
                                                        "company_id": {
                                                            "type": "integer"
                                                        },
                                                        "first_name": {
                                                            "type": "string"
                                                        },
                                                        "last_name": {
                                                            "type": "string"
                                                        },
                                                        "created_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "updated_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "index": {
                                                            "type": "integer"
                                                        },
                                                        "active": {
                                                            "type": "integer"
                                                        },
                                                        "deleted_at": {
                                                            "type": "string",
                                                            "format": "date-time",
                                                            "nullable": true
                                                        },
                                                        "image_name": {
                                                            "type": "string",
                                                            "nullable": true
                                                        }
                                                    },
                                                    "type": "object",
                                                    "nullable": true
                                                },
                                                "device": {
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer"
                                                        },
                                                        "imei": {
                                                            "description": "Hardware IMEI of the tracker. **Not** the Device ID.",
                                                            "type": "string"
                                                        },
                                                        "name": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "type": "object",
                                                    "nullable": true
                                                },
                                                "contact": {
                                                    "type": "object",
                                                    "nullable": true
                                                },
                                                "logbook_permission": {
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer"
                                                        },
                                                        "idcustomer": {
                                                            "type": "integer"
                                                        },
                                                        "iddevice": {
                                                            "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                            "type": "integer"
                                                        },
                                                        "carDevice_id": {
                                                            "type": "integer"
                                                        },
                                                        "created_by": {
                                                            "type": "integer",
                                                            "nullable": true
                                                        },
                                                        "see": {
                                                            "type": "integer"
                                                        },
                                                        "modify": {
                                                            "type": "integer"
                                                        },
                                                        "share": {
                                                            "type": "integer"
                                                        },
                                                        "created_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "updated_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "deleted_at": {
                                                            "type": "string",
                                                            "format": "date-time",
                                                            "nullable": true
                                                        }
                                                    },
                                                    "type": "object",
                                                    "nullable": true
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 8446,
                                            "car_id": 482,
                                            "car_name": "VOLKSWAGEN",
                                            "model_id": 3133,
                                            "model_name": "Golf",
                                            "license_plate": "SU-PAJ-1234",
                                            "plate_id": "SU-PAJ-1234",
                                            "iddevice": 1000003,
                                            "customer_id": 123456,
                                            "mileage": "1000.000",
                                            "mileage_repeat": "16974.809",
                                            "optimized_mileage": "19283.326",
                                            "default_driver": 4316,
                                            "default_contact": null,
                                            "default_reason_for_private_route": null,
                                            "default_reason_for_toWork_route": null,
                                            "default_reason_for_bussiness_route": null,
                                            "default_reason_for_mix_route": null,
                                            "stop_time": 10,
                                            "created_at": "2023-12-18T10:06:01.000000Z",
                                            "updated_at": "2026-02-13T10:35:55.000000Z",
                                            "active": 1,
                                            "edit_logbook_routes": 0,
                                            "last_export_start_date": 1735599600,
                                            "last_export_end_date": 1737068399,
                                            "tire_brand": null,
                                            "tire_name": null,
                                            "front_tire_range": null,
                                            "rear_tire_range": null,
                                            "load_index": null,
                                            "speed_rating": null,
                                            "tire_season": null,
                                            "tire_depth": null,
                                            "tire_year": null,
                                            "deleted_at": null,
                                            "driver": {
                                                "id": 4316,
                                                "customer_id": 123457,
                                                "company_id": 45,
                                                "first_name": "Max",
                                                "last_name": "Mustermann",
                                                "created_at": "2023-10-26T09:33:39.000000Z",
                                                "updated_at": "2024-07-17T07:20:14.000000Z",
                                                "index": 6,
                                                "active": 1,
                                                "deleted_at": null,
                                                "image_name": "logBookDriver---653a32b454ade.png"
                                            },
                                            "device": {
                                                "id": 1000003,
                                                "imei": "1234567891",
                                                "name": "PAJ Mobil"
                                            },
                                            "contact": null,
                                            "logbook_permission": {
                                                "id": 6800,
                                                "idcustomer": 123456,
                                                "iddevice": 1000003,
                                                "carDevice_id": 8446,
                                                "created_by": null,
                                                "see": 1,
                                                "modify": 1,
                                                "share": 1,
                                                "created_at": "2025-09-17T17:41:10.000000Z",
                                                "updated_at": "2025-09-17T17:41:10.000000Z",
                                                "deleted_at": null
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/sdevice/car/{CarDevice_id}": {
            "get": {
                "tags": [
                    "Car Device Data"
                ],
                "summary": "Get single car device linked data by id",
                "description": "API to get data of a single cars linked with single device for a customer. You do not need to pass customer id, as this api will automatically detect from token which customer is requesting it. Return empty array if there are no data for car device linking. Click on the 'Try it out' button to execute the call",
                "operationId": "GetCarDeviceByID",
                "parameters": [
                    {
                        "name": "CarDevice_id",
                        "in": "path",
                        "description": "Car device ID: the `id` from `GET /api/v1/sdevice/car`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 101
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "car_id": {
                                                    "type": "integer"
                                                },
                                                "car_name": {
                                                    "type": "string"
                                                },
                                                "model_id": {
                                                    "type": "integer"
                                                },
                                                "model_name": {
                                                    "type": "string"
                                                },
                                                "license_plate": {
                                                    "type": "string"
                                                },
                                                "plate_id": {
                                                    "type": "string"
                                                },
                                                "iddevice": {
                                                    "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                    "type": "integer"
                                                },
                                                "customer_id": {
                                                    "type": "integer"
                                                },
                                                "mileage": {
                                                    "type": "string"
                                                },
                                                "mileage_repeat": {
                                                    "type": "string"
                                                },
                                                "optimized_mileage": {
                                                    "type": "string"
                                                },
                                                "default_driver": {
                                                    "type": "integer"
                                                },
                                                "default_contact": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "default_reason_for_private_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "default_reason_for_toWork_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "default_reason_for_bussiness_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "default_reason_for_mix_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "stop_time": {
                                                    "type": "integer"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "active": {
                                                    "type": "integer"
                                                },
                                                "edit_logbook_routes": {
                                                    "type": "integer"
                                                },
                                                "last_export_start_date": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_export_end_date": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "tire_brand": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_name": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "front_tire_range": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "rear_tire_range": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "load_index": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "speed_rating": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_season": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_depth": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_year": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "driver": {
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer"
                                                        },
                                                        "customer_id": {
                                                            "type": "integer"
                                                        },
                                                        "company_id": {
                                                            "type": "integer"
                                                        },
                                                        "first_name": {
                                                            "type": "string"
                                                        },
                                                        "last_name": {
                                                            "type": "string"
                                                        },
                                                        "created_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "updated_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "index": {
                                                            "type": "integer"
                                                        },
                                                        "active": {
                                                            "type": "integer"
                                                        },
                                                        "deleted_at": {
                                                            "type": "string",
                                                            "format": "date-time",
                                                            "nullable": true
                                                        },
                                                        "image_name": {
                                                            "type": "string",
                                                            "nullable": true
                                                        }
                                                    },
                                                    "type": "object",
                                                    "nullable": true
                                                },
                                                "device": {
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer"
                                                        },
                                                        "imei": {
                                                            "description": "Hardware IMEI of the tracker. **Not** the Device ID.",
                                                            "type": "string"
                                                        },
                                                        "name": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "type": "object",
                                                    "nullable": true
                                                },
                                                "contact": {
                                                    "type": "object",
                                                    "nullable": true
                                                },
                                                "logbook_permission": {
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer"
                                                        },
                                                        "idcustomer": {
                                                            "type": "integer"
                                                        },
                                                        "iddevice": {
                                                            "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                            "type": "integer"
                                                        },
                                                        "carDevice_id": {
                                                            "type": "integer"
                                                        },
                                                        "created_by": {
                                                            "type": "integer",
                                                            "nullable": true
                                                        },
                                                        "see": {
                                                            "type": "integer"
                                                        },
                                                        "modify": {
                                                            "type": "integer"
                                                        },
                                                        "share": {
                                                            "type": "integer"
                                                        },
                                                        "created_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "updated_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "deleted_at": {
                                                            "type": "string",
                                                            "format": "date-time",
                                                            "nullable": true
                                                        }
                                                    },
                                                    "type": "object",
                                                    "nullable": true
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 8446,
                                            "car_id": 482,
                                            "car_name": "VOLKSWAGEN",
                                            "model_id": 3133,
                                            "model_name": "Golf",
                                            "license_plate": "SU-PAJ-1234",
                                            "plate_id": "SU-PAJ-1234",
                                            "iddevice": 1000003,
                                            "customer_id": 123456,
                                            "mileage": "1000.000",
                                            "mileage_repeat": "16974.809",
                                            "optimized_mileage": "19283.326",
                                            "default_driver": 4316,
                                            "default_contact": null,
                                            "default_reason_for_private_route": null,
                                            "default_reason_for_toWork_route": null,
                                            "default_reason_for_bussiness_route": null,
                                            "default_reason_for_mix_route": null,
                                            "stop_time": 10,
                                            "created_at": "2023-12-18T10:06:01.000000Z",
                                            "updated_at": "2026-02-13T10:35:55.000000Z",
                                            "active": 1,
                                            "edit_logbook_routes": 0,
                                            "last_export_start_date": 1735599600,
                                            "last_export_end_date": 1737068399,
                                            "tire_brand": null,
                                            "tire_name": null,
                                            "front_tire_range": null,
                                            "rear_tire_range": null,
                                            "load_index": null,
                                            "speed_rating": null,
                                            "tire_season": null,
                                            "tire_depth": null,
                                            "tire_year": null,
                                            "deleted_at": null,
                                            "driver": {
                                                "id": 4316,
                                                "customer_id": 123457,
                                                "company_id": 45,
                                                "first_name": "Max",
                                                "last_name": "Mustermann",
                                                "created_at": "2023-10-26T09:33:39.000000Z",
                                                "updated_at": "2024-07-17T07:20:14.000000Z",
                                                "index": 6,
                                                "active": 1,
                                                "deleted_at": null,
                                                "image_name": "logBookDriver---653a32b454ade.png"
                                            },
                                            "device": {
                                                "id": 1000003,
                                                "imei": "1234567891",
                                                "name": "PAJ Mobil"
                                            },
                                            "contact": null,
                                            "logbook_permission": {
                                                "id": 6800,
                                                "idcustomer": 123456,
                                                "iddevice": 1000003,
                                                "carDevice_id": 8446,
                                                "created_by": null,
                                                "see": 1,
                                                "modify": 1,
                                                "share": 1,
                                                "created_at": "2025-09-17T17:41:10.000000Z",
                                                "updated_at": "2025-09-17T17:41:10.000000Z",
                                                "deleted_at": null
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "put": {
                "tags": [
                    "Car Device Data"
                ],
                "summary": "Update single car device linked data by id",
                "description": "API to update data of a single cars linked with single device for a customer. You do not need to pass customer id, as this api will automatically detect from token which customer is requesting it. Return error if there are no data for car device linking. Click on the 'Try it out' button to execute the call",
                "operationId": "UpdateCarDeviceByID",
                "parameters": [
                    {
                        "name": "CarDevice_id",
                        "in": "path",
                        "description": "Car device ID: the `id` from `GET /api/v1/sdevice/car`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 101
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "car_id": {
                                        "description": "The id of the car",
                                        "type": "integer"
                                    },
                                    "car_name": {
                                        "description": "The name of the car",
                                        "type": "string"
                                    },
                                    "model_id": {
                                        "description": "The model id of the car",
                                        "type": "integer"
                                    },
                                    "model_name": {
                                        "description": "The model name of the car",
                                        "type": "string"
                                    },
                                    "license_plate": {
                                        "description": "The license plate number of the car",
                                        "type": "string"
                                    },
                                    "iddevice": {
                                        "description": "The id of the device",
                                        "type": "integer"
                                    },
                                    "mileage": {
                                        "description": "The mileage of the car at the start",
                                        "type": "integer"
                                    },
                                    "plate_id": {
                                        "description": "The plate id number of the car",
                                        "type": "string"
                                    },
                                    "mileage_repeat": {
                                        "description": "The mileage_repeat of the car",
                                        "type": "integer"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "car_id": 1234,
                                    "car_name": "test",
                                    "model_id": 1234,
                                    "model_name": "testnew",
                                    "license_plate": "123456",
                                    "plate_id": "123456",
                                    "iddevice": 6622,
                                    "mileage": 12,
                                    "mileage_repeat": 12
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "car_id": {
                                                    "type": "integer"
                                                },
                                                "car_name": {
                                                    "type": "string"
                                                },
                                                "model_id": {
                                                    "type": "integer"
                                                },
                                                "model_name": {
                                                    "type": "string"
                                                },
                                                "license_plate": {
                                                    "type": "string"
                                                },
                                                "plate_id": {
                                                    "type": "string"
                                                },
                                                "iddevice": {
                                                    "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                    "type": "integer"
                                                },
                                                "customer_id": {
                                                    "type": "integer"
                                                },
                                                "mileage": {
                                                    "type": "string"
                                                },
                                                "mileage_repeat": {
                                                    "type": "string"
                                                },
                                                "optimized_mileage": {
                                                    "type": "string"
                                                },
                                                "default_driver": {
                                                    "type": "integer"
                                                },
                                                "default_contact": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "default_reason_for_private_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "default_reason_for_toWork_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "default_reason_for_bussiness_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "default_reason_for_mix_route": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "stop_time": {
                                                    "type": "integer"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "active": {
                                                    "type": "integer"
                                                },
                                                "edit_logbook_routes": {
                                                    "type": "integer"
                                                },
                                                "last_export_start_date": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_export_end_date": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "tire_brand": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_name": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "front_tire_range": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "rear_tire_range": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "load_index": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "speed_rating": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_season": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_depth": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "tire_year": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "driver": {
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer"
                                                        },
                                                        "customer_id": {
                                                            "type": "integer"
                                                        },
                                                        "company_id": {
                                                            "type": "integer"
                                                        },
                                                        "first_name": {
                                                            "type": "string"
                                                        },
                                                        "last_name": {
                                                            "type": "string"
                                                        },
                                                        "created_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "updated_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "index": {
                                                            "type": "integer"
                                                        },
                                                        "active": {
                                                            "type": "integer"
                                                        },
                                                        "deleted_at": {
                                                            "type": "string",
                                                            "format": "date-time",
                                                            "nullable": true
                                                        },
                                                        "image_name": {
                                                            "type": "string",
                                                            "nullable": true
                                                        }
                                                    },
                                                    "type": "object",
                                                    "nullable": true
                                                },
                                                "device": {
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer"
                                                        },
                                                        "imei": {
                                                            "description": "Hardware IMEI of the tracker. **Not** the Device ID.",
                                                            "type": "string"
                                                        },
                                                        "name": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "type": "object",
                                                    "nullable": true
                                                },
                                                "contact": {
                                                    "type": "object",
                                                    "nullable": true
                                                },
                                                "logbook_permission": {
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer"
                                                        },
                                                        "idcustomer": {
                                                            "type": "integer"
                                                        },
                                                        "iddevice": {
                                                            "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                            "type": "integer"
                                                        },
                                                        "carDevice_id": {
                                                            "type": "integer"
                                                        },
                                                        "created_by": {
                                                            "type": "integer",
                                                            "nullable": true
                                                        },
                                                        "see": {
                                                            "type": "integer"
                                                        },
                                                        "modify": {
                                                            "type": "integer"
                                                        },
                                                        "share": {
                                                            "type": "integer"
                                                        },
                                                        "created_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "updated_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "deleted_at": {
                                                            "type": "string",
                                                            "format": "date-time",
                                                            "nullable": true
                                                        }
                                                    },
                                                    "type": "object",
                                                    "nullable": true
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 8446,
                                            "car_id": 482,
                                            "car_name": "VOLKSWAGEN",
                                            "model_id": 3133,
                                            "model_name": "Golf",
                                            "license_plate": "SU-PAJ-1234",
                                            "plate_id": "SU-PAJ-1234",
                                            "iddevice": 1000003,
                                            "customer_id": 123456,
                                            "mileage": "1000.000",
                                            "mileage_repeat": "16974.809",
                                            "optimized_mileage": "19283.326",
                                            "default_driver": 4316,
                                            "default_contact": null,
                                            "default_reason_for_private_route": null,
                                            "default_reason_for_toWork_route": null,
                                            "default_reason_for_bussiness_route": null,
                                            "default_reason_for_mix_route": null,
                                            "stop_time": 10,
                                            "created_at": "2023-12-18T10:06:01.000000Z",
                                            "updated_at": "2026-02-13T10:35:55.000000Z",
                                            "active": 1,
                                            "edit_logbook_routes": 0,
                                            "last_export_start_date": 1735599600,
                                            "last_export_end_date": 1737068399,
                                            "tire_brand": null,
                                            "tire_name": null,
                                            "front_tire_range": null,
                                            "rear_tire_range": null,
                                            "load_index": null,
                                            "speed_rating": null,
                                            "tire_season": null,
                                            "tire_depth": null,
                                            "tire_year": null,
                                            "deleted_at": null,
                                            "driver": {
                                                "id": 4316,
                                                "customer_id": 123457,
                                                "company_id": 45,
                                                "first_name": "Max",
                                                "last_name": "Mustermann",
                                                "created_at": "2023-10-26T09:33:39.000000Z",
                                                "updated_at": "2024-07-17T07:20:14.000000Z",
                                                "index": 6,
                                                "active": 1,
                                                "deleted_at": null,
                                                "image_name": "logBookDriver---653a32b454ade.png"
                                            },
                                            "device": {
                                                "id": 1000003,
                                                "imei": "1234567891",
                                                "name": "PAJ Mobil"
                                            },
                                            "contact": null,
                                            "logbook_permission": {
                                                "id": 6800,
                                                "idcustomer": 123456,
                                                "iddevice": 1000003,
                                                "carDevice_id": 8446,
                                                "created_by": null,
                                                "see": 1,
                                                "modify": 1,
                                                "share": 1,
                                                "created_at": "2025-09-17T17:41:10.000000Z",
                                                "updated_at": "2025-09-17T17:41:10.000000Z",
                                                "deleted_at": null
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "delete": {
                "tags": [
                    "Car Device Data"
                ],
                "summary": "Delete single car device linked data by id and unlink it",
                "description": "API to delete data of a single cars linked with single device for a customer. After deleting the data, the car will be unlinked with the device. You do not need to pass customer id, as this api will automatically detect from token which customer is requesting it. Return error if there are no data for car device linking. Click on the 'Try it out' button to execute the call",
                "operationId": "DeleteCarDeviceByID",
                "parameters": [
                    {
                        "name": "CarDevice_id",
                        "in": "path",
                        "description": "Car device ID: the `id` from `GET /api/v1/sdevice/car`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 101
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Success",
                        "content": {
                            "application/json": {}
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/cars": {
            "get": {
                "tags": [
                    "Car Manufacturer"
                ],
                "summary": "Get all car manufacturers",
                "description": "API to get all the car manufacturers. Click on the 'Try it out' button to execute the call",
                "operationId": "GetCars",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "description": "Array of car manufacturer records",
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "Make_ID": {
                                                        "type": "integer"
                                                    },
                                                    "Make_Name": {
                                                        "type": "string"
                                                    },
                                                    "created_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "updated_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "company_id": {
                                                        "type": "integer"
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            [
                                                11111,
                                                "Test",
                                                null,
                                                null,
                                                null,
                                                null
                                            ]
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/addcar": {
            "post": {
                "tags": [
                    "Car Manufacturer"
                ],
                "summary": "Add Car manufacturer",
                "description": "API to add new car manufacturer. Just add the name of the manufacturer and call the api. Only admin can use this api to add car manufacturer. Click on the 'Try it out' button to execute the call",
                "operationId": "AddCarManufacturer",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "Make_Name": {
                                        "description": "The name of the car manufacturer",
                                        "type": "string"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "Make_Name": "test"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "Make_Name": {
                                                    "type": "string"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "Make_ID": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "Make_Name": "test",
                                            "updated_at": "2022-01-03T12:17:22.000000Z",
                                            "created_at": "2022-01-03T12:17:22.000000Z",
                                            "Make_ID": 1111
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "You do not have permissions"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/cars/{carManufacturerID}": {
            "put": {
                "tags": [
                    "Car Manufacturer"
                ],
                "summary": "Update Car Manufacturer by ID",
                "description": "API to update Car Manufacturer by id. Click on the 'Try it out' button to execute the call. Click Schema for parameters type",
                "operationId": "UpdateCarManufacturerByID",
                "parameters": [
                    {
                        "name": "carManufacturerID",
                        "in": "path",
                        "description": "Car manufacturer ID: the `id` from `GET /api/v1/cars`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 12
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "Make_Name": {
                                        "description": "The car manufacturer name",
                                        "type": "string"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "Make_Name": "test"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "Make_Name": {
                                                    "type": "string"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "Make_ID": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "Make_Name": "test",
                                            "updated_at": "2022-01-03T12:17:22.000000Z",
                                            "created_at": "2022-01-03T12:17:22.000000Z",
                                            "Make_ID": 1111
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exists"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "delete": {
                "tags": [
                    "Car Manufacturer"
                ],
                "summary": "Delete Car Manufacturer by ID",
                "description": "API to delete Car Manufacturer by id. It will delete the car manufacture and all of its models as well. Click on the 'Try it out' button to execute the call",
                "operationId": "DeleteCarManufacturerByID",
                "parameters": [
                    {
                        "name": "carManufacturerID",
                        "in": "path",
                        "description": "Car manufacturer ID: the `id` from `GET /api/v1/cars`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 12
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Success",
                        "content": {
                            "application/json": {}
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exist"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/carmodels/{Make_ID}": {
            "get": {
                "tags": [
                    "Car Model"
                ],
                "summary": "Get all car models of a manufacturer",
                "description": "API to get all car models of the manufacturer. Click on the 'Try it out' button to execute the call",
                "operationId": "GetCarModels",
                "parameters": [
                    {
                        "name": "Make_ID",
                        "in": "path",
                        "description": "Car manufacturer ID: the `id` from `GET /api/v1/cars`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 12
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "description": "Array of car model records",
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "Model_ID": {
                                                        "type": "integer"
                                                    },
                                                    "Make_ID": {
                                                        "type": "integer"
                                                    },
                                                    "Model_Name": {
                                                        "type": "string"
                                                    },
                                                    "Make_Name": {
                                                        "type": "string"
                                                    },
                                                    "created_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "updated_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "user_id": {
                                                        "type": "integer"
                                                    },
                                                    "company_id": {
                                                        "type": "integer"
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            [
                                                1111,
                                                11,
                                                "Golf",
                                                "Volkswagen",
                                                null,
                                                null,
                                                null,
                                                null
                                            ],
                                            [
                                                11,
                                                11,
                                                "Golf",
                                                "Volkswagen",
                                                null,
                                                null,
                                                null,
                                                null
                                            ]
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/addcarmodel": {
            "post": {
                "tags": [
                    "Car Model"
                ],
                "summary": "Add Car Model",
                "description": "API to add new car model of a manufacturer. Enter the manufacturer name, manufacturer id and model name. Only admin can use this api to add car manufacturer. Click on the 'Try it out' button to execute the call",
                "operationId": "AddCarModel",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "Make_ID": {
                                        "description": "The ID of the car manufacturer",
                                        "type": "string"
                                    },
                                    "Make_Name": {
                                        "description": "The name of the car manufacturer",
                                        "type": "string"
                                    },
                                    "Model_Name": {
                                        "description": "The name of the car model",
                                        "type": "string"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "Make_ID": 1111,
                                    "Model_Name": "Golf",
                                    "Make_Name": "Volkswagen"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "Make_ID": {
                                                    "type": "integer"
                                                },
                                                "Model_Name": {
                                                    "type": "string"
                                                },
                                                "Make_Name": {
                                                    "type": "string"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "Model_ID": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "Make_ID": 11,
                                            "Model_Name": "Golf",
                                            "Make_Name": "Volkswagen",
                                            "updated_at": "2022-01-03T12:32:59.000000Z",
                                            "created_at": "2022-01-03T12:32:59.000000Z",
                                            "Model_ID": 1111
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "You do not have permissions"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/carmodels/{carModelID}": {
            "put": {
                "tags": [
                    "Car Model"
                ],
                "summary": "Update Car Model by ID",
                "description": "API to update Car model by id. Click on the 'Try it out' button to execute the call. Click Schema for parameters type",
                "operationId": "UpdateCarModelByID",
                "parameters": [
                    {
                        "name": "carModelID",
                        "in": "path",
                        "description": "Car model ID: the `id` from `GET /api/v1/carmodels/{Make_ID}`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 345
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "Make_ID": {
                                        "description": "The ID of the car manufacturer",
                                        "type": "string"
                                    },
                                    "Make_Name": {
                                        "description": "The name of the car manufacturer",
                                        "type": "string"
                                    },
                                    "Model_Name": {
                                        "description": "The name of the car model",
                                        "type": "string"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "Make_ID": 1111,
                                    "Model_Name": "Golf",
                                    "Make_Name": "Volkswagen"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "Make_ID": {
                                                    "type": "integer"
                                                },
                                                "Model_Name": {
                                                    "type": "string"
                                                },
                                                "Make_Name": {
                                                    "type": "string"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "Model_ID": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "Make_ID": 11,
                                            "Model_Name": "Golf",
                                            "Make_Name": "Volkswagen",
                                            "updated_at": "2022-01-03T12:32:59.000000Z",
                                            "created_at": "2022-01-03T12:32:59.000000Z",
                                            "Model_ID": 1111
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exists"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "delete": {
                "tags": [
                    "Car Model"
                ],
                "summary": "Delete Car Model by ID",
                "description": "API to delete Car Model by id. Click on the 'Try it out' button to execute the call",
                "operationId": "DeleteCarModelByID",
                "parameters": [
                    {
                        "name": "carModelID",
                        "in": "path",
                        "description": "Car model ID: the `id` from `GET /api/v1/carmodels/{Make_ID}`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 345
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Success",
                        "content": {
                            "application/json": {}
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exist"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/logbook/contact": {
            "get": {
                "tags": [
                    "Logbook Contact"
                ],
                "summary": "Get Contacts",
                "description": "API to get contacts data. These contacts are just suggestions for the user while updated the information in Logbook for a particular route. When user enter a contact, it will be stored in the db and then will be shown to the user next time as a suggestion while entering the information. Contacts are shown only for that user who is making a request. Return empty array if there are no contacts. Click on the 'Try it out' button to execute the call",
                "operationId": "GetContacts",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "description": "Array of contact records",
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "company_id": {
                                                        "type": "integer"
                                                    },
                                                    "business_partner": {
                                                        "type": "string"
                                                    },
                                                    "company": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "address": {
                                                        "type": "string"
                                                    },
                                                    "lat": {
                                                        "type": "number",
                                                        "format": "double"
                                                    },
                                                    "lng": {
                                                        "type": "number",
                                                        "format": "double"
                                                    },
                                                    "distance_to_detect": {
                                                        "type": "string"
                                                    },
                                                    "default_reason": {
                                                        "type": "integer"
                                                    },
                                                    "created_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "updated_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "index": {
                                                        "type": "integer"
                                                    },
                                                    "active": {
                                                        "type": "integer"
                                                    },
                                                    "deleted_at": {
                                                        "type": "string",
                                                        "format": "date-time",
                                                        "nullable": true
                                                    },
                                                    "save_item": {
                                                        "type": "integer"
                                                    },
                                                    "car_devices_count": {
                                                        "type": "integer"
                                                    },
                                                    "reason_info": {
                                                        "properties": {
                                                            "id": {
                                                                "type": "integer"
                                                            },
                                                            "customer_id": {
                                                                "type": "integer"
                                                            },
                                                            "company_id": {
                                                                "type": "integer"
                                                            },
                                                            "name": {
                                                                "type": "string"
                                                            },
                                                            "created_at": {
                                                                "type": "string",
                                                                "format": "date-time"
                                                            },
                                                            "updated_at": {
                                                                "type": "string",
                                                                "format": "date-time"
                                                            },
                                                            "active": {
                                                                "type": "integer"
                                                            },
                                                            "index": {
                                                                "type": "integer"
                                                            },
                                                            "deleted_at": {
                                                                "type": "string",
                                                                "format": "date-time",
                                                                "nullable": true
                                                            },
                                                            "save_item": {
                                                                "type": "integer"
                                                            }
                                                        },
                                                        "type": "object",
                                                        "nullable": true
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_records": {
                                            "description": "Total number of records returned",
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": 43967,
                                                "customer_id": 123456,
                                                "company_id": 7,
                                                "business_partner": "Erika Musterfrau",
                                                "company": null,
                                                "address": "Hauptstraße 5, 52062 Aachen, Deutschland",
                                                "lat": 50.7924979,
                                                "lng": 6.1433882,
                                                "distance_to_detect": "100.000",
                                                "default_reason": 0,
                                                "created_at": "2023-12-31T08:18:06.000000Z",
                                                "updated_at": "2024-05-05T08:51:32.000000Z",
                                                "index": 0,
                                                "active": 0,
                                                "deleted_at": null,
                                                "save_item": 1,
                                                "car_devices_count": 0,
                                                "reason_info": null
                                            },
                                            {
                                                "id": 326438,
                                                "customer_id": 123456,
                                                "company_id": 7,
                                                "business_partner": "Max Mustermann",
                                                "company": "Muster GmbH",
                                                "address": "Beispielweg 10, 50667 Köln, Deutschland",
                                                "lat": 50.9379122,
                                                "lng": 7.0010402,
                                                "distance_to_detect": "100.000",
                                                "default_reason": 298822,
                                                "created_at": "2025-05-14T09:35:17.000000Z",
                                                "updated_at": "2025-12-20T12:48:22.000000Z",
                                                "index": 1,
                                                "active": 1,
                                                "deleted_at": null,
                                                "save_item": 1,
                                                "car_devices_count": 0,
                                                "reason_info": {
                                                    "id": 298822,
                                                    "customer_id": 123456,
                                                    "company_id": 7,
                                                    "name": "Kundenbetreuung",
                                                    "created_at": "2025-05-28T09:36:14.000000Z",
                                                    "updated_at": "2026-02-07T08:18:21.000000Z",
                                                    "active": 1,
                                                    "index": 12,
                                                    "deleted_at": null,
                                                    "save_item": 1
                                                }
                                            }
                                        ],
                                        "number_of_records": 2
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "post": {
                "tags": [
                    "Logbook Contact"
                ],
                "summary": "Create Contact",
                "description": "API to create a contact. API to update Contact by id. These contacts are just suggestions for the user while updated the information in Logbook for a particular route. When user enter a contact, it will be stored in the db and then will be shown to the user next time as a suggestion while entering the information. In a contact a user can add the business partner, the company name to whom the user belong and the address as well. Click on the 'Try it out' button to execute the call. Click Schema for parameters type. Only admin can perform this operation",
                "operationId": "CreateContact",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "business_partner": {
                                        "description": "The name of the business partner",
                                        "type": "string"
                                    },
                                    "company": {
                                        "description": "The name of the company",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "address": {
                                        "description": "The address of the company",
                                        "type": "string"
                                    },
                                    "lat": {
                                        "description": "The latitude coordinate",
                                        "type": "number",
                                        "format": "double"
                                    },
                                    "lng": {
                                        "description": "The longitude coordinate",
                                        "type": "number",
                                        "format": "double"
                                    },
                                    "distance_to_detect": {
                                        "description": "The distance to detect in meters",
                                        "type": "string"
                                    },
                                    "default_reason": {
                                        "description": "The default reason ID",
                                        "type": "integer"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "business_partner": "Max Mustermann",
                                    "company": "Muster GmbH",
                                    "address": "Beispielweg 10, 50667 Köln, Deutschland",
                                    "lat": 50.9379122,
                                    "lng": 7.0010402,
                                    "distance_to_detect": "100.000",
                                    "default_reason": 298822
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "customer_id": {
                                                    "type": "integer"
                                                },
                                                "company_id": {
                                                    "type": "integer"
                                                },
                                                "business_partner": {
                                                    "type": "string"
                                                },
                                                "company": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "address": {
                                                    "type": "string"
                                                },
                                                "lat": {
                                                    "type": "number",
                                                    "format": "double"
                                                },
                                                "lng": {
                                                    "type": "number",
                                                    "format": "double"
                                                },
                                                "distance_to_detect": {
                                                    "type": "string"
                                                },
                                                "default_reason": {
                                                    "type": "integer"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "index": {
                                                    "type": "integer"
                                                },
                                                "active": {
                                                    "type": "integer"
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "save_item": {
                                                    "type": "integer"
                                                },
                                                "car_devices_count": {
                                                    "type": "integer"
                                                },
                                                "reason_info": {
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer"
                                                        },
                                                        "customer_id": {
                                                            "type": "integer"
                                                        },
                                                        "company_id": {
                                                            "type": "integer"
                                                        },
                                                        "name": {
                                                            "type": "string"
                                                        },
                                                        "created_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "updated_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "active": {
                                                            "type": "integer"
                                                        },
                                                        "index": {
                                                            "type": "integer"
                                                        },
                                                        "deleted_at": {
                                                            "type": "string",
                                                            "format": "date-time",
                                                            "nullable": true
                                                        },
                                                        "save_item": {
                                                            "type": "integer"
                                                        }
                                                    },
                                                    "type": "object",
                                                    "nullable": true
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 326438,
                                            "customer_id": 123456,
                                            "company_id": 7,
                                            "business_partner": "Max Mustermann",
                                            "company": "Muster GmbH",
                                            "address": "Beispielweg 10, 50667 Köln, Deutschland",
                                            "lat": 50.9379122,
                                            "lng": 7.0010402,
                                            "distance_to_detect": "100.000",
                                            "default_reason": 298822,
                                            "created_at": "2025-05-14T09:35:17.000000Z",
                                            "updated_at": "2025-12-20T12:48:22.000000Z",
                                            "index": 1,
                                            "active": 1,
                                            "deleted_at": null,
                                            "save_item": 1,
                                            "car_devices_count": 0,
                                            "reason_info": {
                                                "id": 298822,
                                                "customer_id": 123456,
                                                "company_id": 7,
                                                "name": "Kundenbetreuung",
                                                "created_at": "2025-05-28T09:36:14.000000Z",
                                                "updated_at": "2026-02-07T08:18:21.000000Z",
                                                "active": 1,
                                                "index": 12,
                                                "deleted_at": null,
                                                "save_item": 1
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exist"
                                    }
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflict",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device already exist"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/logbook/contact/{ContactID}": {
            "put": {
                "tags": [
                    "Logbook Contact"
                ],
                "summary": "Update Contact by ID",
                "description": "API to update Contact by id. These contacts are just suggestions for the user while updated the information in Logbook for a particular route. When user enter a contact, it will be stored in the db and then will be shown to the user next time as a suggestion while entering the information. In a contact a user can add the business partner, the company name to whom the user belong and the address as well. If user do not have permission then error will be shown. Click on the 'Try it out' button to execute the call. Click Schema for parameters type",
                "operationId": "UpdateContactByID",
                "parameters": [
                    {
                        "name": "ContactID",
                        "in": "path",
                        "description": "Contact ID: the `id` from `GET /api/v1/logbook/contact`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 10
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "business_partner": {
                                        "description": "The name of the business partner",
                                        "type": "string"
                                    },
                                    "company": {
                                        "description": "The name of the company",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "address": {
                                        "description": "The address of the company",
                                        "type": "string"
                                    },
                                    "lat": {
                                        "description": "The latitude coordinate",
                                        "type": "number",
                                        "format": "double"
                                    },
                                    "lng": {
                                        "description": "The longitude coordinate",
                                        "type": "number",
                                        "format": "double"
                                    },
                                    "distance_to_detect": {
                                        "description": "The distance to detect in meters",
                                        "type": "string"
                                    },
                                    "default_reason": {
                                        "description": "The default reason ID",
                                        "type": "integer"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "business_partner": "Max Mustermann",
                                    "company": "Muster GmbH",
                                    "address": "Beispielweg 10, 50667 Köln, Deutschland",
                                    "lat": 50.9379122,
                                    "lng": 7.0010402,
                                    "distance_to_detect": "100.000",
                                    "default_reason": 298822
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "customer_id": {
                                                    "type": "integer"
                                                },
                                                "company_id": {
                                                    "type": "integer"
                                                },
                                                "business_partner": {
                                                    "type": "string"
                                                },
                                                "company": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "address": {
                                                    "type": "string"
                                                },
                                                "lat": {
                                                    "type": "number",
                                                    "format": "double"
                                                },
                                                "lng": {
                                                    "type": "number",
                                                    "format": "double"
                                                },
                                                "distance_to_detect": {
                                                    "type": "string"
                                                },
                                                "default_reason": {
                                                    "type": "integer"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "index": {
                                                    "type": "integer"
                                                },
                                                "active": {
                                                    "type": "integer"
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "save_item": {
                                                    "type": "integer"
                                                },
                                                "car_devices_count": {
                                                    "type": "integer"
                                                },
                                                "reason_info": {
                                                    "properties": {
                                                        "id": {
                                                            "type": "integer"
                                                        },
                                                        "customer_id": {
                                                            "type": "integer"
                                                        },
                                                        "company_id": {
                                                            "type": "integer"
                                                        },
                                                        "name": {
                                                            "type": "string"
                                                        },
                                                        "created_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "updated_at": {
                                                            "type": "string",
                                                            "format": "date-time"
                                                        },
                                                        "active": {
                                                            "type": "integer"
                                                        },
                                                        "index": {
                                                            "type": "integer"
                                                        },
                                                        "deleted_at": {
                                                            "type": "string",
                                                            "format": "date-time",
                                                            "nullable": true
                                                        },
                                                        "save_item": {
                                                            "type": "integer"
                                                        }
                                                    },
                                                    "type": "object",
                                                    "nullable": true
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 326438,
                                            "customer_id": 123456,
                                            "company_id": 7,
                                            "business_partner": "Max Mustermann",
                                            "company": "Muster GmbH",
                                            "address": "Beispielweg 10, 50667 Köln, Deutschland",
                                            "lat": 50.9379122,
                                            "lng": 7.0010402,
                                            "distance_to_detect": "100.000",
                                            "default_reason": 298822,
                                            "created_at": "2025-05-14T09:35:17.000000Z",
                                            "updated_at": "2025-12-20T12:48:22.000000Z",
                                            "index": 1,
                                            "active": 1,
                                            "deleted_at": null,
                                            "save_item": 1,
                                            "car_devices_count": 0,
                                            "reason_info": {
                                                "id": 298822,
                                                "customer_id": 123456,
                                                "company_id": 7,
                                                "name": "Kundenbetreuung",
                                                "created_at": "2025-05-28T09:36:14.000000Z",
                                                "updated_at": "2026-02-07T08:18:21.000000Z",
                                                "active": 1,
                                                "index": 12,
                                                "deleted_at": null,
                                                "save_item": 1
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exists"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "delete": {
                "tags": [
                    "Logbook Contact"
                ],
                "summary": "Delete Contact Data by ID",
                "description": "API to delete contact by id. It will delete the contact and the contact then will not be shown in suggestion the next time user is entering the information in a logbook for its route. If the contact does not exists, it will return an error. Click on the 'Try it out' button to execute the call. Only admin can perform this operation",
                "operationId": "DeleteContactByID",
                "parameters": [
                    {
                        "name": "ContactID",
                        "in": "path",
                        "description": "Contact ID: the `id` from `GET /api/v1/logbook/contact`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 10
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Success",
                        "content": {
                            "application/json": {}
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exist"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/customer": {
            "get": {
                "tags": [
                    "Customer"
                ],
                "summary": "Get Customer Data",
                "description": "API to get customer data. If its admin then return all the customers and else only the logged in customer. Click on the 'Try it out' button to execute the call",
                "operationId": "Customer",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "company_id": {
                                                    "type": "integer"
                                                },
                                                "company_role": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "created_by": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "email": {
                                                    "type": "string"
                                                },
                                                "email1": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "email2": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "email3": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "email4": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "whatsappnr": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "intern": {
                                                    "type": "integer"
                                                },
                                                "sessionlifetime": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "firstname": {
                                                    "type": "string"
                                                },
                                                "lastname": {
                                                    "type": "string"
                                                },
                                                "street": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "streetno": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "plz": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "city": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "country": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "showsidbar": {
                                                    "type": "integer"
                                                },
                                                "alarmintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegung": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegungintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeit": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitab": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahren": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahrenintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassen": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassenintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnung": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnungab": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnungintervall": {
                                                    "type": "integer"
                                                },
                                                "createdate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "updatedate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_logindate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_usagedate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "expired": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "show_kmanzeige": {
                                                    "type": "integer"
                                                },
                                                "show_gruppenanzeigeanzeige": {
                                                    "type": "integer"
                                                },
                                                "actlang": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "route_icons": {
                                                    "type": "string"
                                                },
                                                "snap_to_road": {
                                                    "type": "integer"
                                                },
                                                "pauses": {
                                                    "type": "integer"
                                                },
                                                "map": {
                                                    "type": "string"
                                                },
                                                "distance_unit": {
                                                    "type": "string"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "email_verified_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "customer_img": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_sos": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_low_battery": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_shock": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_speed": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_leave_area": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_ignition": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_low_voltage": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_enter_area_alert": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_leave_area_alert": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_drop_alert": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_power_cutOff": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_turned_off": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_fall": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "private_mode": {
                                                    "type": "integer"
                                                },
                                                "route_email": {
                                                    "type": "integer"
                                                },
                                                "socket_url": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "logbook_show_driver": {
                                                    "type": "integer"
                                                },
                                                "logbook_show_start_end_point": {
                                                    "type": "boolean"
                                                },
                                                "isActive": {
                                                    "type": "integer"
                                                },
                                                "show_pauses": {
                                                    "type": "integer"
                                                },
                                                "logbook_unplug_alarm": {
                                                    "type": "integer"
                                                },
                                                "brand": {
                                                    "type": "integer"
                                                },
                                                "suppressions": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "last_app_activity": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "map_types": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "last_password_change": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "super_user": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 123456,
                                            "company_id": 7,
                                            "company_role": 1,
                                            "created_by": null,
                                            "email": "user@example.com",
                                            "email1": "",
                                            "email2": "",
                                            "email3": "",
                                            "email4": null,
                                            "whatsappnr": null,
                                            "intern": 0,
                                            "sessionlifetime": null,
                                            "name": "Testuser",
                                            "firstname": "Test",
                                            "lastname": "User",
                                            "street": null,
                                            "streetno": null,
                                            "plz": null,
                                            "city": null,
                                            "country": null,
                                            "showsidbar": 1,
                                            "alarmintervall": 10800,
                                            "alarmbewegung": 1,
                                            "alarmbewegungintervall": 10800,
                                            "alarmgeschwindigkeit": 0,
                                            "alarmgeschwindigkeitab": 60,
                                            "alarmgeschwindigkeitintervall": 10800,
                                            "alarmgeozaunbefahren": 1,
                                            "alarmgeozaunbefahrenintervall": 10800,
                                            "alarmgeozaunverlassen": 1,
                                            "alarmgeozaunverlassenintervall": 10800,
                                            "alarmakkuwarnung": 1,
                                            "alarmakkuwarnungab": 1,
                                            "alarmakkuwarnungintervall": 10800,
                                            "createdate": 1545983289,
                                            "updatedate": 1728828059,
                                            "last_logindate": 1728332499,
                                            "last_usagedate": 1561466687,
                                            "expired": null,
                                            "show_kmanzeige": 0,
                                            "show_gruppenanzeigeanzeige": 0,
                                            "actlang": "de",
                                            "route_icons": "circle",
                                            "snap_to_road": 1,
                                            "pauses": 0,
                                            "map": "mapbox_satellite_streets_v11",
                                            "distance_unit": "km",
                                            "created_at": null,
                                            "updated_at": "2026-02-13T13:00:02.000000Z",
                                            "email_verified_at": null,
                                            "customer_img": "profile---668fe7149d779.png",
                                            "notifChannel_sos": "sound1",
                                            "notifChannel_low_battery": "sound2",
                                            "notifChannel_shock": "sound3",
                                            "notifChannel_speed": "sound4",
                                            "notifChannel_leave_area": "sound5",
                                            "notifChannel_ignition": "sound6",
                                            "notifChannel_low_voltage": "sound10",
                                            "notifChannel_enter_area_alert": "sound9",
                                            "notifChannel_leave_area_alert": "sound8",
                                            "notifChannel_drop_alert": "sound7",
                                            "notifChannel_power_cutOff": "sound7",
                                            "notifChannel_turned_off": "sound7",
                                            "notifChannel_fall": "sound7",
                                            "private_mode": 0,
                                            "route_email": 0,
                                            "socket_url": null,
                                            "logbook_show_driver": 1,
                                            "logbook_show_start_end_point": false,
                                            "isActive": 1,
                                            "show_pauses": 1,
                                            "logbook_unplug_alarm": 1,
                                            "brand": 0,
                                            "suppressions": "[{model:Windows NT 10.0,platform:web,operatingSystem:windows}]",
                                            "deleted_at": null,
                                            "last_app_activity": "2025-04-03 09:32:13",
                                            "map_types": "paj,pajLite,mapbox_satellite_streets_v11,mapbox_standard,mapbox_outdoor_v11",
                                            "last_password_change": "2024-10-13 14:00:59",
                                            "super_user": 0
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/customer/{CustomerID}": {
            "get": {
                "tags": [
                    "Customer"
                ],
                "summary": "Get Customer Data by ID",
                "description": "API to get customer info by id. Admin can get any customer and if not admin then only get info of itself. Click on the 'Try it out' button to execute the call and enter required parameters",
                "operationId": "GetDataByCustomerID",
                "parameters": [
                    {
                        "name": "CustomerID",
                        "in": "path",
                        "description": "Your customer ID (`userID` from the login response).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 123456
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "company_id": {
                                                    "type": "integer"
                                                },
                                                "company_role": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "created_by": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "email": {
                                                    "type": "string"
                                                },
                                                "email1": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "email2": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "email3": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "email4": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "whatsappnr": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "intern": {
                                                    "type": "integer"
                                                },
                                                "sessionlifetime": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "firstname": {
                                                    "type": "string"
                                                },
                                                "lastname": {
                                                    "type": "string"
                                                },
                                                "street": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "streetno": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "plz": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "city": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "country": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "showsidbar": {
                                                    "type": "integer"
                                                },
                                                "alarmintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegung": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegungintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeit": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitab": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahren": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahrenintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassen": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassenintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnung": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnungab": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnungintervall": {
                                                    "type": "integer"
                                                },
                                                "createdate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "updatedate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_logindate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_usagedate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "expired": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "show_kmanzeige": {
                                                    "type": "integer"
                                                },
                                                "show_gruppenanzeigeanzeige": {
                                                    "type": "integer"
                                                },
                                                "actlang": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "route_icons": {
                                                    "type": "string"
                                                },
                                                "snap_to_road": {
                                                    "type": "integer"
                                                },
                                                "pauses": {
                                                    "type": "integer"
                                                },
                                                "map": {
                                                    "type": "string"
                                                },
                                                "distance_unit": {
                                                    "type": "string"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "email_verified_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "customer_img": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_sos": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_low_battery": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_shock": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_speed": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_leave_area": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_ignition": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_low_voltage": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_enter_area_alert": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_leave_area_alert": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_drop_alert": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_power_cutOff": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_turned_off": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_fall": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "private_mode": {
                                                    "type": "integer"
                                                },
                                                "route_email": {
                                                    "type": "integer"
                                                },
                                                "socket_url": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "logbook_show_driver": {
                                                    "type": "integer"
                                                },
                                                "logbook_show_start_end_point": {
                                                    "type": "boolean"
                                                },
                                                "isActive": {
                                                    "type": "integer"
                                                },
                                                "show_pauses": {
                                                    "type": "integer"
                                                },
                                                "logbook_unplug_alarm": {
                                                    "type": "integer"
                                                },
                                                "brand": {
                                                    "type": "integer"
                                                },
                                                "suppressions": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "last_app_activity": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "map_types": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "last_password_change": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "super_user": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 123456,
                                            "company_id": 7,
                                            "company_role": 1,
                                            "created_by": null,
                                            "email": "user@example.com",
                                            "email1": "",
                                            "email2": "",
                                            "email3": "",
                                            "email4": null,
                                            "whatsappnr": null,
                                            "intern": 0,
                                            "sessionlifetime": null,
                                            "name": "Testuser",
                                            "firstname": "Test",
                                            "lastname": "User",
                                            "street": null,
                                            "streetno": null,
                                            "plz": null,
                                            "city": null,
                                            "country": null,
                                            "showsidbar": 1,
                                            "alarmintervall": 10800,
                                            "alarmbewegung": 1,
                                            "alarmbewegungintervall": 10800,
                                            "alarmgeschwindigkeit": 0,
                                            "alarmgeschwindigkeitab": 60,
                                            "alarmgeschwindigkeitintervall": 10800,
                                            "alarmgeozaunbefahren": 1,
                                            "alarmgeozaunbefahrenintervall": 10800,
                                            "alarmgeozaunverlassen": 1,
                                            "alarmgeozaunverlassenintervall": 10800,
                                            "alarmakkuwarnung": 1,
                                            "alarmakkuwarnungab": 1,
                                            "alarmakkuwarnungintervall": 10800,
                                            "createdate": 1545983289,
                                            "updatedate": 1728828059,
                                            "last_logindate": 1728332499,
                                            "last_usagedate": 1561466687,
                                            "expired": null,
                                            "show_kmanzeige": 0,
                                            "show_gruppenanzeigeanzeige": 0,
                                            "actlang": "de",
                                            "route_icons": "circle",
                                            "snap_to_road": 1,
                                            "pauses": 0,
                                            "map": "mapbox_satellite_streets_v11",
                                            "distance_unit": "km",
                                            "created_at": null,
                                            "updated_at": "2026-02-13T13:00:02.000000Z",
                                            "email_verified_at": null,
                                            "customer_img": "profile---668fe7149d779.png",
                                            "notifChannel_sos": "sound1",
                                            "notifChannel_low_battery": "sound2",
                                            "notifChannel_shock": "sound3",
                                            "notifChannel_speed": "sound4",
                                            "notifChannel_leave_area": "sound5",
                                            "notifChannel_ignition": "sound6",
                                            "notifChannel_low_voltage": "sound10",
                                            "notifChannel_enter_area_alert": "sound9",
                                            "notifChannel_leave_area_alert": "sound8",
                                            "notifChannel_drop_alert": "sound7",
                                            "notifChannel_power_cutOff": "sound7",
                                            "notifChannel_turned_off": "sound7",
                                            "notifChannel_fall": "sound7",
                                            "private_mode": 0,
                                            "route_email": 0,
                                            "socket_url": null,
                                            "logbook_show_driver": 1,
                                            "logbook_show_start_end_point": false,
                                            "isActive": 1,
                                            "show_pauses": 1,
                                            "logbook_unplug_alarm": 1,
                                            "brand": 0,
                                            "suppressions": "[{model:Windows NT 10.0,platform:web,operatingSystem:windows}]",
                                            "deleted_at": null,
                                            "last_app_activity": "2025-04-03 09:32:13",
                                            "map_types": "paj,pajLite,mapbox_satellite_streets_v11,mapbox_standard,mapbox_outdoor_v11",
                                            "last_password_change": "2024-10-13 14:00:59",
                                            "super_user": 0
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "put": {
                "tags": [
                    "Customer"
                ],
                "summary": "Update your account settings",
                "description": "Updates your own account: name, address, notification channels, language and other settings. Send only the fields you want to change.\n\n* **Password:** not accepted here (returns `400`). Use `PUT /api/v1/customer/changepassword`, which requires your current password.\n* **Email, account status and company fields** cannot be changed through this endpoint and are ignored if sent.\n* `CustomerID` must be your own ID (`userID` from the login response), otherwise `403`.",
                "operationId": "UpdateCustomerByID",
                "parameters": [
                    {
                        "name": "CustomerID",
                        "in": "path",
                        "description": "Your customer ID (`userID` from the login response).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 123456
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "email1": {
                                        "description": "alternate email 1",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "email2": {
                                        "description": "alternate email 2",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "email3": {
                                        "description": "alternate email 3",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "email4": {
                                        "description": "alternate email 4",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "whatsappnr": {
                                        "description": "whatsapp number",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "name": {
                                        "description": "name of the user",
                                        "type": "string"
                                    },
                                    "firstname": {
                                        "description": "first name",
                                        "type": "string"
                                    },
                                    "lastname": {
                                        "description": "last name",
                                        "type": "string"
                                    },
                                    "street": {
                                        "description": "name of the street",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "streetno": {
                                        "description": "street number",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "plz": {
                                        "description": "postal code",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "city": {
                                        "description": "city name",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "country": {
                                        "description": "country name",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "showsidbar": {
                                        "description": "show sidebar",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmintervall": {
                                        "description": "alarm interval",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmbewegung": {
                                        "description": "alarm movement",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmbewegungintervall": {
                                        "description": "alarm movement interval",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmgeschwindigkeit": {
                                        "description": "alarm speed",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmgeschwindigkeitab": {
                                        "description": "alarm speed from",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmgeschwindigkeitintervall": {
                                        "description": "alarm speed interval",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmgeozaunbefahren": {
                                        "description": "alarm geofence entered",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmgeozaunbefahrenintervall": {
                                        "description": "alarm geofence entered interval",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmgeozaunverlassen": {
                                        "description": "alarm geofence left",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmgeozaunverlassenintervall": {
                                        "description": "alarm geofence left interval",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmakkuwarnung": {
                                        "description": "alarm battery warning",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmakkuwarnungab": {
                                        "description": "alarm battery warning threshold",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "alarmakkuwarnungintervall": {
                                        "description": "alarm battery warning interval",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "actlang": {
                                        "description": "active language",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "route_icons": {
                                        "description": "route icons style",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "snap_to_road": {
                                        "description": "snap to road",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "pauses": {
                                        "description": "pauses",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "map": {
                                        "description": "map type",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "distance_unit": {
                                        "description": "distance unit",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "customer_img": {
                                        "description": "customer image",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_sos": {
                                        "description": "notification channel SOS",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_low_battery": {
                                        "description": "notification channel low battery",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_shock": {
                                        "description": "notification channel shock",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_speed": {
                                        "description": "notification channel speed",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_leave_area": {
                                        "description": "notification channel leave area",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_ignition": {
                                        "description": "notification channel ignition",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_low_voltage": {
                                        "description": "notification channel low voltage",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_enter_area_alert": {
                                        "description": "notification channel enter area alert",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_leave_area_alert": {
                                        "description": "notification channel leave area alert",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_drop_alert": {
                                        "description": "notification channel drop alert",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_power_cutOff": {
                                        "description": "notification channel power cut off",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_turned_off": {
                                        "description": "notification channel turned off",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "notifChannel_fall": {
                                        "description": "notification channel fall",
                                        "type": "string",
                                        "nullable": true
                                    },
                                    "private_mode": {
                                        "description": "private mode",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "route_email": {
                                        "description": "route email",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "logbook_show_driver": {
                                        "description": "logbook show driver",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "logbook_show_start_end_point": {
                                        "description": "logbook show start end point",
                                        "type": "boolean",
                                        "nullable": true
                                    },
                                    "show_pauses": {
                                        "description": "show pauses",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "logbook_unplug_alarm": {
                                        "description": "logbook unplug alarm",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "brand": {
                                        "description": "brand",
                                        "type": "integer",
                                        "nullable": true
                                    },
                                    "suppressions": {
                                        "description": "suppressions",
                                        "type": "string",
                                        "nullable": true
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "email1": "",
                                    "email2": "",
                                    "email3": "",
                                    "email4": null,
                                    "whatsappnr": null,
                                    "name": "Testuser",
                                    "firstname": "Test",
                                    "lastname": "User",
                                    "street": null,
                                    "streetno": null,
                                    "plz": null,
                                    "city": null,
                                    "country": null,
                                    "showsidbar": 1,
                                    "alarmintervall": 10800,
                                    "alarmbewegung": 1,
                                    "alarmbewegungintervall": 10800,
                                    "alarmgeschwindigkeit": 0,
                                    "alarmgeschwindigkeitab": 60,
                                    "alarmgeschwindigkeitintervall": 10800,
                                    "alarmgeozaunbefahren": 1,
                                    "alarmgeozaunbefahrenintervall": 10800,
                                    "alarmgeozaunverlassen": 1,
                                    "alarmgeozaunverlassenintervall": 10800,
                                    "alarmakkuwarnung": 1,
                                    "alarmakkuwarnungab": 1,
                                    "alarmakkuwarnungintervall": 10800,
                                    "actlang": "de",
                                    "route_icons": "circle",
                                    "snap_to_road": 1,
                                    "pauses": 0,
                                    "map": "mapbox_satellite_streets_v11",
                                    "distance_unit": "km",
                                    "customer_img": "profile---668fe7149d779.png",
                                    "notifChannel_sos": "sound1",
                                    "notifChannel_low_battery": "sound2",
                                    "notifChannel_shock": "sound3",
                                    "notifChannel_speed": "sound4",
                                    "notifChannel_leave_area": "sound5",
                                    "notifChannel_ignition": "sound6",
                                    "notifChannel_low_voltage": "sound10",
                                    "notifChannel_enter_area_alert": "sound9",
                                    "notifChannel_leave_area_alert": "sound8",
                                    "notifChannel_drop_alert": "sound7",
                                    "notifChannel_power_cutOff": "sound7",
                                    "notifChannel_turned_off": "sound7",
                                    "notifChannel_fall": "sound7",
                                    "private_mode": 0,
                                    "route_email": 0,
                                    "logbook_show_driver": 1,
                                    "logbook_show_start_end_point": false,
                                    "show_pauses": 1,
                                    "logbook_unplug_alarm": 1,
                                    "brand": 0,
                                    "suppressions": "[{model:Windows NT 10.0,platform:web,operatingSystem:windows}]"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "company_id": {
                                                    "type": "integer"
                                                },
                                                "company_role": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "created_by": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "email": {
                                                    "type": "string"
                                                },
                                                "email1": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "email2": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "email3": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "email4": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "whatsappnr": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "intern": {
                                                    "type": "integer"
                                                },
                                                "sessionlifetime": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "firstname": {
                                                    "type": "string"
                                                },
                                                "lastname": {
                                                    "type": "string"
                                                },
                                                "street": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "streetno": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "plz": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "city": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "country": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "showsidbar": {
                                                    "type": "integer"
                                                },
                                                "alarmintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegung": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegungintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeit": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitab": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahren": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahrenintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassen": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassenintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnung": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnungab": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnungintervall": {
                                                    "type": "integer"
                                                },
                                                "createdate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "updatedate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_logindate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_usagedate": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "expired": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "show_kmanzeige": {
                                                    "type": "integer"
                                                },
                                                "show_gruppenanzeigeanzeige": {
                                                    "type": "integer"
                                                },
                                                "actlang": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "route_icons": {
                                                    "type": "string"
                                                },
                                                "snap_to_road": {
                                                    "type": "integer"
                                                },
                                                "pauses": {
                                                    "type": "integer"
                                                },
                                                "map": {
                                                    "type": "string"
                                                },
                                                "distance_unit": {
                                                    "type": "string"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "email_verified_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "customer_img": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_sos": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_low_battery": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_shock": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_speed": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_leave_area": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_ignition": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_low_voltage": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_enter_area_alert": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_leave_area_alert": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_drop_alert": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_power_cutOff": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_turned_off": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "notifChannel_fall": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "private_mode": {
                                                    "type": "integer"
                                                },
                                                "route_email": {
                                                    "type": "integer"
                                                },
                                                "socket_url": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "logbook_show_driver": {
                                                    "type": "integer"
                                                },
                                                "logbook_show_start_end_point": {
                                                    "type": "boolean"
                                                },
                                                "isActive": {
                                                    "type": "integer"
                                                },
                                                "show_pauses": {
                                                    "type": "integer"
                                                },
                                                "logbook_unplug_alarm": {
                                                    "type": "integer"
                                                },
                                                "brand": {
                                                    "type": "integer"
                                                },
                                                "suppressions": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "last_app_activity": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "map_types": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "last_password_change": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "super_user": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 123456,
                                            "company_id": 7,
                                            "company_role": 1,
                                            "created_by": null,
                                            "email": "user@example.com",
                                            "email1": "",
                                            "email2": "",
                                            "email3": "",
                                            "email4": null,
                                            "whatsappnr": null,
                                            "intern": 0,
                                            "sessionlifetime": null,
                                            "name": "Testuser",
                                            "firstname": "Test",
                                            "lastname": "User",
                                            "street": null,
                                            "streetno": null,
                                            "plz": null,
                                            "city": null,
                                            "country": null,
                                            "showsidbar": 1,
                                            "alarmintervall": 10800,
                                            "alarmbewegung": 1,
                                            "alarmbewegungintervall": 10800,
                                            "alarmgeschwindigkeit": 0,
                                            "alarmgeschwindigkeitab": 60,
                                            "alarmgeschwindigkeitintervall": 10800,
                                            "alarmgeozaunbefahren": 1,
                                            "alarmgeozaunbefahrenintervall": 10800,
                                            "alarmgeozaunverlassen": 1,
                                            "alarmgeozaunverlassenintervall": 10800,
                                            "alarmakkuwarnung": 1,
                                            "alarmakkuwarnungab": 1,
                                            "alarmakkuwarnungintervall": 10800,
                                            "createdate": 1545983289,
                                            "updatedate": 1728828059,
                                            "last_logindate": 1728332499,
                                            "last_usagedate": 1561466687,
                                            "expired": null,
                                            "show_kmanzeige": 0,
                                            "show_gruppenanzeigeanzeige": 0,
                                            "actlang": "de",
                                            "route_icons": "circle",
                                            "snap_to_road": 1,
                                            "pauses": 0,
                                            "map": "mapbox_satellite_streets_v11",
                                            "distance_unit": "km",
                                            "created_at": null,
                                            "updated_at": "2026-02-13T13:00:02.000000Z",
                                            "email_verified_at": null,
                                            "customer_img": "profile---668fe7149d779.png",
                                            "notifChannel_sos": "sound1",
                                            "notifChannel_low_battery": "sound2",
                                            "notifChannel_shock": "sound3",
                                            "notifChannel_speed": "sound4",
                                            "notifChannel_leave_area": "sound5",
                                            "notifChannel_ignition": "sound6",
                                            "notifChannel_low_voltage": "sound10",
                                            "notifChannel_enter_area_alert": "sound9",
                                            "notifChannel_leave_area_alert": "sound8",
                                            "notifChannel_drop_alert": "sound7",
                                            "notifChannel_power_cutOff": "sound7",
                                            "notifChannel_turned_off": "sound7",
                                            "notifChannel_fall": "sound7",
                                            "private_mode": 0,
                                            "route_email": 0,
                                            "socket_url": null,
                                            "logbook_show_driver": 1,
                                            "logbook_show_start_end_point": false,
                                            "isActive": 1,
                                            "show_pauses": 1,
                                            "logbook_unplug_alarm": 1,
                                            "brand": 0,
                                            "suppressions": "[{model:Windows NT 10.0,platform:web,operatingSystem:windows}]",
                                            "deleted_at": null,
                                            "last_app_activity": "2025-04-03 09:32:13",
                                            "map_types": "paj,pajLite,mapbox_satellite_streets_v11,mapbox_standard,mapbox_outdoor_v11",
                                            "last_password_change": "2024-10-13 14:00:59",
                                            "super_user": 0
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/customer/changepassword": {
            "put": {
                "tags": [
                    "Customer"
                ],
                "summary": "Change your password",
                "description": "Changes the password of your own account. Requires your **current** password.\n\nThe new password must be at least 8 characters and contain upper- and lowercase letters, a number and a symbol.",
                "operationId": "ChangePassword",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "email",
                                    "oldPassword",
                                    "newPassword"
                                ],
                                "properties": {
                                    "email": {
                                        "description": "Your account email",
                                        "type": "string",
                                        "format": "email",
                                        "example": "user@example.com"
                                    },
                                    "oldPassword": {
                                        "description": "Your current password",
                                        "type": "string",
                                        "format": "password",
                                        "example": "Current-Passw0rd!"
                                    },
                                    "newPassword": {
                                        "description": "New password: min. 8 characters, upper- and lowercase letters, a number and a symbol",
                                        "type": "string",
                                        "format": "password",
                                        "example": "New-Passw0rd!"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Password changed. `success` contains your account data.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Validation failed (e.g. the new password is too weak), the current password is wrong, or the new password equals the old one.",
                        "content": {
                            "application/json": {
                                "schema": {},
                                "example": {
                                    "error": "old password is incorrect"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthenticated: the token is missing, expired or wrong.",
                        "content": {
                            "application/json": {
                                "schema": {},
                                "example": {
                                    "error": "Unauthenticated"
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "`email` is not the email of the logged-in account.",
                        "content": {
                            "application/json": {
                                "schema": {},
                                "example": {
                                    "error": "You do not have permission"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/customer/dashboard/triprest_data": {
            "post": {
                "tags": [
                    "Dashboard"
                ],
                "summary": "Trip and Rest data",
                "description": "Api to get device data when it was on motion or iddle, click on 'Try it out' button to execute the call.",
                "operationId": "Trip_Rest_Data",
                "parameters": [
                    {
                        "name": "deviceId",
                        "in": "query",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "startDate",
                        "in": "query",
                        "description": "Start of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735689600
                    },
                    {
                        "name": "endDate",
                        "in": "query",
                        "description": "End of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735775999
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "dataPoints": {
                                                    "type": "array",
                                                    "items": {
                                                        "properties": {
                                                            "color": {
                                                                "type": "string"
                                                            },
                                                            "hour": {
                                                                "type": "integer"
                                                            },
                                                            "ismoving": {
                                                                "type": "boolean"
                                                            },
                                                            "rest": {
                                                                "type": "integer"
                                                            },
                                                            "time": {
                                                                "type": "integer"
                                                            },
                                                            "trip": {
                                                                "type": "integer"
                                                            },
                                                            "x": {
                                                                "type": "string",
                                                                "format": "date"
                                                            },
                                                            "y": {
                                                                "type": "array",
                                                                "items": {
                                                                    "type": "integer"
                                                                }
                                                            }
                                                        },
                                                        "type": "object"
                                                    }
                                                },
                                                "grouped": {
                                                    "type": "object"
                                                },
                                                "totalRestTime": {
                                                    "type": "integer"
                                                },
                                                "totalTripTime": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "dataPoints": [
                                                {
                                                    "color": "#212F3C",
                                                    "hour": 0,
                                                    "ismoving": false,
                                                    "rest": 24,
                                                    "time": 0,
                                                    "trip": 0,
                                                    "x": "2021-11-19",
                                                    "y": [
                                                        0,
                                                        1
                                                    ]
                                                },
                                                {
                                                    "color": "#212F3C",
                                                    "hour": 0,
                                                    "ismoving": false,
                                                    "rest": 24,
                                                    "time": 0,
                                                    "trip": 0,
                                                    "x": "2021-11-19",
                                                    "y": [
                                                        0,
                                                        1
                                                    ]
                                                }
                                            ],
                                            "grouped": {
                                                "2021-11-19": [
                                                    {
                                                        "color": "#212F3C",
                                                        "hour": 0,
                                                        "ismoving": false,
                                                        "rest": 24,
                                                        "time": 0,
                                                        "trip": 0,
                                                        "x": "2021-11-19",
                                                        "y": [
                                                            0,
                                                            1
                                                        ]
                                                    },
                                                    {
                                                        "color": "#212F3C",
                                                        "hour": 0,
                                                        "ismoving": false,
                                                        "rest": 24,
                                                        "time": 0,
                                                        "trip": 0,
                                                        "x": "2021-11-19",
                                                        "y": [
                                                            0,
                                                            1
                                                        ]
                                                    }
                                                ]
                                            },
                                            "totalRestTime": 604080,
                                            "totalTripTime": 720
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "No permissions to access this device data. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "You do not have permission"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/customer/dashboard/downloadpdf": {
            "post": {
                "tags": [
                    "Dashboard"
                ],
                "summary": "Trip and Rest Pdf download",
                "description": "Api to get dashboard pdf reports.",
                "operationId": "Trip_Rest_Data_PDF",
                "parameters": [
                    {
                        "name": "deviceId",
                        "in": "query",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "startDate",
                        "in": "query",
                        "description": "Start of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735689600
                    },
                    {
                        "name": "endDate",
                        "in": "query",
                        "description": "End of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735775999
                    },
                    {
                        "name": "dsType",
                        "in": "query",
                        "description": "Report type: `mixTR` = journeys and breaks, `distance` = distance report, `heartRate`, `steps`.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "mixTR",
                                "distance",
                                "heartRate",
                                "steps"
                            ]
                        },
                        "example": "mixTR"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/pdf": {}
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "No permissions to access this device data. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "You do not have permission"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/customer/dashboard/sensorData": {
            "post": {
                "tags": [
                    "Dashboard"
                ],
                "summary": "Get sensor data",
                "description": "Api to get sensor data (voltage, temperature, battery, steps, heart rate, ignition) for one or more devices within a date range. The userId path parameter is optional and only applicable for admin users. Click on 'Try it out' button to execute the call.",
                "operationId": "Get_Sensor_Data",
                "parameters": [
                    {
                        "name": "deviceId",
                        "in": "query",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.** You can also send several Device IDs as an array. If omitted, all your devices are used.",
                        "required": false,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "startDate",
                        "in": "query",
                        "description": "Start of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735689600
                    },
                    {
                        "name": "endDate",
                        "in": "query",
                        "description": "End of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735775999
                    },
                    {
                        "name": "sensorType",
                        "in": "query",
                        "description": "Type of sensor data to return.",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "volt",
                                "temp",
                                "battery",
                                "steps",
                                "heartRate",
                                "ignition"
                            ]
                        },
                        "example": "battery"
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Style of chart (e.g. spline). Optional.",
                        "required": false,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "integer"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "color": {
                                                        "type": "string"
                                                    },
                                                    "model_nr": {
                                                        "type": "integer"
                                                    },
                                                    "dataPoints": {
                                                        "type": "array",
                                                        "items": {
                                                            "properties": {
                                                                "x": {
                                                                    "type": "integer"
                                                                },
                                                                "y": {
                                                                    "type": "number",
                                                                    "format": "float"
                                                                }
                                                            },
                                                            "type": "object"
                                                        }
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": 1111,
                                                "name": "My Tracker",
                                                "color": "#0efef4",
                                                "model_nr": 202,
                                                "dataPoints": [
                                                    {
                                                        "x": 1700000000,
                                                        "y": 3.85
                                                    },
                                                    {
                                                        "x": 1700003600,
                                                        "y": 3.84
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "No permissions to access this device data. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "You do not have permission"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/customer/dashboard/dataDistance": {
            "post": {
                "tags": [
                    "Dashboard"
                ],
                "summary": "Data and Distance calculation",
                "description": "Api to get a single device data along with the total distance travelled in kilimeters(ki) or miles(mi) based on the date selection. User can enter start date, end date, distance unit (km, mi) and device id. If user enter device id which is not correct and it will show error. Please note that the distance calculation is based on point to point data pinged from device and it can very from other sources like goolge maps, goolge earth, valhalla etc. Click on 'Try it out' button to execute the call.",
                "operationId": "Date_with_distance",
                "parameters": [
                    {
                        "name": "deviceId",
                        "in": "query",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "startDate",
                        "in": "query",
                        "description": "Start of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735689600
                    },
                    {
                        "name": "endDate",
                        "in": "query",
                        "description": "End of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735775999
                    },
                    {
                        "name": "distanceUnit",
                        "in": "query",
                        "description": "Distance unit: `km` (kilometres, default) or `mi` (miles).",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "default": "km",
                            "enum": [
                                "km",
                                "mi"
                            ]
                        },
                        "example": "km"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "name": {
                                                    "type": "string"
                                                },
                                                "imei": {
                                                    "description": "Hardware IMEI of the tracker. **Not** the Device ID.",
                                                    "type": "string"
                                                },
                                                "model_nr": {
                                                    "type": "integer"
                                                },
                                                "timezone": {
                                                    "type": "string"
                                                },
                                                "correctDataPointsCount": {
                                                    "type": "integer"
                                                },
                                                "faultyDataPointsCount": {
                                                    "type": "integer"
                                                },
                                                "type": {
                                                    "type": "string"
                                                },
                                                "xValueType": {
                                                    "type": "string"
                                                },
                                                "xValueFormatString": {
                                                    "type": "string"
                                                },
                                                "color": {
                                                    "type": "string"
                                                },
                                                "showInLegend": {
                                                    "type": "boolean"
                                                },
                                                "totalDistance": {
                                                    "type": "number",
                                                    "format": "float"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 1111,
                                            "name": "test",
                                            "imei": "1111",
                                            "model_nr": 1111,
                                            "timezone": "Europe/Berlin",
                                            "correctDataPointsCount": 1122,
                                            "faultyDataPointsCount": 1122,
                                            "type": "column",
                                            "xValueType": "dateTime",
                                            "xValueFormatString": "DD MMM",
                                            "color": "#0efef4",
                                            "showInLegend": true,
                                            "totalDistance": 11.1111
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "No permissions to access this device data. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "You do not have permission"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device does not exists or you do not have permission"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/device": {
            "get": {
                "tags": [
                    "Device"
                ],
                "summary": "List your devices (get the Device ID used by all other endpoints)",
                "description": "Returns all devices you have access to.\n\n**Call this first.** The `id` of each device is the **Device ID** that every other endpoint expects (`DeviceID`, `deviceId`, `iddevice`, ...).\n\nThe `imei` field is the hardware number printed on the tracker. It is **not** accepted as a Device ID.",
                "operationId": "Device",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "description": "**Device ID**: use this value wherever an endpoint asks for DeviceID / deviceId / iddevice.",
                                                        "type": "integer"
                                                    },
                                                    "name": {
                                                        "description": "Device name shown in the portal",
                                                        "type": "string"
                                                    },
                                                    "imei": {
                                                        "description": "Hardware IMEI printed on the tracker. **Not** the Device ID.",
                                                        "type": "string"
                                                    },
                                                    "model_nr": {
                                                        "type": "integer"
                                                    },
                                                    "devicepos": {
                                                        "type": "integer"
                                                    },
                                                    "deviceshow": {
                                                        "type": "integer"
                                                    },
                                                    "intern": {
                                                        "type": "integer"
                                                    },
                                                    "protokoll": {
                                                        "type": "string"
                                                    },
                                                    "devicezeit": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "modellid": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "telefonnummer": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "kategorie": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "speicherdauer": {
                                                        "type": "integer"
                                                    },
                                                    "intervalllaenge": {
                                                        "type": "integer"
                                                    },
                                                    "status": {
                                                        "type": "integer"
                                                    },
                                                    "package": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "createdate": {
                                                        "type": "integer"
                                                    },
                                                    "updatedate": {
                                                        "type": "integer"
                                                    },
                                                    "spuraktiv": {
                                                        "type": "integer"
                                                    },
                                                    "alarmintervall": {
                                                        "type": "integer"
                                                    },
                                                    "spurmodus": {
                                                        "type": "integer"
                                                    },
                                                    "spurfarbe": {
                                                        "type": "string"
                                                    },
                                                    "spurpunkte": {
                                                        "type": "integer"
                                                    },
                                                    "spurminuten": {
                                                        "type": "integer"
                                                    },
                                                    "spurdatum": {
                                                        "type": "integer"
                                                    },
                                                    "spurdatumbis": {
                                                        "type": "integer"
                                                    },
                                                    "spursymbolbewegung": {
                                                        "type": "integer"
                                                    },
                                                    "spursymbolpause": {
                                                        "type": "integer"
                                                    },
                                                    "alarmeinstellungenglobal": {
                                                        "type": "integer"
                                                    },
                                                    "alarmbewegung": {
                                                        "type": "integer"
                                                    },
                                                    "alarmbewegungintervall": {
                                                        "type": "integer"
                                                    },
                                                    "alarmgeschwindigkeit": {
                                                        "type": "integer"
                                                    },
                                                    "alarmgeschwindigkeitab": {
                                                        "type": "integer"
                                                    },
                                                    "alarmgeschwindigkeitintervall": {
                                                        "type": "integer"
                                                    },
                                                    "alarmgeozaunbefahren": {
                                                        "type": "integer"
                                                    },
                                                    "alarmgeozaunbefahrenintervall": {
                                                        "type": "integer"
                                                    },
                                                    "alarmgeozaunverlassen": {
                                                        "type": "integer"
                                                    },
                                                    "alarmgeozaunverlassenintervall": {
                                                        "type": "integer"
                                                    },
                                                    "alarmakkuwarnung": {
                                                        "type": "integer"
                                                    },
                                                    "alarmakkuwarnungab": {
                                                        "type": "integer"
                                                    },
                                                    "alarmakkuwarnungintervall": {
                                                        "type": "integer"
                                                    },
                                                    "alarmzuendalarm": {
                                                        "type": "integer"
                                                    },
                                                    "alarm_turn_off": {
                                                        "type": "integer"
                                                    },
                                                    "alarm_volt": {
                                                        "type": "integer"
                                                    },
                                                    "alarm_volt_value": {
                                                        "type": "string"
                                                    },
                                                    "guard_id": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "alarmstromunterbrechung": {
                                                        "type": "integer"
                                                    },
                                                    "tagesemail": {
                                                        "type": "integer"
                                                    },
                                                    "alarmbewegunglastmail": {
                                                        "type": "integer"
                                                    },
                                                    "alarmgeschwindigkeitlastmail": {
                                                        "type": "integer"
                                                    },
                                                    "alarmgeozaunbefahrenlastmail": {
                                                        "type": "integer"
                                                    },
                                                    "alarmgeozaunverlassenlastmail": {
                                                        "type": "integer"
                                                    },
                                                    "alarmakkuwarnunglastmail": {
                                                        "type": "integer"
                                                    },
                                                    "alarmakkucounter": {
                                                        "type": "integer"
                                                    },
                                                    "alarmstromunterbrechunglastmail": {
                                                        "type": "integer"
                                                    },
                                                    "alarmzuendalarmlastmail": {
                                                        "type": "integer"
                                                    },
                                                    "alarmzuendalarmlastmailon": {
                                                        "type": "integer"
                                                    },
                                                    "alarmzuendalarmlastmailoff": {
                                                        "type": "integer"
                                                    },
                                                    "iconname": {
                                                        "type": "string"
                                                    },
                                                    "iconusecustom": {
                                                        "type": "integer"
                                                    },
                                                    "iconcustomimage": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "radius_meter": {
                                                        "type": "integer"
                                                    },
                                                    "radius_lat": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "nullable": true
                                                    },
                                                    "radius_lng": {
                                                        "type": "number",
                                                        "format": "float",
                                                        "nullable": true
                                                    },
                                                    "radius_laststatus": {
                                                        "type": "integer"
                                                    },
                                                    "geschwindigkeit_laststatus": {
                                                        "type": "integer"
                                                    },
                                                    "zuend_laststatus": {
                                                        "type": "integer"
                                                    },
                                                    "acc_lastdateunix": {
                                                        "type": "integer"
                                                    },
                                                    "alarmsos": {
                                                        "type": "integer"
                                                    },
                                                    "alarmsoslastmail": {
                                                        "type": "integer"
                                                    },
                                                    "last_dateunix": {
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "last_datum": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "last_uhrzeit": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "last_lat_symbol": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "last_lng_symbol": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "last_speed": {
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "last_battery": {
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "show_kmanzeige": {
                                                        "type": "integer"
                                                    },
                                                    "show_gruppenanzeigeanzeige": {
                                                        "type": "integer"
                                                    },
                                                    "last_serviceport": {
                                                        "type": "integer"
                                                    },
                                                    "stats_speed_active": {
                                                        "type": "integer"
                                                    },
                                                    "timezone": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "create_dateunix": {
                                                        "type": "integer"
                                                    },
                                                    "create_dateunix_str": {
                                                        "type": "string"
                                                    },
                                                    "auto_upd_date": {
                                                        "type": "string"
                                                    },
                                                    "ac_status": {
                                                        "type": "integer"
                                                    },
                                                    "average_consum": {
                                                        "type": "string"
                                                    },
                                                    "selected_date_range": {
                                                        "type": "string"
                                                    },
                                                    "car_id": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "private_mode": {
                                                        "type": "integer"
                                                    },
                                                    "carDevice_id": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "alarm_geofence": {
                                                        "type": "integer"
                                                    },
                                                    "setup_done": {
                                                        "type": "boolean"
                                                    },
                                                    "privacy_mode": {
                                                        "type": "integer"
                                                    },
                                                    "share_link": {
                                                        "type": "boolean"
                                                    },
                                                    "loadroute": {
                                                        "type": "integer"
                                                    },
                                                    "note": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "note_color": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "threedModel_name": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "threedModel_color": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "deleted_at": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "category_id": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "alarm_enabled": {
                                                        "type": "integer"
                                                    },
                                                    "live_tracking_start_time": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "live_tracking_duration": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "logbook_access": {
                                                        "type": "integer"
                                                    },
                                                    "route_profile": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    },
                                                    "route_accuracy": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "activity_daily_goal": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "extended_alarm_sos": {
                                                        "type": "integer"
                                                    },
                                                    "alarm_fall_enabled": {
                                                        "type": "integer"
                                                    },
                                                    "is_exchanged": {
                                                        "type": "integer"
                                                    },
                                                    "shutdown_protection_status": {
                                                        "type": "boolean"
                                                    },
                                                    "subAccounts": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "object"
                                                        }
                                                    },
                                                    "customImgUrl": {
                                                        "type": "string"
                                                    },
                                                    "device_models": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "object"
                                                        }
                                                    },
                                                    "appmode": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "device_restriction": {
                                                        "type": "string",
                                                        "nullable": true
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_records": {
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 1000001,
                                            "name": "PAJ Easy Finder",
                                            "imei": "1234567890",
                                            "model_nr": 9081,
                                            "devicepos": 0,
                                            "deviceshow": 1,
                                            "intern": 0,
                                            "protokoll": "auto",
                                            "devicezeit": null,
                                            "modellid": null,
                                            "telefonnummer": null,
                                            "kategorie": null,
                                            "speicherdauer": 365,
                                            "intervalllaenge": 30,
                                            "status": 1,
                                            "package": null,
                                            "createdate": 1717587600,
                                            "updatedate": 1717587823,
                                            "spuraktiv": 1,
                                            "alarmintervall": 10800,
                                            "spurmodus": 0,
                                            "spurfarbe": "#DB0EFE",
                                            "spurpunkte": 180,
                                            "spurminuten": 240,
                                            "spurdatum": 1721167200,
                                            "spurdatumbis": 1721253599,
                                            "spursymbolbewegung": 1,
                                            "spursymbolpause": 1,
                                            "alarmeinstellungenglobal": 0,
                                            "alarmbewegung": 1,
                                            "alarmbewegungintervall": 10800,
                                            "alarmgeschwindigkeit": 1,
                                            "alarmgeschwindigkeitab": 10,
                                            "alarmgeschwindigkeitintervall": 10800,
                                            "alarmgeozaunbefahren": 0,
                                            "alarmgeozaunbefahrenintervall": 10800,
                                            "alarmgeozaunverlassen": 0,
                                            "alarmgeozaunverlassenintervall": 10800,
                                            "alarmakkuwarnung": 1,
                                            "alarmakkuwarnungab": 1,
                                            "alarmakkuwarnungintervall": 10800,
                                            "alarmzuendalarm": 0,
                                            "alarm_turn_off": 1,
                                            "alarm_volt": 0,
                                            "alarm_volt_value": "0.00",
                                            "guard_id": null,
                                            "alarmstromunterbrechung": 0,
                                            "tagesemail": 0,
                                            "alarmbewegunglastmail": 0,
                                            "alarmgeschwindigkeitlastmail": 0,
                                            "alarmgeozaunbefahrenlastmail": 0,
                                            "alarmgeozaunverlassenlastmail": 0,
                                            "alarmakkuwarnunglastmail": 0,
                                            "alarmakkucounter": 0,
                                            "alarmstromunterbrechunglastmail": 0,
                                            "alarmzuendalarmlastmail": 0,
                                            "alarmzuendalarmlastmailon": 0,
                                            "alarmzuendalarmlastmailoff": 0,
                                            "iconname": "paj_iconset_backpack",
                                            "iconusecustom": 0,
                                            "iconcustomimage": null,
                                            "radius_meter": 0,
                                            "radius_lat": null,
                                            "radius_lng": null,
                                            "radius_laststatus": 1,
                                            "geschwindigkeit_laststatus": 0,
                                            "zuend_laststatus": 0,
                                            "acc_lastdateunix": 0,
                                            "alarmsos": 1,
                                            "alarmsoslastmail": 0,
                                            "last_dateunix": null,
                                            "last_datum": null,
                                            "last_uhrzeit": null,
                                            "last_lat_symbol": null,
                                            "last_lng_symbol": null,
                                            "last_speed": null,
                                            "last_battery": null,
                                            "show_kmanzeige": 0,
                                            "show_gruppenanzeigeanzeige": 0,
                                            "last_serviceport": 0,
                                            "stats_speed_active": 1,
                                            "timezone": "Europe/Berlin",
                                            "create_dateunix": 1717587600,
                                            "create_dateunix_str": "05.06.2024 11:40:00",
                                            "auto_upd_date": "2025-09-09 10:00:02",
                                            "ac_status": 0,
                                            "average_consum": "8.300",
                                            "selected_date_range": "TODAY",
                                            "car_id": null,
                                            "private_mode": 0,
                                            "carDevice_id": null,
                                            "alarm_geofence": 1,
                                            "setup_done": true,
                                            "privacy_mode": 0,
                                            "share_link": false,
                                            "loadroute": 0,
                                            "note": null,
                                            "note_color": null,
                                            "threedModel_name": null,
                                            "threedModel_color": null,
                                            "deleted_at": null,
                                            "category_id": null,
                                            "alarm_enabled": 1,
                                            "live_tracking_start_time": null,
                                            "live_tracking_duration": null,
                                            "logbook_access": 0,
                                            "route_profile": "car",
                                            "route_accuracy": null,
                                            "activity_daily_goal": null,
                                            "extended_alarm_sos": 0,
                                            "alarm_fall_enabled": 0,
                                            "is_exchanged": 0,
                                            "shutdown_protection_status": false,
                                            "subAccounts": "{}",
                                            "customImgUrl": "assets/device_markers/paj_iconset_backpack.svg",
                                            "device_models": "{}",
                                            "appmode": null,
                                            "device_restriction": null
                                        },
                                        "number_of_records": 2
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/device/{DeviceID}": {
            "get": {
                "tags": [
                    "Device"
                ],
                "summary": "Get Device Data by ID",
                "description": "API to get device data by id. If user dont have persmission of the ID then error will be shown. Click on the 'Try it out' button to execute the call and enter the required parameters",
                "operationId": "GetDataByDeviceID",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "name": {
                                                    "type": "string"
                                                },
                                                "imei": {
                                                    "description": "Hardware IMEI of the tracker. **Not** the Device ID.",
                                                    "type": "string"
                                                },
                                                "model_nr": {
                                                    "type": "integer"
                                                },
                                                "devicepos": {
                                                    "type": "integer"
                                                },
                                                "deviceshow": {
                                                    "type": "integer"
                                                },
                                                "intern": {
                                                    "type": "integer"
                                                },
                                                "protokoll": {
                                                    "type": "string"
                                                },
                                                "devicezeit": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "modellid": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "telefonnummer": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "kategorie": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "speicherdauer": {
                                                    "type": "integer"
                                                },
                                                "intervalllaenge": {
                                                    "type": "integer"
                                                },
                                                "status": {
                                                    "type": "integer"
                                                },
                                                "package": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "createdate": {
                                                    "type": "integer"
                                                },
                                                "updatedate": {
                                                    "type": "integer"
                                                },
                                                "spuraktiv": {
                                                    "type": "integer"
                                                },
                                                "alarmintervall": {
                                                    "type": "integer"
                                                },
                                                "spurmodus": {
                                                    "type": "integer"
                                                },
                                                "spurfarbe": {
                                                    "type": "string"
                                                },
                                                "spurpunkte": {
                                                    "type": "integer"
                                                },
                                                "spurminuten": {
                                                    "type": "integer"
                                                },
                                                "spurdatum": {
                                                    "type": "integer"
                                                },
                                                "spurdatumbis": {
                                                    "type": "integer"
                                                },
                                                "spursymbolbewegung": {
                                                    "type": "integer"
                                                },
                                                "spursymbolpause": {
                                                    "type": "integer"
                                                },
                                                "alarmeinstellungenglobal": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegung": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegungintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeit": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitab": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahren": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahrenintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassen": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassenintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnung": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnungab": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnungintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmzuendalarm": {
                                                    "type": "integer"
                                                },
                                                "alarm_turn_off": {
                                                    "type": "integer"
                                                },
                                                "alarm_volt": {
                                                    "type": "integer"
                                                },
                                                "alarm_volt_value": {
                                                    "type": "string"
                                                },
                                                "guard_id": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "alarmstromunterbrechung": {
                                                    "type": "integer"
                                                },
                                                "tagesemail": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegunglastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitlastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahrenlastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassenlastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnunglastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmakkucounter": {
                                                    "type": "integer"
                                                },
                                                "alarmstromunterbrechunglastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmzuendalarmlastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmzuendalarmlastmailon": {
                                                    "type": "integer"
                                                },
                                                "alarmzuendalarmlastmailoff": {
                                                    "type": "integer"
                                                },
                                                "iconname": {
                                                    "type": "string"
                                                },
                                                "iconusecustom": {
                                                    "type": "integer"
                                                },
                                                "iconcustomimage": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "radius_meter": {
                                                    "type": "integer"
                                                },
                                                "radius_lat": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "nullable": true
                                                },
                                                "radius_lng": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "nullable": true
                                                },
                                                "radius_laststatus": {
                                                    "type": "integer"
                                                },
                                                "geschwindigkeit_laststatus": {
                                                    "type": "integer"
                                                },
                                                "zuend_laststatus": {
                                                    "type": "integer"
                                                },
                                                "acc_lastdateunix": {
                                                    "type": "integer"
                                                },
                                                "alarmsos": {
                                                    "type": "integer"
                                                },
                                                "alarmsoslastmail": {
                                                    "type": "integer"
                                                },
                                                "last_dateunix": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_datum": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "last_uhrzeit": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "last_lat_symbol": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "last_lng_symbol": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "last_speed": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_battery": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "show_kmanzeige": {
                                                    "type": "integer"
                                                },
                                                "show_gruppenanzeigeanzeige": {
                                                    "type": "integer"
                                                },
                                                "last_serviceport": {
                                                    "type": "integer"
                                                },
                                                "stats_speed_active": {
                                                    "type": "integer"
                                                },
                                                "timezone": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "create_dateunix": {
                                                    "type": "integer"
                                                },
                                                "create_dateunix_str": {
                                                    "type": "string"
                                                },
                                                "auto_upd_date": {
                                                    "type": "string"
                                                },
                                                "ac_status": {
                                                    "type": "integer"
                                                },
                                                "average_consum": {
                                                    "type": "string"
                                                },
                                                "selected_date_range": {
                                                    "type": "string"
                                                },
                                                "car_id": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "private_mode": {
                                                    "type": "integer"
                                                },
                                                "carDevice_id": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "alarm_geofence": {
                                                    "type": "integer"
                                                },
                                                "setup_done": {
                                                    "type": "boolean"
                                                },
                                                "privacy_mode": {
                                                    "type": "integer"
                                                },
                                                "share_link": {
                                                    "type": "boolean"
                                                },
                                                "loadroute": {
                                                    "type": "integer"
                                                },
                                                "note": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "note_color": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "threedModel_name": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "threedModel_color": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "category_id": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "alarm_enabled": {
                                                    "type": "integer"
                                                },
                                                "live_tracking_start_time": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "live_tracking_duration": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "logbook_access": {
                                                    "type": "integer"
                                                },
                                                "route_profile": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "route_accuracy": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "activity_daily_goal": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "extended_alarm_sos": {
                                                    "type": "integer"
                                                },
                                                "alarm_fall_enabled": {
                                                    "type": "integer"
                                                },
                                                "is_exchanged": {
                                                    "type": "integer"
                                                },
                                                "shutdown_protection_status": {
                                                    "type": "boolean"
                                                },
                                                "subAccounts": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object"
                                                    }
                                                },
                                                "customImgUrl": {
                                                    "type": "string"
                                                },
                                                "device_models": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object"
                                                    }
                                                },
                                                "appmode": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "device_restriction": {
                                                    "type": "string",
                                                    "nullable": true
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 1000001,
                                            "name": "PAJ Easy Finder",
                                            "imei": "1234567890",
                                            "model_nr": 9081,
                                            "devicepos": 0,
                                            "deviceshow": 1,
                                            "intern": 0,
                                            "protokoll": "auto",
                                            "devicezeit": null,
                                            "modellid": null,
                                            "telefonnummer": null,
                                            "kategorie": null,
                                            "speicherdauer": 365,
                                            "intervalllaenge": 30,
                                            "status": 1,
                                            "package": null,
                                            "createdate": 1717587600,
                                            "updatedate": 1717587823,
                                            "spuraktiv": 1,
                                            "alarmintervall": 10800,
                                            "spurmodus": 0,
                                            "spurfarbe": "#DB0EFE",
                                            "spurpunkte": 180,
                                            "spurminuten": 240,
                                            "spurdatum": 1721167200,
                                            "spurdatumbis": 1721253599,
                                            "spursymbolbewegung": 1,
                                            "spursymbolpause": 1,
                                            "alarmeinstellungenglobal": 0,
                                            "alarmbewegung": 1,
                                            "alarmbewegungintervall": 10800,
                                            "alarmgeschwindigkeit": 1,
                                            "alarmgeschwindigkeitab": 10,
                                            "alarmgeschwindigkeitintervall": 10800,
                                            "alarmgeozaunbefahren": 0,
                                            "alarmgeozaunbefahrenintervall": 10800,
                                            "alarmgeozaunverlassen": 0,
                                            "alarmgeozaunverlassenintervall": 10800,
                                            "alarmakkuwarnung": 1,
                                            "alarmakkuwarnungab": 1,
                                            "alarmakkuwarnungintervall": 10800,
                                            "alarmzuendalarm": 0,
                                            "alarm_turn_off": 1,
                                            "alarm_volt": 0,
                                            "alarm_volt_value": "0.00",
                                            "guard_id": null,
                                            "alarmstromunterbrechung": 0,
                                            "tagesemail": 0,
                                            "alarmbewegunglastmail": 0,
                                            "alarmgeschwindigkeitlastmail": 0,
                                            "alarmgeozaunbefahrenlastmail": 0,
                                            "alarmgeozaunverlassenlastmail": 0,
                                            "alarmakkuwarnunglastmail": 0,
                                            "alarmakkucounter": 0,
                                            "alarmstromunterbrechunglastmail": 0,
                                            "alarmzuendalarmlastmail": 0,
                                            "alarmzuendalarmlastmailon": 0,
                                            "alarmzuendalarmlastmailoff": 0,
                                            "iconname": "paj_iconset_backpack",
                                            "iconusecustom": 0,
                                            "iconcustomimage": null,
                                            "radius_meter": 0,
                                            "radius_lat": null,
                                            "radius_lng": null,
                                            "radius_laststatus": 1,
                                            "geschwindigkeit_laststatus": 0,
                                            "zuend_laststatus": 0,
                                            "acc_lastdateunix": 0,
                                            "alarmsos": 1,
                                            "alarmsoslastmail": 0,
                                            "last_dateunix": null,
                                            "last_datum": null,
                                            "last_uhrzeit": null,
                                            "last_lat_symbol": null,
                                            "last_lng_symbol": null,
                                            "last_speed": null,
                                            "last_battery": null,
                                            "show_kmanzeige": 0,
                                            "show_gruppenanzeigeanzeige": 0,
                                            "last_serviceport": 0,
                                            "stats_speed_active": 1,
                                            "timezone": "Europe/Berlin",
                                            "create_dateunix": 1717587600,
                                            "create_dateunix_str": "05.06.2024 11:40:00",
                                            "auto_upd_date": "2025-09-09 10:00:02",
                                            "ac_status": 0,
                                            "average_consum": "8.300",
                                            "selected_date_range": "TODAY",
                                            "car_id": null,
                                            "private_mode": 0,
                                            "carDevice_id": null,
                                            "alarm_geofence": 1,
                                            "setup_done": true,
                                            "privacy_mode": 0,
                                            "share_link": false,
                                            "loadroute": 0,
                                            "note": null,
                                            "note_color": null,
                                            "threedModel_name": null,
                                            "threedModel_color": null,
                                            "deleted_at": null,
                                            "category_id": null,
                                            "alarm_enabled": 1,
                                            "live_tracking_start_time": null,
                                            "live_tracking_duration": null,
                                            "logbook_access": 0,
                                            "route_profile": "car",
                                            "route_accuracy": null,
                                            "activity_daily_goal": null,
                                            "extended_alarm_sos": 0,
                                            "alarm_fall_enabled": 0,
                                            "is_exchanged": 0,
                                            "shutdown_protection_status": false,
                                            "subAccounts": "{}",
                                            "customImgUrl": "assets/device_markers/paj_iconset_backpack.svg",
                                            "device_models": "{}",
                                            "appmode": null,
                                            "device_restriction": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "put": {
                "tags": [
                    "Device"
                ],
                "summary": "Update Device by ID",
                "description": "API to update device by id. If user do not have permission then error will be shown. Click on the 'Try it out' button to execute the call. Click Schema for parameters type",
                "operationId": "UpdateDeviceByID",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "name": {
                                        "description": "The name of the device",
                                        "type": "string"
                                    },
                                    "imei": {
                                        "description": "The imei of the device",
                                        "type": "string"
                                    },
                                    "model_nr": {
                                        "description": "The model number of the device",
                                        "type": "integer"
                                    },
                                    "telefonnummer": {
                                        "description": "The telephone number of the device",
                                        "type": "string"
                                    },
                                    "kategorie": {
                                        "description": "The category to which the device belongs",
                                        "type": "string"
                                    },
                                    "devicepos": {
                                        "description": "Device position",
                                        "type": "integer"
                                    },
                                    "deviceshow": {
                                        "description": "Whether to show device",
                                        "type": "integer"
                                    },
                                    "speicherdauer": {
                                        "description": "Storage duration in days",
                                        "type": "integer"
                                    },
                                    "intervalllaenge": {
                                        "description": "Interval length in seconds",
                                        "type": "integer"
                                    },
                                    "spuraktiv": {
                                        "description": "Whether track is active",
                                        "type": "integer"
                                    },
                                    "alarmintervall": {
                                        "description": "Alarm interval in seconds",
                                        "type": "integer"
                                    },
                                    "spurmodus": {
                                        "description": "Track mode",
                                        "type": "integer"
                                    },
                                    "spurfarbe": {
                                        "description": "Track color in hex format",
                                        "type": "string"
                                    },
                                    "spurpunkte": {
                                        "description": "Number of track points",
                                        "type": "integer"
                                    },
                                    "spurminuten": {
                                        "description": "Track minutes",
                                        "type": "integer"
                                    },
                                    "spurdatum": {
                                        "description": "Track start date as unix timestamp",
                                        "type": "integer"
                                    },
                                    "spurdatumbis": {
                                        "description": "Track end date as unix timestamp",
                                        "type": "integer"
                                    },
                                    "spursymbolbewegung": {
                                        "description": "Show movement symbols on track",
                                        "type": "integer"
                                    },
                                    "spursymbolpause": {
                                        "description": "Show pause symbols on track",
                                        "type": "integer"
                                    },
                                    "alarmeinstellungenglobal": {
                                        "description": "Global alarm settings enabled",
                                        "type": "integer"
                                    },
                                    "alarmbewegung": {
                                        "description": "Movement alarm enabled",
                                        "type": "integer"
                                    },
                                    "alarmbewegungintervall": {
                                        "description": "Movement alarm interval",
                                        "type": "integer"
                                    },
                                    "alarmgeschwindigkeit": {
                                        "description": "Speed alarm enabled",
                                        "type": "integer"
                                    },
                                    "alarmgeschwindigkeitab": {
                                        "description": "Speed alarm threshold in km/h",
                                        "type": "integer"
                                    },
                                    "alarmgeschwindigkeitintervall": {
                                        "description": "Speed alarm interval",
                                        "type": "integer"
                                    },
                                    "alarmgeozaunbefahren": {
                                        "description": "Geofence entry alarm enabled",
                                        "type": "integer"
                                    },
                                    "alarmgeozaunbefahrenintervall": {
                                        "description": "Geofence entry alarm interval",
                                        "type": "integer"
                                    },
                                    "alarmgeozaunverlassen": {
                                        "description": "Geofence exit alarm enabled",
                                        "type": "integer"
                                    },
                                    "alarmgeozaunverlassenintervall": {
                                        "description": "Geofence exit alarm interval",
                                        "type": "integer"
                                    },
                                    "alarmakkuwarnung": {
                                        "description": "Battery alarm enabled",
                                        "type": "integer"
                                    },
                                    "alarmakkuwarnungab": {
                                        "description": "Battery alarm threshold in percent",
                                        "type": "integer"
                                    },
                                    "alarmakkuwarnungintervall": {
                                        "description": "Battery alarm interval",
                                        "type": "integer"
                                    },
                                    "alarmzuendalarm": {
                                        "description": "Ignition alarm enabled",
                                        "type": "integer"
                                    },
                                    "alarm_turn_off": {
                                        "description": "Device turn off alarm enabled",
                                        "type": "integer"
                                    },
                                    "alarm_volt": {
                                        "description": "Voltage alarm enabled",
                                        "type": "integer"
                                    },
                                    "alarm_volt_value": {
                                        "description": "Voltage alarm threshold value",
                                        "type": "string"
                                    },
                                    "guard_id": {
                                        "description": "Guard ID",
                                        "type": "string"
                                    },
                                    "alarmstromunterbrechung": {
                                        "description": "Power interruption alarm enabled",
                                        "type": "integer"
                                    },
                                    "tagesemail": {
                                        "description": "Daily email alarm enabled",
                                        "type": "integer"
                                    },
                                    "alarmbewegunglastmail": {
                                        "description": "Last movement alarm email timestamp",
                                        "type": "integer"
                                    },
                                    "alarmgeschwindigkeitlastmail": {
                                        "description": "Last speed alarm email timestamp",
                                        "type": "integer"
                                    },
                                    "alarmgeozaunbefahrenlastmail": {
                                        "description": "Last geofence entry alarm email timestamp",
                                        "type": "integer"
                                    },
                                    "alarmgeozaunverlassenlastmail": {
                                        "description": "Last geofence exit alarm email timestamp",
                                        "type": "integer"
                                    },
                                    "alarmakkuwarnunglastmail": {
                                        "description": "Last battery alarm email timestamp",
                                        "type": "integer"
                                    },
                                    "alarmakkucounter": {
                                        "description": "Battery alarm counter",
                                        "type": "integer"
                                    },
                                    "alarmstromunterbrechunglastmail": {
                                        "description": "Last power interruption alarm email timestamp",
                                        "type": "integer"
                                    },
                                    "alarmzuendalarmlastmail": {
                                        "description": "Last ignition alarm email timestamp",
                                        "type": "integer"
                                    },
                                    "alarmzuendalarmlastmailon": {
                                        "description": "Last ignition on alarm email timestamp",
                                        "type": "integer"
                                    },
                                    "alarmzuendalarmlastmailoff": {
                                        "description": "Last ignition off alarm email timestamp",
                                        "type": "integer"
                                    },
                                    "alarmsos": {
                                        "description": "SOS alarm enabled",
                                        "type": "integer"
                                    },
                                    "iconname": {
                                        "description": "Icon name for the device",
                                        "type": "string"
                                    },
                                    "iconusecustom": {
                                        "description": "Use custom icon",
                                        "type": "integer"
                                    },
                                    "iconcustomimage": {
                                        "description": "Custom icon image filename",
                                        "type": "string"
                                    },
                                    "radius_meter": {
                                        "description": "Radius in meters",
                                        "type": "integer"
                                    },
                                    "radius_lat": {
                                        "description": "Radius latitude coordinate",
                                        "type": "number",
                                        "format": "float"
                                    },
                                    "radius_lng": {
                                        "description": "Radius longitude coordinate",
                                        "type": "number",
                                        "format": "float"
                                    },
                                    "radius_laststatus": {
                                        "description": "Radius last status",
                                        "type": "integer"
                                    },
                                    "geschwindigkeit_laststatus": {
                                        "description": "Speed last status",
                                        "type": "integer"
                                    },
                                    "zuend_laststatus": {
                                        "description": "Ignition last status",
                                        "type": "integer"
                                    },
                                    "acc_lastdateunix": {
                                        "description": "ACC last date unix timestamp",
                                        "type": "integer"
                                    },
                                    "alarmsoslastmail": {
                                        "description": "Last SOS alarm email timestamp",
                                        "type": "integer"
                                    },
                                    "last_dateunix": {
                                        "description": "Last location update unix timestamp",
                                        "type": "integer"
                                    },
                                    "last_datum": {
                                        "description": "Last location update date",
                                        "type": "string"
                                    },
                                    "last_uhrzeit": {
                                        "description": "Last location update time",
                                        "type": "string"
                                    },
                                    "last_lat_symbol": {
                                        "description": "Last latitude symbol",
                                        "type": "string"
                                    },
                                    "last_lng_symbol": {
                                        "description": "Last longitude symbol",
                                        "type": "string"
                                    },
                                    "last_speed": {
                                        "description": "Last recorded speed",
                                        "type": "integer"
                                    },
                                    "last_battery": {
                                        "description": "Last recorded battery level",
                                        "type": "integer"
                                    },
                                    "show_kmanzeige": {
                                        "description": "Show km display",
                                        "type": "integer"
                                    },
                                    "show_gruppenanzeigeanzeige": {
                                        "description": "Show group display",
                                        "type": "integer"
                                    },
                                    "last_serviceport": {
                                        "description": "Last service port",
                                        "type": "integer"
                                    },
                                    "stats_speed_active": {
                                        "description": "Speed statistics active",
                                        "type": "integer"
                                    },
                                    "timezone": {
                                        "description": "Device timezone",
                                        "type": "string"
                                    },
                                    "create_dateunix": {
                                        "description": "Creation date unix timestamp",
                                        "type": "integer"
                                    },
                                    "create_dateunix_str": {
                                        "description": "Creation date string",
                                        "type": "string"
                                    },
                                    "auto_upd_date": {
                                        "description": "Auto update date",
                                        "type": "string"
                                    },
                                    "ac_status": {
                                        "description": "AC status",
                                        "type": "integer"
                                    },
                                    "average_consum": {
                                        "description": "Average consumption",
                                        "type": "string"
                                    },
                                    "selected_date_range": {
                                        "description": "Selected date range",
                                        "type": "string"
                                    },
                                    "car_id": {
                                        "description": "Car ID",
                                        "type": "string"
                                    },
                                    "carDevice_id": {
                                        "description": "Car device ID",
                                        "type": "string"
                                    },
                                    "alarm_geofence": {
                                        "description": "Geofence alarm enabled",
                                        "type": "integer"
                                    },
                                    "setup_done": {
                                        "description": "Setup completed",
                                        "type": "boolean"
                                    },
                                    "privacy_mode": {
                                        "description": "Privacy mode enabled",
                                        "type": "integer"
                                    },
                                    "share_link": {
                                        "description": "Share link enabled",
                                        "type": "boolean"
                                    },
                                    "loadroute": {
                                        "description": "Load route enabled",
                                        "type": "integer"
                                    },
                                    "note": {
                                        "description": "Device note",
                                        "type": "string"
                                    },
                                    "note_color": {
                                        "description": "Note color in hex format",
                                        "type": "string"
                                    },
                                    "threedModel_name": {
                                        "description": "3D model name",
                                        "type": "string"
                                    },
                                    "threedModel_color": {
                                        "description": "3D model color",
                                        "type": "string"
                                    },
                                    "deleted_at": {
                                        "description": "Deletion timestamp",
                                        "type": "string"
                                    },
                                    "category_id": {
                                        "description": "Category ID",
                                        "type": "string"
                                    },
                                    "alarm_enabled": {
                                        "description": "Alarms enabled",
                                        "type": "integer"
                                    },
                                    "live_tracking_start_time": {
                                        "description": "Live tracking start time",
                                        "type": "string"
                                    },
                                    "live_tracking_duration": {
                                        "description": "Live tracking duration",
                                        "type": "string"
                                    },
                                    "logbook_access": {
                                        "description": "Logbook access enabled",
                                        "type": "integer"
                                    },
                                    "route_profile": {
                                        "description": "Route profile",
                                        "type": "string"
                                    },
                                    "route_accuracy": {
                                        "description": "Route accuracy setting",
                                        "type": "string"
                                    },
                                    "activity_daily_goal": {
                                        "description": "Daily activity goal",
                                        "type": "string"
                                    },
                                    "extended_alarm_sos": {
                                        "description": "Extended SOS alarm",
                                        "type": "integer"
                                    },
                                    "alarm_fall_enabled": {
                                        "description": "Fall alarm enabled",
                                        "type": "integer"
                                    },
                                    "is_exchanged": {
                                        "description": "Device is exchanged",
                                        "type": "integer"
                                    },
                                    "shutdown_protection_status": {
                                        "description": "Shutdown protection enabled",
                                        "type": "boolean"
                                    },
                                    "subAccounts": {
                                        "description": "Sub accounts",
                                        "type": "string"
                                    },
                                    "customImgUrl": {
                                        "description": "Custom image URL",
                                        "type": "string"
                                    },
                                    "device_models": {
                                        "description": "Device models",
                                        "type": "string"
                                    },
                                    "appmode": {
                                        "description": "App mode",
                                        "type": "string"
                                    },
                                    "device_restriction": {
                                        "description": "Device restriction",
                                        "type": "string"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "name": "PAJ Easy Finder",
                                    "imei": "1234567890",
                                    "model_nr": 9081,
                                    "telefonnummer": null,
                                    "kategorie": null,
                                    "devicepos": 0,
                                    "deviceshow": 1,
                                    "speicherdauer": 365,
                                    "intervalllaenge": 30,
                                    "spuraktiv": 1,
                                    "alarmintervall": 10800,
                                    "spurmodus": 0,
                                    "spurfarbe": "#DB0EFE",
                                    "spurpunkte": 180,
                                    "spurminuten": 240,
                                    "spurdatum": 1721167200,
                                    "spurdatumbis": 1721253599,
                                    "spursymbolbewegung": 1,
                                    "spursymbolpause": 1,
                                    "alarmeinstellungenglobal": 0,
                                    "alarmbewegung": 1,
                                    "alarmbewegungintervall": 10800,
                                    "alarmgeschwindigkeit": 1,
                                    "alarmgeschwindigkeitab": 10,
                                    "alarmgeschwindigkeitintervall": 10800,
                                    "alarmgeozaunbefahren": 0,
                                    "alarmgeozaunbefahrenintervall": 10800,
                                    "alarmgeozaunverlassen": 0,
                                    "alarmgeozaunverlassenintervall": 10800,
                                    "alarmakkuwarnung": 1,
                                    "alarmakkuwarnungab": 1,
                                    "alarmakkuwarnungintervall": 10800,
                                    "alarmzuendalarm": 0,
                                    "alarm_turn_off": 1,
                                    "alarm_volt": 0,
                                    "alarm_volt_value": "0.00",
                                    "guard_id": null,
                                    "alarmstromunterbrechung": 0,
                                    "tagesemail": 0,
                                    "alarmbewegunglastmail": 0,
                                    "alarmgeschwindigkeitlastmail": 0,
                                    "alarmgeozaunbefahrenlastmail": 0,
                                    "alarmgeozaunverlassenlastmail": 0,
                                    "alarmakkuwarnunglastmail": 0,
                                    "alarmakkucounter": 0,
                                    "alarmstromunterbrechunglastmail": 0,
                                    "alarmzuendalarmlastmail": 0,
                                    "alarmzuendalarmlastmailon": 0,
                                    "alarmzuendalarmlastmailoff": 0,
                                    "iconname": "paj_iconset_backpack",
                                    "iconusecustom": 0,
                                    "iconcustomimage": null,
                                    "radius_meter": 0,
                                    "radius_lat": null,
                                    "radius_lng": null,
                                    "radius_laststatus": 1,
                                    "geschwindigkeit_laststatus": 0,
                                    "zuend_laststatus": 0,
                                    "acc_lastdateunix": 0,
                                    "alarmsos": 1,
                                    "alarmsoslastmail": 0,
                                    "last_dateunix": null,
                                    "last_datum": null,
                                    "last_uhrzeit": null,
                                    "last_lat_symbol": null,
                                    "last_lng_symbol": null,
                                    "last_speed": null,
                                    "last_battery": null,
                                    "show_kmanzeige": 0,
                                    "show_gruppenanzeigeanzeige": 0,
                                    "last_serviceport": 0,
                                    "stats_speed_active": 1,
                                    "timezone": "Europe/Berlin",
                                    "create_dateunix": 1717587600,
                                    "create_dateunix_str": "05.06.2024 11:40:00",
                                    "auto_upd_date": "2025-09-09 10:00:02",
                                    "ac_status": 0,
                                    "average_consum": "8.300",
                                    "selected_date_range": "TODAY",
                                    "car_id": null,
                                    "private_mode": 0,
                                    "carDevice_id": null,
                                    "alarm_geofence": 1,
                                    "setup_done": true,
                                    "privacy_mode": 0,
                                    "share_link": false,
                                    "loadroute": 0,
                                    "note": null,
                                    "note_color": null,
                                    "threedModel_name": null,
                                    "threedModel_color": null,
                                    "deleted_at": null,
                                    "category_id": null,
                                    "alarm_enabled": 1,
                                    "live_tracking_start_time": null,
                                    "live_tracking_duration": null,
                                    "logbook_access": 0,
                                    "route_profile": "car",
                                    "route_accuracy": null,
                                    "activity_daily_goal": null,
                                    "extended_alarm_sos": 0,
                                    "alarm_fall_enabled": 0,
                                    "is_exchanged": 0,
                                    "shutdown_protection_status": false,
                                    "subAccounts": "{}",
                                    "customImgUrl": "assets/device_markers/paj_iconset_backpack.svg",
                                    "device_models": "{}",
                                    "appmode": null,
                                    "device_restriction": null
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "name": {
                                                    "type": "string"
                                                },
                                                "imei": {
                                                    "description": "Hardware IMEI of the tracker. **Not** the Device ID.",
                                                    "type": "string"
                                                },
                                                "model_nr": {
                                                    "type": "integer"
                                                },
                                                "devicepos": {
                                                    "type": "integer"
                                                },
                                                "deviceshow": {
                                                    "type": "integer"
                                                },
                                                "intern": {
                                                    "type": "integer"
                                                },
                                                "protokoll": {
                                                    "type": "string"
                                                },
                                                "devicezeit": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "modellid": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "telefonnummer": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "kategorie": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "speicherdauer": {
                                                    "type": "integer"
                                                },
                                                "intervalllaenge": {
                                                    "type": "integer"
                                                },
                                                "status": {
                                                    "type": "integer"
                                                },
                                                "package": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "createdate": {
                                                    "type": "integer"
                                                },
                                                "updatedate": {
                                                    "type": "integer"
                                                },
                                                "spuraktiv": {
                                                    "type": "integer"
                                                },
                                                "alarmintervall": {
                                                    "type": "integer"
                                                },
                                                "spurmodus": {
                                                    "type": "integer"
                                                },
                                                "spurfarbe": {
                                                    "type": "string"
                                                },
                                                "spurpunkte": {
                                                    "type": "integer"
                                                },
                                                "spurminuten": {
                                                    "type": "integer"
                                                },
                                                "spurdatum": {
                                                    "type": "integer"
                                                },
                                                "spurdatumbis": {
                                                    "type": "integer"
                                                },
                                                "spursymbolbewegung": {
                                                    "type": "integer"
                                                },
                                                "spursymbolpause": {
                                                    "type": "integer"
                                                },
                                                "alarmeinstellungenglobal": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegung": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegungintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeit": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitab": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahren": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahrenintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassen": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassenintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnung": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnungab": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnungintervall": {
                                                    "type": "integer"
                                                },
                                                "alarmzuendalarm": {
                                                    "type": "integer"
                                                },
                                                "alarm_turn_off": {
                                                    "type": "integer"
                                                },
                                                "alarm_volt": {
                                                    "type": "integer"
                                                },
                                                "alarm_volt_value": {
                                                    "type": "string"
                                                },
                                                "guard_id": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "alarmstromunterbrechung": {
                                                    "type": "integer"
                                                },
                                                "tagesemail": {
                                                    "type": "integer"
                                                },
                                                "alarmbewegunglastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmgeschwindigkeitlastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunbefahrenlastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmgeozaunverlassenlastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmakkuwarnunglastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmakkucounter": {
                                                    "type": "integer"
                                                },
                                                "alarmstromunterbrechunglastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmzuendalarmlastmail": {
                                                    "type": "integer"
                                                },
                                                "alarmzuendalarmlastmailon": {
                                                    "type": "integer"
                                                },
                                                "alarmzuendalarmlastmailoff": {
                                                    "type": "integer"
                                                },
                                                "iconname": {
                                                    "type": "string"
                                                },
                                                "iconusecustom": {
                                                    "type": "integer"
                                                },
                                                "iconcustomimage": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "radius_meter": {
                                                    "type": "integer"
                                                },
                                                "radius_lat": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "nullable": true
                                                },
                                                "radius_lng": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "nullable": true
                                                },
                                                "radius_laststatus": {
                                                    "type": "integer"
                                                },
                                                "geschwindigkeit_laststatus": {
                                                    "type": "integer"
                                                },
                                                "zuend_laststatus": {
                                                    "type": "integer"
                                                },
                                                "acc_lastdateunix": {
                                                    "type": "integer"
                                                },
                                                "alarmsos": {
                                                    "type": "integer"
                                                },
                                                "alarmsoslastmail": {
                                                    "type": "integer"
                                                },
                                                "last_dateunix": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_datum": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "last_uhrzeit": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "last_lat_symbol": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "last_lng_symbol": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "last_speed": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "last_battery": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "show_kmanzeige": {
                                                    "type": "integer"
                                                },
                                                "show_gruppenanzeigeanzeige": {
                                                    "type": "integer"
                                                },
                                                "last_serviceport": {
                                                    "type": "integer"
                                                },
                                                "stats_speed_active": {
                                                    "type": "integer"
                                                },
                                                "timezone": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "create_dateunix": {
                                                    "type": "integer"
                                                },
                                                "create_dateunix_str": {
                                                    "type": "string"
                                                },
                                                "auto_upd_date": {
                                                    "type": "string"
                                                },
                                                "ac_status": {
                                                    "type": "integer"
                                                },
                                                "average_consum": {
                                                    "type": "string"
                                                },
                                                "selected_date_range": {
                                                    "type": "string"
                                                },
                                                "car_id": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "private_mode": {
                                                    "type": "integer"
                                                },
                                                "carDevice_id": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "alarm_geofence": {
                                                    "type": "integer"
                                                },
                                                "setup_done": {
                                                    "type": "boolean"
                                                },
                                                "privacy_mode": {
                                                    "type": "integer"
                                                },
                                                "share_link": {
                                                    "type": "boolean"
                                                },
                                                "loadroute": {
                                                    "type": "integer"
                                                },
                                                "note": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "note_color": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "threedModel_name": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "threedModel_color": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "category_id": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "alarm_enabled": {
                                                    "type": "integer"
                                                },
                                                "live_tracking_start_time": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "live_tracking_duration": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "logbook_access": {
                                                    "type": "integer"
                                                },
                                                "route_profile": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                },
                                                "route_accuracy": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "activity_daily_goal": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "extended_alarm_sos": {
                                                    "type": "integer"
                                                },
                                                "alarm_fall_enabled": {
                                                    "type": "integer"
                                                },
                                                "is_exchanged": {
                                                    "type": "integer"
                                                },
                                                "shutdown_protection_status": {
                                                    "type": "boolean"
                                                },
                                                "subAccounts": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object"
                                                    }
                                                },
                                                "customImgUrl": {
                                                    "type": "string"
                                                },
                                                "device_models": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object"
                                                    }
                                                },
                                                "appmode": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "device_restriction": {
                                                    "type": "string",
                                                    "nullable": true
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 1000001,
                                            "name": "PAJ Easy Finder",
                                            "imei": "1234567890",
                                            "model_nr": 9081,
                                            "devicepos": 0,
                                            "deviceshow": 1,
                                            "intern": 0,
                                            "protokoll": "auto",
                                            "devicezeit": null,
                                            "modellid": null,
                                            "telefonnummer": null,
                                            "kategorie": null,
                                            "speicherdauer": 365,
                                            "intervalllaenge": 30,
                                            "status": 1,
                                            "package": null,
                                            "createdate": 1717587600,
                                            "updatedate": 1717587823,
                                            "spuraktiv": 1,
                                            "alarmintervall": 10800,
                                            "spurmodus": 0,
                                            "spurfarbe": "#DB0EFE",
                                            "spurpunkte": 180,
                                            "spurminuten": 240,
                                            "spurdatum": 1721167200,
                                            "spurdatumbis": 1721253599,
                                            "spursymbolbewegung": 1,
                                            "spursymbolpause": 1,
                                            "alarmeinstellungenglobal": 0,
                                            "alarmbewegung": 1,
                                            "alarmbewegungintervall": 10800,
                                            "alarmgeschwindigkeit": 1,
                                            "alarmgeschwindigkeitab": 10,
                                            "alarmgeschwindigkeitintervall": 10800,
                                            "alarmgeozaunbefahren": 0,
                                            "alarmgeozaunbefahrenintervall": 10800,
                                            "alarmgeozaunverlassen": 0,
                                            "alarmgeozaunverlassenintervall": 10800,
                                            "alarmakkuwarnung": 1,
                                            "alarmakkuwarnungab": 1,
                                            "alarmakkuwarnungintervall": 10800,
                                            "alarmzuendalarm": 0,
                                            "alarm_turn_off": 1,
                                            "alarm_volt": 0,
                                            "alarm_volt_value": "0.00",
                                            "guard_id": null,
                                            "alarmstromunterbrechung": 0,
                                            "tagesemail": 0,
                                            "alarmbewegunglastmail": 0,
                                            "alarmgeschwindigkeitlastmail": 0,
                                            "alarmgeozaunbefahrenlastmail": 0,
                                            "alarmgeozaunverlassenlastmail": 0,
                                            "alarmakkuwarnunglastmail": 0,
                                            "alarmakkucounter": 0,
                                            "alarmstromunterbrechunglastmail": 0,
                                            "alarmzuendalarmlastmail": 0,
                                            "alarmzuendalarmlastmailon": 0,
                                            "alarmzuendalarmlastmailoff": 0,
                                            "iconname": "paj_iconset_backpack",
                                            "iconusecustom": 0,
                                            "iconcustomimage": null,
                                            "radius_meter": 0,
                                            "radius_lat": null,
                                            "radius_lng": null,
                                            "radius_laststatus": 1,
                                            "geschwindigkeit_laststatus": 0,
                                            "zuend_laststatus": 0,
                                            "acc_lastdateunix": 0,
                                            "alarmsos": 1,
                                            "alarmsoslastmail": 0,
                                            "last_dateunix": null,
                                            "last_datum": null,
                                            "last_uhrzeit": null,
                                            "last_lat_symbol": null,
                                            "last_lng_symbol": null,
                                            "last_speed": null,
                                            "last_battery": null,
                                            "show_kmanzeige": 0,
                                            "show_gruppenanzeigeanzeige": 0,
                                            "last_serviceport": 0,
                                            "stats_speed_active": 1,
                                            "timezone": "Europe/Berlin",
                                            "create_dateunix": 1717587600,
                                            "create_dateunix_str": "05.06.2024 11:40:00",
                                            "auto_upd_date": "2025-09-09 10:00:02",
                                            "ac_status": 0,
                                            "average_consum": "8.300",
                                            "selected_date_range": "TODAY",
                                            "car_id": null,
                                            "private_mode": 0,
                                            "carDevice_id": null,
                                            "alarm_geofence": 1,
                                            "setup_done": true,
                                            "privacy_mode": 0,
                                            "share_link": false,
                                            "loadroute": 0,
                                            "note": null,
                                            "note_color": null,
                                            "threedModel_name": null,
                                            "threedModel_color": null,
                                            "deleted_at": null,
                                            "category_id": null,
                                            "alarm_enabled": 1,
                                            "live_tracking_start_time": null,
                                            "live_tracking_duration": null,
                                            "logbook_access": 0,
                                            "route_profile": "car",
                                            "route_accuracy": null,
                                            "activity_daily_goal": null,
                                            "extended_alarm_sos": 0,
                                            "alarm_fall_enabled": 0,
                                            "is_exchanged": 0,
                                            "shutdown_protection_status": false,
                                            "subAccounts": "{}",
                                            "customImgUrl": "assets/device_markers/paj_iconset_backpack.svg",
                                            "device_models": "{}",
                                            "appmode": null,
                                            "device_restriction": null
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exists"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/send-command/{imei}/command/656e3791fd1f2b2a5ceb3dfb": {
            "post": {
                "tags": [
                    "Device Commands"
                ],
                "summary": "Send Command to Unlock (Lock Bicycle Finder 4G Device)",
                "description": "API to send the unlock device lock command to a physical device. NOTE: This command/API is only to unlock the Lock Bicycle Finder 4G Device. The {imei} is the Device ID you see on your physical device. IMPORTANT: The device has to be online in order to receive the command. If the device is offline or in standby, the command cannot be sent and an error will be returned. The user must have permission for the given device. Click on the 'Try it out' button to execute the call.",
                "operationId": "SendCommandToDevice",
                "parameters": [
                    {
                        "name": "imei",
                        "in": "path",
                        "description": "**IMEI** of the tracker (the `imei` field from `GET /api/v1/device`, also printed on the device). **Not the Device ID.**",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "example": "1234567890"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "description": "Response returned from the device command server",
                                            "type": "object",
                                            "nullable": true
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "data": {
                                            "success": true
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Forbidden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device is not online. Commands cannot be sent while the device is offline or in standby."
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/getAllDeviceStatus": {
            "post": {
                "tags": [
                    "Device",
                    "New"
                ],
                "summary": "🆕 NEW: Get the online status of several devices at once",
                "description": "Returns, for each requested device, whether it is **online**, its connection details and its **last known position**, all in one call.\n\nSend the **Device IDs** in `devicesId` (the `id` values from `GET /api/v1/device`, **not the IMEI**).\n\n* The response `success` is an object keyed by Device ID.\n* Device IDs you do not have access to are silently left out of the response.\n* `status.isOnline` is the value the portal uses for the online/offline badge. A device counts as online if it sent a position or a status update in the last 3 minutes, or if its connection status is online.",
                "operationId": "getAllDeviceStatus",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "devicesId"
                                ],
                                "properties": {
                                    "devicesId": {
                                        "description": "Array of **Device IDs** (the `id` from `GET /api/v1/device`, not the IMEI).",
                                        "type": "array",
                                        "items": {
                                            "type": "integer"
                                        }
                                    }
                                },
                                "type": "object"
                            },
                            "example": {
                                "devicesId": [
                                    1000001,
                                    1000002
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success. `success` is an object keyed by Device ID.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "description": "One entry per accessible Device ID (the object key is the Device ID).",
                                            "type": "object",
                                            "additionalProperties": {
                                                "properties": {
                                                    "deviceStatus": {
                                                        "description": "Raw status stored for the device. `null` if the device never reported a status.",
                                                        "properties": {
                                                            "id": {
                                                                "description": "Device ID",
                                                                "type": "integer"
                                                            },
                                                            "connection_status": {
                                                                "description": "`0` = unknown, `1` = online, `2` = offline, `3` = online but weak GPS signal",
                                                                "type": "integer",
                                                                "enum": [
                                                                    0,
                                                                    1,
                                                                    2,
                                                                    3
                                                                ]
                                                            },
                                                            "device_status": {
                                                                "description": "`1` = device is connected to power (charging), `0` = not",
                                                                "type": "integer"
                                                            },
                                                            "connection_status_changed": {
                                                                "description": "When `connection_status` last changed, Unix timestamp in seconds (UTC)",
                                                                "type": "integer",
                                                                "nullable": true
                                                            },
                                                            "device_status_changed": {
                                                                "description": "When `device_status` last changed, Unix timestamp in seconds (UTC)",
                                                                "type": "integer",
                                                                "nullable": true
                                                            },
                                                            "last_update_by_service": {
                                                                "description": "Last status update received from the device, Unix timestamp in seconds (UTC)",
                                                                "type": "integer",
                                                                "nullable": true
                                                            }
                                                        },
                                                        "type": "object",
                                                        "nullable": true
                                                    },
                                                    "lastPoint": {
                                                        "description": "Last known position of the device. `null` if no position is available.",
                                                        "properties": {
                                                            "id": {
                                                                "description": "Position ID",
                                                                "type": "string"
                                                            },
                                                            "lat": {
                                                                "description": "Latitude",
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "lng": {
                                                                "description": "Longitude",
                                                                "type": "number",
                                                                "format": "float"
                                                            },
                                                            "direction": {
                                                                "description": "Heading in degrees (0 = north)",
                                                                "type": "integer"
                                                            },
                                                            "dateunix": {
                                                                "description": "Unix timestamp in seconds (UTC)",
                                                                "type": "integer"
                                                            },
                                                            "battery": {
                                                                "description": "Raw battery value from the tracker. Some models report 0-6, others 0-100%. See battery_level for the normalized value.",
                                                                "type": "integer"
                                                            },
                                                            "battery_level": {
                                                                "description": "Battery level normalized to 0-100%.",
                                                                "type": "integer"
                                                            },
                                                            "speed": {
                                                                "description": "Speed in km/h",
                                                                "type": "integer"
                                                            },
                                                            "iddevice": {
                                                                "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                                "type": "integer"
                                                            },
                                                            "steps": {
                                                                "description": "Step count (only trackers with a step counter, otherwise 0)",
                                                                "type": "integer"
                                                            },
                                                            "heartbeat": {
                                                                "description": "Heart rate (only trackers with a heart-rate sensor, otherwise 0)",
                                                                "type": "integer"
                                                            },
                                                            "accuracy": {
                                                                "description": "Position accuracy reported by the tracker (0 = not reported)",
                                                                "type": "integer"
                                                            },
                                                            "wifi": {
                                                                "type": "string",
                                                                "nullable": true
                                                            },
                                                            "note": {
                                                                "type": "string",
                                                                "nullable": true
                                                            },
                                                            "upt": {
                                                                "type": "string",
                                                                "nullable": true
                                                            }
                                                        },
                                                        "type": "object",
                                                        "nullable": true
                                                    },
                                                    "status": {
                                                        "description": "Computed online status.",
                                                        "properties": {
                                                            "isOnline": {
                                                                "description": "**Use this one.** `true` if any of the three checks below is true.",
                                                                "type": "boolean"
                                                            },
                                                            "lastPointOnline": {
                                                                "description": "The last position is less than 3 minutes old",
                                                                "type": "boolean"
                                                            },
                                                            "deviceLastUpdateByServiceOnline": {
                                                                "description": "The last status update is less than 3 minutes old",
                                                                "type": "boolean"
                                                            },
                                                            "connectionStatusOnline": {
                                                                "description": "`connection_status` is 1 or 3",
                                                                "type": "boolean"
                                                            },
                                                            "lastOnlineStatus": {
                                                                "description": "Last time the device was seen online, Unix timestamp in seconds (UTC). `0` if it is not online right now.",
                                                                "type": "integer"
                                                            },
                                                            "lastOnlineStatusISO": {
                                                                "description": "Same as `lastOnlineStatus` in ISO 8601 format. `null` if it is not online right now.",
                                                                "type": "string",
                                                                "format": "date-time",
                                                                "nullable": true
                                                            },
                                                            "connection_status": {
                                                                "description": "Copy of `deviceStatus.connection_status` (0 if unknown)",
                                                                "type": "integer"
                                                            },
                                                            "device_status": {
                                                                "description": "Copy of `deviceStatus.device_status` (0 if unknown)",
                                                                "type": "integer"
                                                            }
                                                        },
                                                        "type": "object"
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        }
                                    },
                                    "type": "object"
                                },
                                "example": {
                                    "success": {
                                        "1000001": {
                                            "deviceStatus": {
                                                "id": 1000001,
                                                "connection_status": 1,
                                                "device_status": 0,
                                                "connection_status_changed": 1764495000,
                                                "device_status_changed": 1764480000,
                                                "last_update_by_service": 1764496100
                                            },
                                            "lastPoint": {
                                                "id": "412412dsdasasfasdasd",
                                                "lat": 50.941135,
                                                "lng": 6.958916,
                                                "direction": 119,
                                                "dateunix": 1764496080,
                                                "battery": 56,
                                                "battery_level": 56,
                                                "speed": 0,
                                                "iddevice": 1000001,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null
                                            },
                                            "status": {
                                                "isOnline": true,
                                                "lastPointOnline": true,
                                                "deviceLastUpdateByServiceOnline": true,
                                                "connectionStatusOnline": true,
                                                "lastOnlineStatus": 1764496100,
                                                "lastOnlineStatusISO": "2025-11-30T09:48:20+00:00",
                                                "connection_status": 1,
                                                "device_status": 0
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "`devicesId` is missing or not an array, or none of the given devices belong to you. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {},
                                "example": {
                                    "error": "You dont have permission for these devices."
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthenticated: the token is missing, expired or wrong.",
                        "content": {
                            "application/json": {
                                "schema": {},
                                "example": {
                                    "error": "Unauthenticated"
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/logbook/driver": {
            "get": {
                "tags": [
                    "Logbook Driver"
                ],
                "summary": "Get Drivers details",
                "description": "API to get driver data. These driver details are just suggestions for the user while updated the information in Logbook for a particular route. When user enter driver details, it will be stored in the db and then will be shown to the user next time as a suggestion while entering the information. In driver details for now, a user can add the first name and last name of the driver. Driver details are shown only for that user who is making a request. Return empty array if there are no drivers. Click on the 'Try it out' button to execute the call",
                "operationId": "GetDrivers",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "company_id": {
                                                        "type": "integer"
                                                    },
                                                    "first_name": {
                                                        "type": "string"
                                                    },
                                                    "last_name": {
                                                        "type": "string"
                                                    },
                                                    "created_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "updated_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "index": {
                                                        "type": "integer"
                                                    },
                                                    "active": {
                                                        "type": "integer"
                                                    },
                                                    "deleted_at": {
                                                        "type": "string",
                                                        "format": "date-time",
                                                        "nullable": true
                                                    },
                                                    "image_name": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "car_devices_count": {
                                                        "type": "integer"
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_records": {
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": 9639,
                                                "customer_id": 123456,
                                                "company_id": 7,
                                                "first_name": "Fahrer",
                                                "last_name": "Zwei",
                                                "created_at": "2024-05-29T18:27:17.000000Z",
                                                "updated_at": "2026-01-07T15:52:02.000000Z",
                                                "index": 0,
                                                "active": 1,
                                                "deleted_at": null,
                                                "image_name": null,
                                                "car_devices_count": 0
                                            },
                                            {
                                                "id": 9638,
                                                "customer_id": 123456,
                                                "company_id": 7,
                                                "first_name": "Fahrer",
                                                "last_name": "Eins",
                                                "created_at": "2024-05-29T18:27:11.000000Z",
                                                "updated_at": "2026-01-07T15:52:02.000000Z",
                                                "index": 1,
                                                "active": 1,
                                                "deleted_at": null,
                                                "image_name": null,
                                                "car_devices_count": 0
                                            }
                                        ],
                                        "number_of_records": 2
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "post": {
                "tags": [
                    "Logbook Driver"
                ],
                "summary": "Create Driver",
                "description": "API to create a driver. These driver details are just suggestions for the user while updated the information in Logbook for a particular route. When user enter driver details, it will be stored in the db and then will be shown to the user next time as a suggestion while entering the information. In driver details for now, a user can add the first name and last name of the driver. Click on the 'Try it out' button to execute the call. Click Schema for parameters type. Only admin can perform this operation",
                "operationId": "CreateDriver",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "first_name": {
                                        "description": "The first name of the driver",
                                        "type": "string"
                                    },
                                    "last_name": {
                                        "description": "The last name of the driver",
                                        "type": "string"
                                    },
                                    "active": {
                                        "description": "Whether driver is active",
                                        "type": "integer"
                                    },
                                    "image_name": {
                                        "description": "Driver image file name",
                                        "type": "string",
                                        "nullable": true
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "first_name": "Fahrer",
                                    "last_name": "Zwei",
                                    "active": 1,
                                    "image_name": null
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "customer_id": {
                                                    "type": "integer"
                                                },
                                                "company_id": {
                                                    "type": "integer"
                                                },
                                                "first_name": {
                                                    "type": "string"
                                                },
                                                "last_name": {
                                                    "type": "string"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "index": {
                                                    "type": "integer"
                                                },
                                                "active": {
                                                    "type": "integer"
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "image_name": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "car_devices_count": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 9639,
                                            "customer_id": 123456,
                                            "company_id": 7,
                                            "first_name": "Fahrer",
                                            "last_name": "Zwei",
                                            "created_at": "2024-05-29T18:27:17.000000Z",
                                            "updated_at": "2026-01-07T15:52:02.000000Z",
                                            "index": 0,
                                            "active": 1,
                                            "deleted_at": null,
                                            "image_name": null,
                                            "car_devices_count": 0
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exist"
                                    }
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflict",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device already exist"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/logbook/driver/{DriverID}": {
            "put": {
                "tags": [
                    "Logbook Driver"
                ],
                "summary": "Update Driver by ID",
                "description": "API to update Driver by id. These driver details are just suggestions for the user while updated the information in Logbook for a particular route. When user enter driver details, it will be stored in the db and then will be shown to the user next time as a suggestion while entering the information. In driver details for now, a user can update the first name and last name of the driver. If user do not have permission then error will be shown. Click on the 'Try it out' button to execute the call. Click Schema for parameters type",
                "operationId": "UpdateDriverByID",
                "parameters": [
                    {
                        "name": "DriverID",
                        "in": "path",
                        "description": "Driver ID: the `id` from `GET /api/v1/logbook/driver`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 10
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "first_name": {
                                        "description": "The first name of the driver",
                                        "type": "string"
                                    },
                                    "last_name": {
                                        "description": "The last name of the driver",
                                        "type": "string"
                                    },
                                    "active": {
                                        "description": "Whether driver is active",
                                        "type": "integer"
                                    },
                                    "image_name": {
                                        "description": "Driver image file name",
                                        "type": "string",
                                        "nullable": true
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "first_name": "Fahrer",
                                    "last_name": "Zwei",
                                    "active": 1,
                                    "image_name": null
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "customer_id": {
                                                    "type": "integer"
                                                },
                                                "company_id": {
                                                    "type": "integer"
                                                },
                                                "first_name": {
                                                    "type": "string"
                                                },
                                                "last_name": {
                                                    "type": "string"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "index": {
                                                    "type": "integer"
                                                },
                                                "active": {
                                                    "type": "integer"
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "image_name": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "car_devices_count": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 9639,
                                            "customer_id": 123456,
                                            "company_id": 7,
                                            "first_name": "Fahrer",
                                            "last_name": "Zwei",
                                            "created_at": "2024-05-29T18:27:17.000000Z",
                                            "updated_at": "2026-01-07T15:52:02.000000Z",
                                            "index": 0,
                                            "active": 1,
                                            "deleted_at": null,
                                            "image_name": null,
                                            "car_devices_count": 0
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exists"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "delete": {
                "tags": [
                    "Logbook Driver"
                ],
                "summary": "Delete Driver Data by ID",
                "description": "API to delete driver by id. This will delete the drive details for a route in a logbook. After deleting the driver details will not be shown as a suggestion while entering information for a route in a logbook. If the driver does not exists, it will return an error. Click on the 'Try it out' button to execute the call. Only admin can perform this operation",
                "operationId": "DeleteDriverByID",
                "parameters": [
                    {
                        "name": "DriverID",
                        "in": "path",
                        "description": "Driver ID: the `id` from `GET /api/v1/logbook/driver`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 10
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Success",
                        "content": {
                            "application/json": {}
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exist"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/height": {
            "post": {
                "tags": [
                    "Elevation"
                ],
                "summary": "Get the elevation of one or more coordinates",
                "description": "API to get the elevation (height above sea level) of up to 100 coordinates in a single request.\nLocations are latitude,longitude pairs separated by a pipe character, for example locations=12.5,160.2|-10.6,130.\nThe results are returned in the same order as the locations that were sent.\nA maximum of 100 locations is allowed per request, longer routes have to be split into several requests.\nA single point can also be requested with the lat and lon parameters.",
                "operationId": "GetElevation",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "locations": {
                                        "description": "Latitude,longitude pairs separated by a pipe character. Maximum 100 locations per request.",
                                        "type": "string"
                                    },
                                    "lat": {
                                        "description": "Latitude of a single point. Only used when locations is not sent.",
                                        "type": "number",
                                        "format": "float"
                                    },
                                    "lon": {
                                        "description": "Longitude of a single point. Only used when locations is not sent.",
                                        "type": "number",
                                        "format": "float"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "locations": "50.941135,6.958916|50.942541,6.961203|50.944877,6.965884"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "status": {
                                            "type": "string"
                                        },
                                        "results": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "latitude": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "longitude": {
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "elevation": {
                                                        "description": "Height above sea level in meters, rounded to 2 decimals.",
                                                        "type": "number",
                                                        "format": "float",
                                                        "nullable": true
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "status": "OK",
                                        "results": [
                                            {
                                                "latitude": 50.941135,
                                                "longitude": 6.958916,
                                                "elevation": 168.42
                                            },
                                            {
                                                "latitude": 50.942541,
                                                "longitude": 6.961203,
                                                "elevation": 171.09
                                            },
                                            {
                                                "latitude": 50.944877,
                                                "longitude": 6.965884,
                                                "elevation": 175.63
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request. Returned when no locations are sent, when a location is not a valid latitude,longitude pair, when more than 100 locations are sent, or when the elevation server is not reachable.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Too many locations provided (1000), the limit is 100."
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/v1/geofence/{DeviceID}": {
            "post": {
                "tags": [
                    "Geofence"
                ],
                "summary": "Create Geofence of a specific device",
                "description": "API to create geofence for the provided device id. If the device is not permitted to the user then error will be shown. Enter the **Device ID** (the `id` from `GET /api/v1/device`, not the IMEI), shape type (1 for circle, add radius: 100 and center: [lng, lat] in options, 2 for rectangle and 3 for polygon), options (to add colors) and coordinates where you want to draw a polygon. For circle you have to provide radius in options field as well. User can create multiple geofences for a single device. Click on the 'Try it out' button to execute the call. Click Schema for parameters type",
                "operationId": "CreateGeofence",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "shape_type",
                                    "coordinates"
                                ],
                                "properties": {
                                    "name": {
                                        "description": "The name of the geofence",
                                        "type": "string"
                                    },
                                    "shape_type": {
                                        "description": "The shape type: 1 for circle, 2 for rectangle and 3 for polygon",
                                        "type": "integer"
                                    },
                                    "options": {
                                        "description": "The json string to defince colors and radius of the shape",
                                        "type": "string"
                                    },
                                    "coordinates": {
                                        "description": "The coordinates fo the shape",
                                        "type": "array",
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "integer"
                                            }
                                        }
                                    },
                                    "trigger_enter": {
                                        "description": "Set 1 to trigger enter event",
                                        "type": "integer"
                                    },
                                    "trigger_leave": {
                                        "description": "Set 1 to trigger leave event",
                                        "type": "integer"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "name": null,
                                    "shape_type": 1,
                                    "coordinates": "[[6.991012792299705,50.93303263742547],[6.990938436129107,50.9330301741163],[6.990864894643571,50.93302281117814],[6.990792973601283,50.93301062928313],[6.9907234610045181,50.9329937619024],[6.990657118465244,50.932972393843436],[6.990594672859973,50.932946759225146],[6.990536808365350,50.932917138912565],[6.990484158961759,50.93288385743924],[6.990437301487082,50.9328472794514],[6.990396749316747,50.93280780571236],[6.990362946739286,50.932765868711407],[6.990336264089046,50.93272192792512],[6.990316993689317,50.93267646478291],[6.990305346650342,50.93262997739214],[6.990301450557238,50.932582975080706],[6.990305348073121,50.93253597281654],[6.990316996472694,50.932489485565505],[6.990336268111375,50.93244402264937],[6.990362951824769,50.93240008216564],[6.990396755243123,50.932358145530515],[6.990437307995345,50.93231867220454],[6.990484165767462,50.93228209465899],[6.990536815171053,50.932248813637827],[6.990594679368234,50.93221919376752],[6.9906571243916211,50.93219355956232],[6.990723466090000,50.93217219186917],[6.99079297762361,50.93215532479099],[6.9908648974269472,50.93214314312207],[6.990938437551885,50.93213578032363],[6.991012792299705,50.93213331706173],[6.991087147047524,50.93213578032363],[6.991160687172462,50.93214314312207],[6.9912326069758,50.93215532479099],[6.991302118509408,50.93217219186917],[6.991368460207787,50.93219355956232],[6.991430905231176,50.93221919376752],[6.991488769428356,50.932248813637827],[6.991541418831947,50.93228209465899],[6.991588276604064,50.93231867220454],[6.991628829356286,50.932358145530515],[6.99166263277464,50.93240008216564],[6.991689316488035,50.93244402264937],[6.991708588126715,50.932489485565505],[6.991720236526288,50.93253597281654],[6.99172413404217,50.932582975080706],[6.991720237949067,50.93262997739214],[6.991708590910092,50.93267646478291],[6.991689320510362,50.93272192792512],[6.991662637860122,50.932765868711407],[6.991628835282663,50.93280780571236],[6.991588283112327,50.9328472794514],[6.99154142563765,50.93288385743924],[6.991488776234059,50.932917138912565],[6.991430911739436,50.932946759225146],[6.991368466134164,50.932972393843436],[6.99130212359489,50.9329937619024],[6.991232610998126,50.93301062928313],[6.991160689955838,50.93302281117814],[6.991087148470301,50.9330301741163],[6.991012792299705,50.93303263742547]]",
                                    "options": "{\"color\":\"#F05123\",\"fillColor\":\"#F05123\",\"radius\":\"50\",\"center\":\"[7.641,50.792]\",\"opacity\":0.5}",
                                    "trigger_enter": 1,
                                    "trigger_leave": 1
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "name": {
                                            "type": "string"
                                        },
                                        "shape_type": {
                                            "type": "integer"
                                        },
                                        "coordinates": {
                                            "type": "string"
                                        },
                                        "options": {
                                            "type": "string"
                                        },
                                        "iddevice": {
                                            "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                            "type": "integer"
                                        },
                                        "updatedate": {
                                            "type": "string"
                                        },
                                        "createdate": {
                                            "type": "string"
                                        },
                                        "id": {
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "name": "Test geoFence",
                                        "shape_type": 3,
                                        "coordinates": "[[6.991012792299705,50.93303263742547],[6.990938436129107,50.9330301741163],[6.990864894643571,50.93302281117814],[6.990792973601283,50.93301062928313],[6.9907234610045181,50.9329937619024],[6.990657118465244,50.932972393843436],[6.990594672859973,50.932946759225146],[6.990536808365350,50.932917138912565],[6.990484158961759,50.93288385743924],[6.990437301487082,50.9328472794514],[6.990396749316747,50.93280780571236],[6.990362946739286,50.932765868711407],[6.990336264089046,50.93272192792512],[6.990316993689317,50.93267646478291],[6.990305346650342,50.93262997739214],[6.990301450557238,50.932582975080706],[6.990305348073121,50.93253597281654],[6.990316996472694,50.932489485565505],[6.990336268111375,50.93244402264937],[6.990362951824769,50.93240008216564],[6.990396755243123,50.932358145530515],[6.990437307995345,50.93231867220454],[6.990484165767462,50.93228209465899],[6.990536815171053,50.932248813637827],[6.990594679368234,50.93221919376752],[6.9906571243916211,50.93219355956232],[6.990723466090000,50.93217219186917],[6.99079297762361,50.93215532479099],[6.9908648974269472,50.93214314312207],[6.990938437551885,50.93213578032363],[6.991012792299705,50.93213331706173],[6.991087147047524,50.93213578032363],[6.991160687172462,50.93214314312207],[6.9912326069758,50.93215532479099],[6.991302118509408,50.93217219186917],[6.991368460207787,50.93219355956232],[6.991430905231176,50.93221919376752],[6.991488769428356,50.932248813637827],[6.991541418831947,50.93228209465899],[6.991588276604064,50.93231867220454],[6.991628829356286,50.932358145530515],[6.99166263277464,50.93240008216564],[6.991689316488035,50.93244402264937],[6.991708588126715,50.932489485565505],[6.991720236526288,50.93253597281654],[6.99172413404217,50.932582975080706],[6.991720237949067,50.93262997739214],[6.991708590910092,50.93267646478291],[6.991689320510362,50.93272192792512],[6.991662637860122,50.932765868711407],[6.991628835282663,50.93280780571236],[6.991588283112327,50.9328472794514],[6.99154142563765,50.93288385743924],[6.991488776234059,50.932917138912565],[6.991430911739436,50.932946759225146],[6.991368466134164,50.932972393843436],[6.99130212359489,50.9329937619024],[6.991232610998126,50.93301062928313],[6.991160689955838,50.93302281117814],[6.991087148470301,50.9330301741163],[6.991012792299705,50.93303263742547]]",
                                        "options": "{\"color\":\"#F05123\",\"fillColor\":\"#F05123\",\"radius\":\"50\",\"center\":\"[7.641,50.792]\",\"opacity\":0.5}",
                                        "iddevice": "1",
                                        "updatedate": "1588773998",
                                        "createdate": "1588773998",
                                        "id": 24
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device does not exist"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/geofences": {
            "post": {
                "tags": [
                    "Geofence"
                ],
                "summary": "Get all geofences data for the given devices",
                "description": "API to get multiple geofences for multiple devices for the specific user. Enter all the **Device IDs** (the `id` from `GET /api/v1/device`, not the IMEI) to get all geofences. If you enter wrong device id or device which you do not have permission then it will return no geofences for that device id. Click on the 'Try it out' button to execute the call",
                "operationId": "GetGeofences",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "deviceIDs"
                                ],
                                "properties": {
                                    "deviceIDs": {
                                        "description": "Array of **Device IDs** (the `id` from `GET /api/v1/device`, not the IMEI).",
                                        "type": "array",
                                        "items": {
                                            "type": "integer"
                                        }
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "deviceIDs": [
                                        1000001
                                    ]
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "properties": {
                                            "id": {
                                                "type": "integer"
                                            },
                                            "iddevice": {
                                                "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                "type": "integer"
                                            },
                                            "name": {
                                                "type": "string",
                                                "nullable": true
                                            },
                                            "geodata": {
                                                "type": "string",
                                                "nullable": true
                                            },
                                            "status": {
                                                "type": "integer"
                                            },
                                            "shape_type": {
                                                "description": "The shape type: 1 for circle, 2 for rectangle and 3 for polygon",
                                                "type": "integer"
                                            },
                                            "coordinates": {
                                                "type": "string"
                                            },
                                            "options": {
                                                "type": "string"
                                            },
                                            "createdate": {
                                                "type": "string",
                                                "nullable": true
                                            },
                                            "updatedate": {
                                                "type": "string",
                                                "nullable": true
                                            },
                                            "trigger_enter": {
                                                "type": "integer"
                                            },
                                            "trigger_leave": {
                                                "type": "integer"
                                            },
                                            "deleted_at": {
                                                "type": "string",
                                                "format": "date-time",
                                                "nullable": true
                                            },
                                            "created_at": {
                                                "type": "string",
                                                "format": "date-time"
                                            },
                                            "updated_at": {
                                                "type": "string",
                                                "format": "date-time"
                                            },
                                            "sound_enter": {
                                                "type": "integer"
                                            },
                                            "sound_leave": {
                                                "type": "integer"
                                            }
                                        },
                                        "type": "object"
                                    },
                                    "example": [
                                        {
                                            "id": 270525,
                                            "iddevice": 1000001,
                                            "name": null,
                                            "geodata": null,
                                            "status": 1,
                                            "shape_type": 1,
                                            "coordinates": "[[6.991012792299705,50.93303263742547],[6.990938436129107,50.9330301741163],[6.990864894643571,50.93302281117814],[6.990792973601283,50.93301062928313],[6.9907234610045181,50.9329937619024],[6.990657118465244,50.932972393843436],[6.990594672859973,50.932946759225146],[6.990536808365350,50.932917138912565],[6.990484158961759,50.93288385743924],[6.990437301487082,50.9328472794514],[6.990396749316747,50.93280780571236],[6.990362946739286,50.932765868711407],[6.990336264089046,50.93272192792512],[6.990316993689317,50.93267646478291],[6.990305346650342,50.93262997739214],[6.990301450557238,50.932582975080706],[6.990305348073121,50.93253597281654],[6.990316996472694,50.932489485565505],[6.990336268111375,50.93244402264937],[6.990362951824769,50.93240008216564],[6.990396755243123,50.932358145530515],[6.990437307995345,50.93231867220454],[6.990484165767462,50.93228209465899],[6.990536815171053,50.932248813637827],[6.990594679368234,50.93221919376752],[6.9906571243916211,50.93219355956232],[6.990723466090000,50.93217219186917],[6.99079297762361,50.93215532479099],[6.9908648974269472,50.93214314312207],[6.990938437551885,50.93213578032363],[6.991012792299705,50.93213331706173],[6.991087147047524,50.93213578032363],[6.991160687172462,50.93214314312207],[6.9912326069758,50.93215532479099],[6.991302118509408,50.93217219186917],[6.991368460207787,50.93219355956232],[6.991430905231176,50.93221919376752],[6.991488769428356,50.932248813637827],[6.991541418831947,50.93228209465899],[6.991588276604064,50.93231867220454],[6.991628829356286,50.932358145530515],[6.99166263277464,50.93240008216564],[6.991689316488035,50.93244402264937],[6.991708588126715,50.932489485565505],[6.991720236526288,50.93253597281654],[6.99172413404217,50.932582975080706],[6.991720237949067,50.93262997739214],[6.991708590910092,50.93267646478291],[6.991689320510362,50.93272192792512],[6.991662637860122,50.932765868711407],[6.991628835282663,50.93280780571236],[6.991588283112327,50.9328472794514],[6.99154142563765,50.93288385743924],[6.991488776234059,50.932917138912565],[6.991430911739436,50.932946759225146],[6.991368466134164,50.932972393843436],[6.99130212359489,50.9329937619024],[6.991232610998126,50.93301062928313],[6.991160689955838,50.93302281117814],[6.991087148470301,50.9330301741163],[6.991012792299705,50.93303263742547]]",
                                            "options": "{\"color\":\"#F05123\",\"fillColor\":\"#F05123\",\"radius\":\"50\",\"center\":\"[7.641,50.792]\",\"opacity\":0.5}",
                                            "createdate": null,
                                            "updatedate": null,
                                            "trigger_enter": 1,
                                            "trigger_leave": 1,
                                            "deleted_at": null,
                                            "created_at": "2024-06-06T09:10:41.000000Z",
                                            "updated_at": "2024-06-06T09:18:28.000000Z",
                                            "sound_enter": 0,
                                            "sound_leave": 0
                                        }
                                    ]
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/geofence/{DeviceID}/{GeofenceID}": {
            "put": {
                "tags": [
                    "Geofence"
                ],
                "summary": "Update specific geofence for a device",
                "description": "API to update geofence for the provided device id. If the device is not permitted to the user then error will be shown. Enter the **Device ID** (the `id` from `GET /api/v1/device`, not the IMEI), shape type (1 for circle, add radius: 100 and center: [lng, lat] in options, 2 for rectangle and 3 for polygon), options (to add colors) and coordinates to update the geofence. For circle you have to provide radius in options field as well. Click on the 'Try it out' button to execute the call. Click Schema for parameters type",
                "operationId": "UpdateGeofence",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "GeofenceID",
                        "in": "path",
                        "description": "Geofence ID: the `id` from `POST /api/v1/geofences`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 55
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "name": {
                                        "description": "The name of the geofence",
                                        "type": "string"
                                    },
                                    "shape_type": {
                                        "description": "The shape type: 1 for circle, 2 for rectangle and 3 for polygon",
                                        "type": "integer"
                                    },
                                    "options": {
                                        "description": "The json string to defince colors and radius of the shape",
                                        "type": "string"
                                    },
                                    "coordinates": {
                                        "description": "The coordinates fo the shape",
                                        "type": "array",
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "integer"
                                            }
                                        }
                                    },
                                    "trigger_enter": {
                                        "description": "Set 1 to trigger enter event",
                                        "type": "integer"
                                    },
                                    "trigger_leave": {
                                        "description": "Set 1 to trigger leave event",
                                        "type": "integer"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "name": null,
                                    "shape_type": 1,
                                    "coordinates": "[[6.991012792299705,50.93303263742547],[6.990938436129107,50.9330301741163],[6.990864894643571,50.93302281117814],[6.990792973601283,50.93301062928313],[6.9907234610045181,50.9329937619024],[6.990657118465244,50.932972393843436],[6.990594672859973,50.932946759225146],[6.990536808365350,50.932917138912565],[6.990484158961759,50.93288385743924],[6.990437301487082,50.9328472794514],[6.990396749316747,50.93280780571236],[6.990362946739286,50.932765868711407],[6.990336264089046,50.93272192792512],[6.990316993689317,50.93267646478291],[6.990305346650342,50.93262997739214],[6.990301450557238,50.932582975080706],[6.990305348073121,50.93253597281654],[6.990316996472694,50.932489485565505],[6.990336268111375,50.93244402264937],[6.990362951824769,50.93240008216564],[6.990396755243123,50.932358145530515],[6.990437307995345,50.93231867220454],[6.990484165767462,50.93228209465899],[6.990536815171053,50.932248813637827],[6.990594679368234,50.93221919376752],[6.9906571243916211,50.93219355956232],[6.990723466090000,50.93217219186917],[6.99079297762361,50.93215532479099],[6.9908648974269472,50.93214314312207],[6.990938437551885,50.93213578032363],[6.991012792299705,50.93213331706173],[6.991087147047524,50.93213578032363],[6.991160687172462,50.93214314312207],[6.9912326069758,50.93215532479099],[6.991302118509408,50.93217219186917],[6.991368460207787,50.93219355956232],[6.991430905231176,50.93221919376752],[6.991488769428356,50.932248813637827],[6.991541418831947,50.93228209465899],[6.991588276604064,50.93231867220454],[6.991628829356286,50.932358145530515],[6.99166263277464,50.93240008216564],[6.991689316488035,50.93244402264937],[6.991708588126715,50.932489485565505],[6.991720236526288,50.93253597281654],[6.99172413404217,50.932582975080706],[6.991720237949067,50.93262997739214],[6.991708590910092,50.93267646478291],[6.991689320510362,50.93272192792512],[6.991662637860122,50.932765868711407],[6.991628835282663,50.93280780571236],[6.991588283112327,50.9328472794514],[6.99154142563765,50.93288385743924],[6.991488776234059,50.932917138912565],[6.991430911739436,50.932946759225146],[6.991368466134164,50.932972393843436],[6.99130212359489,50.9329937619024],[6.991232610998126,50.93301062928313],[6.991160689955838,50.93302281117814],[6.991087148470301,50.9330301741163],[6.991012792299705,50.93303263742547]]",
                                    "options": "{\"color\":\"#F05123\",\"fillColor\":\"#F05123\",\"radius\":\"50\",\"center\":\"[7.641,50.792]\",\"opacity\":0.5}",
                                    "trigger_enter": 1,
                                    "trigger_leave": 1
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "iddevice": {
                                                    "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                    "type": "integer"
                                                },
                                                "name": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "geodata": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "status": {
                                                    "type": "integer"
                                                },
                                                "shape_type": {
                                                    "description": "The shape type: 1 for circle, 2 for rectangle and 3 for polygon",
                                                    "type": "integer"
                                                },
                                                "coordinates": {
                                                    "type": "string"
                                                },
                                                "options": {
                                                    "type": "string"
                                                },
                                                "createdate": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "updatedate": {
                                                    "type": "string",
                                                    "nullable": true
                                                },
                                                "trigger_enter": {
                                                    "type": "integer"
                                                },
                                                "trigger_leave": {
                                                    "type": "integer"
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "sound_enter": {
                                                    "type": "integer"
                                                },
                                                "sound_leave": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 270525,
                                            "iddevice": 1000001,
                                            "name": null,
                                            "geodata": null,
                                            "status": 1,
                                            "shape_type": 1,
                                            "coordinates": "[[6.991012792299705,50.93303263742547],[6.990938436129107,50.9330301741163],[6.990864894643571,50.93302281117814],[6.990792973601283,50.93301062928313],[6.9907234610045181,50.9329937619024],[6.990657118465244,50.932972393843436],[6.990594672859973,50.932946759225146],[6.990536808365350,50.932917138912565],[6.990484158961759,50.93288385743924],[6.990437301487082,50.9328472794514],[6.990396749316747,50.93280780571236],[6.990362946739286,50.932765868711407],[6.990336264089046,50.93272192792512],[6.990316993689317,50.93267646478291],[6.990305346650342,50.93262997739214],[6.990301450557238,50.932582975080706],[6.990305348073121,50.93253597281654],[6.990316996472694,50.932489485565505],[6.990336268111375,50.93244402264937],[6.990362951824769,50.93240008216564],[6.990396755243123,50.932358145530515],[6.990437307995345,50.93231867220454],[6.990484165767462,50.93228209465899],[6.990536815171053,50.932248813637827],[6.990594679368234,50.93221919376752],[6.9906571243916211,50.93219355956232],[6.990723466090000,50.93217219186917],[6.99079297762361,50.93215532479099],[6.9908648974269472,50.93214314312207],[6.990938437551885,50.93213578032363],[6.991012792299705,50.93213331706173],[6.991087147047524,50.93213578032363],[6.991160687172462,50.93214314312207],[6.9912326069758,50.93215532479099],[6.991302118509408,50.93217219186917],[6.991368460207787,50.93219355956232],[6.991430905231176,50.93221919376752],[6.991488769428356,50.932248813637827],[6.991541418831947,50.93228209465899],[6.991588276604064,50.93231867220454],[6.991628829356286,50.932358145530515],[6.99166263277464,50.93240008216564],[6.991689316488035,50.93244402264937],[6.991708588126715,50.932489485565505],[6.991720236526288,50.93253597281654],[6.99172413404217,50.932582975080706],[6.991720237949067,50.93262997739214],[6.991708590910092,50.93267646478291],[6.991689320510362,50.93272192792512],[6.991662637860122,50.932765868711407],[6.991628835282663,50.93280780571236],[6.991588283112327,50.9328472794514],[6.99154142563765,50.93288385743924],[6.991488776234059,50.932917138912565],[6.991430911739436,50.932946759225146],[6.991368466134164,50.932972393843436],[6.99130212359489,50.9329937619024],[6.991232610998126,50.93301062928313],[6.991160689955838,50.93302281117814],[6.991087148470301,50.9330301741163],[6.991012792299705,50.93303263742547]]",
                                            "options": "{\"color\":\"#F05123\",\"fillColor\":\"#F05123\",\"radius\":\"50\",\"center\":\"[7.641,50.792]\",\"opacity\":0.5}",
                                            "createdate": null,
                                            "updatedate": null,
                                            "trigger_enter": 1,
                                            "trigger_leave": 1,
                                            "deleted_at": null,
                                            "created_at": "2024-06-06T09:10:41.000000Z",
                                            "updated_at": "2024-06-06T09:18:28.000000Z",
                                            "sound_enter": 0,
                                            "sound_leave": 0
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "delete": {
                "tags": [
                    "Geofence"
                ],
                "summary": "Delete specific geofence for a device",
                "description": "API to delete geofence for the provided device id. If the device is not permitted to the user then error will be shown. Click on the 'Try it out' button to execute the call. Click Schema for parameters type",
                "operationId": "DeleteGeofence",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "GeofenceID",
                        "in": "path",
                        "description": "Geofence ID: the `id` from `POST /api/v1/geofences`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 55
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Success",
                        "content": {
                            "application/json": {}
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/notifications": {
            "get": {
                "tags": [
                    "Notifications Data"
                ],
                "summary": "Get Notifications of all devices of a customer",
                "description": "API to get data of notifications of all devices for a single customer. You do not need to pass customer id, as this api will automatically detect from token which customer is requesting it. User can pass alert type to get specific notifications and also read flag to 0 and 1 to get read and unread notifications. Alert types ranges from 1 to 22 which are: 1 -> Shock Alert, 2 -> Battery Alert, 3 -> Radius Alert, 4 -> SOS Alert, 5 -> Speed Alert, 6 -> Power Cut-off Alert, 7 -> Ignition Alert, 9 -> Drop Alert, 10 -> Area Enter Alert, 11 -> Area Leave Alert, 13 -> Voltage Alert, 22 -> Turn off Alert. 0 -> unread and 1 -> read notificaitons. Return empty array if there are no notifications. Click on the 'Try it out' button to execute the call",
                "operationId": "GetNotifications",
                "parameters": [
                    {
                        "name": "alertType",
                        "in": "query",
                        "description": "Alert type (1–22)",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 22,
                            "minimum": 1
                        }
                    },
                    {
                        "name": "isRead",
                        "in": "query",
                        "description": "Get read and unread notifications. 0 for unread and 1 for read",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "integer"
                                                    },
                                                    "iddevice": {
                                                        "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                        "type": "integer"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "icon": {
                                                        "type": "string"
                                                    },
                                                    "bezeichnung": {
                                                        "type": "string"
                                                    },
                                                    "meldung": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "meldungtyp": {
                                                        "type": "integer"
                                                    },
                                                    "dateunix": {
                                                        "description": "Unix timestamp in seconds (UTC)",
                                                        "type": "integer"
                                                    },
                                                    "lat": {
                                                        "description": "Latitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "lng": {
                                                        "description": "Longitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "isread": {
                                                        "type": "integer"
                                                    },
                                                    "imei": {
                                                        "description": "Hardware IMEI of the tracker. **Not** the Device ID.",
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "speed": {
                                                        "description": "Speed in km/h",
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "speederlaubt": {
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "radiusin": {
                                                        "type": "integer"
                                                    },
                                                    "radiusout": {
                                                        "type": "integer"
                                                    },
                                                    "zuendon": {
                                                        "type": "integer"
                                                    },
                                                    "zuendoff": {
                                                        "type": "integer"
                                                    },
                                                    "audio_file_name": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "email": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "push": {
                                                        "type": "integer"
                                                    },
                                                    "suppressed": {
                                                        "type": "integer"
                                                    },
                                                    "deleted_at": {
                                                        "type": "string",
                                                        "format": "date-time",
                                                        "nullable": true
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_records": {
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": 364020381,
                                                "iddevice": 1000003,
                                                "name": null,
                                                "icon": "icon-info",
                                                "bezeichnung": "Zündalarm aus",
                                                "meldung": null,
                                                "meldungtyp": 7,
                                                "dateunix": 1770992839,
                                                "lat": 50.9383971,
                                                "lng": 6.9581834,
                                                "isread": 0,
                                                "imei": null,
                                                "speed": null,
                                                "speederlaubt": null,
                                                "radiusin": 0,
                                                "radiusout": 0,
                                                "zuendon": 0,
                                                "zuendoff": 1,
                                                "audio_file_name": null,
                                                "email": null,
                                                "push": 0,
                                                "suppressed": 0,
                                                "deleted_at": null
                                            },
                                            {
                                                "id": 364019264,
                                                "iddevice": 1000003,
                                                "name": null,
                                                "icon": "icon-info",
                                                "bezeichnung": "Geschwindigkeitsalarm",
                                                "meldung": null,
                                                "meldungtyp": 5,
                                                "dateunix": 1770992677,
                                                "lat": 50.9410254,
                                                "lng": 6.9585167,
                                                "isread": 0,
                                                "imei": null,
                                                "speed": 26,
                                                "speederlaubt": 20,
                                                "radiusin": 0,
                                                "radiusout": 0,
                                                "zuendon": 0,
                                                "zuendoff": 0,
                                                "audio_file_name": null,
                                                "email": null,
                                                "push": 0,
                                                "suppressed": 0,
                                                "deleted_at": null
                                            }
                                        ],
                                        "number_of_records": 2
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/notifications/{deviceID}": {
            "get": {
                "tags": [
                    "Notifications Data"
                ],
                "summary": "Get Notifications of a single devices of a customer",
                "description": "API to get data of notifications of a single devices for a customer. You do not need to pass customer id, as this api will automatically detect from token which customer is requesting it. User can pass alert type to get specific notifications and also read flag to 0 and 1 to get read and unread notifications. Alert types ranges from 1 to 22 which are: 1 -> Shock Alert, 2 -> Battery Alert, 3 -> Radius Alert, 4 -> SOS Alert, 5 -> Speed Alert, 6 -> Power Cut-off Alert, 7 -> Ignition Alert, 9 -> Drop Alert, 10 -> Area Enter Alert, 11 -> Area Leave Alert, 13 -> Voltage Alert, 22 -> Turn off Alert. 0 -> unread and 1 -> read notificaitons. Return empty array if there are no notifications. Click on the 'Try it out' button to execute the call",
                "operationId": "GetNotificationsSingleDevice",
                "parameters": [
                    {
                        "name": "deviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "alertType",
                        "in": "query",
                        "description": "Alert type (1–22)",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 22,
                            "minimum": 1
                        }
                    },
                    {
                        "name": "isRead",
                        "in": "query",
                        "description": "Get read and unread notifications. 0 for unread and 1 for read",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "integer"
                                                    },
                                                    "iddevice": {
                                                        "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                        "type": "integer"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "icon": {
                                                        "type": "string"
                                                    },
                                                    "bezeichnung": {
                                                        "type": "string"
                                                    },
                                                    "meldung": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "meldungtyp": {
                                                        "type": "integer"
                                                    },
                                                    "dateunix": {
                                                        "description": "Unix timestamp in seconds (UTC)",
                                                        "type": "integer"
                                                    },
                                                    "lat": {
                                                        "description": "Latitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "lng": {
                                                        "description": "Longitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "isread": {
                                                        "type": "integer"
                                                    },
                                                    "imei": {
                                                        "description": "Hardware IMEI of the tracker. **Not** the Device ID.",
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "speed": {
                                                        "description": "Speed in km/h",
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "speederlaubt": {
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "radiusin": {
                                                        "type": "integer"
                                                    },
                                                    "radiusout": {
                                                        "type": "integer"
                                                    },
                                                    "zuendon": {
                                                        "type": "integer"
                                                    },
                                                    "zuendoff": {
                                                        "type": "integer"
                                                    },
                                                    "audio_file_name": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "email": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "push": {
                                                        "type": "integer"
                                                    },
                                                    "suppressed": {
                                                        "type": "integer"
                                                    },
                                                    "deleted_at": {
                                                        "type": "string",
                                                        "format": "date-time",
                                                        "nullable": true
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_records": {
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": 364020381,
                                                "iddevice": 1000003,
                                                "name": null,
                                                "icon": "icon-info",
                                                "bezeichnung": "Zündalarm aus",
                                                "meldung": null,
                                                "meldungtyp": 7,
                                                "dateunix": 1770992839,
                                                "lat": 50.9383971,
                                                "lng": 6.9581834,
                                                "isread": 0,
                                                "imei": null,
                                                "speed": null,
                                                "speederlaubt": null,
                                                "radiusin": 0,
                                                "radiusout": 0,
                                                "zuendon": 0,
                                                "zuendoff": 1,
                                                "audio_file_name": null,
                                                "email": null,
                                                "push": 0,
                                                "suppressed": 0,
                                                "deleted_at": null
                                            },
                                            {
                                                "id": 364019264,
                                                "iddevice": 1000003,
                                                "name": null,
                                                "icon": "icon-info",
                                                "bezeichnung": "Geschwindigkeitsalarm",
                                                "meldung": null,
                                                "meldungtyp": 5,
                                                "dateunix": 1770992677,
                                                "lat": 50.9410254,
                                                "lng": 6.9585167,
                                                "isread": 0,
                                                "imei": null,
                                                "speed": 26,
                                                "speederlaubt": 20,
                                                "radiusin": 0,
                                                "radiusout": 0,
                                                "zuendon": 0,
                                                "zuendoff": 0,
                                                "audio_file_name": null,
                                                "email": null,
                                                "push": 0,
                                                "suppressed": 0,
                                                "deleted_at": null
                                            }
                                        ],
                                        "number_of_records": 2
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/customnotifications/{deviceID}": {
            "get": {
                "tags": [
                    "Notifications Data"
                ],
                "summary": "Get Notifications of a single devices of a customer using custom date",
                "description": "API to get data of notifications of a single devices for a customer. You do not need to pass customer id, as this api will automatically detect from token which customer is requesting it. User can pass alert type to get specific notifications and also read flag to 0 and 1 to get read and unread notifications. Alert types ranges from 1 to 22 which are: 1 -> Shock Alert, 2 -> Battery Alert, 3 -> Radius Alert, 4 -> SOS Alert, 5 -> Speed Alert, 6 -> Power Cut-off Alert, 7 -> Ignition Alert, 9 -> Drop Alert, 10 -> Area Enter Alert, 11 -> Area Leave Alert, 13 -> Voltage Alert, 22 -> Turn off Alert. 0 -> unread and 1 -> read notificaitons. Return empty array if there are no notifications. Click on the 'Try it out' button to execute the call",
                "operationId": "GetCustomNotificationsSingleDevice",
                "parameters": [
                    {
                        "name": "deviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "alertType",
                        "in": "query",
                        "description": "Alert type (1–22). If not passed then it will return all types of notifications.",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 22,
                            "minimum": 1
                        }
                    },
                    {
                        "name": "startDate",
                        "in": "query",
                        "description": "Start of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735689600
                    },
                    {
                        "name": "endDate",
                        "in": "query",
                        "description": "End of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735775999
                    },
                    {
                        "name": "noOfNotification",
                        "in": "query",
                        "description": "Number of notifications to return. Default: the last 50.",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        },
                        "example": 50
                    },
                    {
                        "name": "isRead",
                        "in": "query",
                        "description": "Get read and unread notifications. 0 for unread and 1 for read. If not passed then it will return all notifications.",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "integer"
                                                    },
                                                    "iddevice": {
                                                        "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                        "type": "integer"
                                                    },
                                                    "name": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "icon": {
                                                        "type": "string"
                                                    },
                                                    "bezeichnung": {
                                                        "type": "string"
                                                    },
                                                    "meldung": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "meldungtyp": {
                                                        "type": "integer"
                                                    },
                                                    "dateunix": {
                                                        "description": "Unix timestamp in seconds (UTC)",
                                                        "type": "integer"
                                                    },
                                                    "lat": {
                                                        "description": "Latitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "lng": {
                                                        "description": "Longitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "isread": {
                                                        "type": "integer"
                                                    },
                                                    "imei": {
                                                        "description": "Hardware IMEI of the tracker. **Not** the Device ID.",
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "speed": {
                                                        "description": "Speed in km/h",
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "speederlaubt": {
                                                        "type": "integer",
                                                        "nullable": true
                                                    },
                                                    "radiusin": {
                                                        "type": "integer"
                                                    },
                                                    "radiusout": {
                                                        "type": "integer"
                                                    },
                                                    "zuendon": {
                                                        "type": "integer"
                                                    },
                                                    "zuendoff": {
                                                        "type": "integer"
                                                    },
                                                    "audio_file_name": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "email": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "push": {
                                                        "type": "integer"
                                                    },
                                                    "suppressed": {
                                                        "type": "integer"
                                                    },
                                                    "deleted_at": {
                                                        "type": "string",
                                                        "format": "date-time",
                                                        "nullable": true
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_records": {
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": 364020381,
                                                "iddevice": 1000003,
                                                "name": null,
                                                "icon": "icon-info",
                                                "bezeichnung": "Zündalarm aus",
                                                "meldung": null,
                                                "meldungtyp": 7,
                                                "dateunix": 1770992839,
                                                "lat": 50.9383971,
                                                "lng": 6.9581834,
                                                "isread": 0,
                                                "imei": null,
                                                "speed": null,
                                                "speederlaubt": null,
                                                "radiusin": 0,
                                                "radiusout": 0,
                                                "zuendon": 0,
                                                "zuendoff": 1,
                                                "audio_file_name": null,
                                                "email": null,
                                                "push": 0,
                                                "suppressed": 0,
                                                "deleted_at": null
                                            },
                                            {
                                                "id": 364019264,
                                                "iddevice": 1000003,
                                                "name": null,
                                                "icon": "icon-info",
                                                "bezeichnung": "Geschwindigkeitsalarm",
                                                "meldung": null,
                                                "meldungtyp": 5,
                                                "dateunix": 1770992677,
                                                "lat": 50.9410254,
                                                "lng": 6.9585167,
                                                "isread": 0,
                                                "imei": null,
                                                "speed": 26,
                                                "speederlaubt": 20,
                                                "radiusin": 0,
                                                "radiusout": 0,
                                                "zuendon": 0,
                                                "zuendoff": 0,
                                                "audio_file_name": null,
                                                "email": null,
                                                "push": 0,
                                                "suppressed": 0,
                                                "deleted_at": null
                                            }
                                        ],
                                        "number_of_records": 2
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/notifications/markReadByDevice/{deviceID}": {
            "put": {
                "tags": [
                    "Notifications Data"
                ],
                "summary": "Mark notiifications by device",
                "description": "API to mark notifications as read or unread of a single devices for a customer. You do not need to pass customer id, as this api will automatically detect from token which customer is requesting it. User can pass alert type for specific notifications and also read flag to 0 and 1 to update read and unread notifications. Alert types ranges from 1 to 22 which are: 1 -> Shock Alert, 2 -> Battery Alert, 3 -> Radius Alert, 4 -> SOS Alert, 5 -> Speed Alert, 6 -> Power Cut-off Alert, 7 -> Ignition Alert, 9 -> Drop Alert, 10 -> Area Enter Alert, 11 -> Area Leave Alert, 13 -> Voltage Alert, 22 -> Turn off Alert. 0 -> unread and 1 -> read notificaitons. Return count for updated and zero count if there are no updates in notifications. Click on the 'Try it out' button to execute the call",
                "operationId": "MarkNotifcationsByDevice",
                "parameters": [
                    {
                        "name": "deviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "alertType",
                        "in": "query",
                        "description": "Alert type (1–22)",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 22,
                            "minimum": 1
                        }
                    },
                    {
                        "name": "isRead",
                        "in": "query",
                        "description": "Update read and unread notifications. 0 for unread and 1 for read",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": 999
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/notifications/markReadByCustomer": {
            "put": {
                "tags": [
                    "Notifications Data"
                ],
                "summary": "Mark notiifications by Customer",
                "description": "API to mark notifications as read or unread of all devices for a single customer requesting it. You do not need to pass customer id, as this api will automatically detect from token which customer is requesting it. User can pass alert type for specific notifications and also read flag to 0 and 1 to update read and unread notifications. Alert types ranges from 1 to 22 which are: 1 -> Shock Alert, 2 -> Battery Alert, 3 -> Radius Alert, 4 -> SOS Alert, 5 -> Speed Alert, 6 -> Power Cut-off Alert, 7 -> Ignition Alert, 9 -> Drop Alert, 10 -> Area Enter Alert, 11 -> Area Leave Alert, 13 -> Voltage Alert, 22 -> Turn off Alert. 0 -> unread and 1 -> read notificaitons. Return success message if the api updates successfully. Click on the 'Try it out' button to execute the call",
                "operationId": "MarkNotifcationsByCustomer",
                "parameters": [
                    {
                        "name": "alertType",
                        "in": "query",
                        "description": "Alert type (1–22)",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "maximum": 22,
                            "minimum": 1
                        }
                    },
                    {
                        "name": "isRead",
                        "in": "query",
                        "description": "Update read and unread notifications. 0 for unread and 1 for read",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": "Notifications updated"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/logbook/reason": {
            "get": {
                "tags": [
                    "Logbook Reason"
                ],
                "summary": "Get Reasons",
                "description": "API to get reasons. This reason means why you took that particular route and it will be stored in the db along with its route for your logbook. So, the next time you see a route for the logbook, you can see the reason and understand why you took that route. These reasons are just suggestions for the user while entering the information in Logbook for a particular route. When user enters the reason, it will be stored in the db and then will be shown to the user next time as a suggestion while entering the information. Reasons are shown only for that user who is making a request. Return empty array if there are no drivers. Click on the 'Try it out' button to execute the call",
                "operationId": "GetReasons",
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "integer"
                                                    },
                                                    "customer_id": {
                                                        "type": "integer"
                                                    },
                                                    "company_id": {
                                                        "type": "integer"
                                                    },
                                                    "name": {
                                                        "type": "string"
                                                    },
                                                    "created_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "updated_at": {
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "active": {
                                                        "type": "integer"
                                                    },
                                                    "index": {
                                                        "type": "integer"
                                                    },
                                                    "deleted_at": {
                                                        "type": "string",
                                                        "format": "date-time",
                                                        "nullable": true
                                                    },
                                                    "save_item": {
                                                        "type": "integer"
                                                    },
                                                    "car_devices_count": {
                                                        "type": "integer"
                                                    },
                                                    "car_devices_for_mix_count": {
                                                        "type": "integer"
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_records": {
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": 293421,
                                                "customer_id": 123456,
                                                "company_id": 7,
                                                "name": "Fabrikbesichtigung",
                                                "created_at": "2025-05-21T15:33:45.000000Z",
                                                "updated_at": "2025-12-20T18:54:18.000000Z",
                                                "active": 1,
                                                "index": 0,
                                                "deleted_at": null,
                                                "save_item": 1,
                                                "car_devices_count": 0,
                                                "car_devices_for_mix_count": 0
                                            },
                                            {
                                                "id": 394998,
                                                "customer_id": 123456,
                                                "company_id": 7,
                                                "name": "Angebot eingeholt",
                                                "created_at": "2025-10-13T16:25:35.000000Z",
                                                "updated_at": "2026-01-01T15:39:29.000000Z",
                                                "active": 1,
                                                "index": 1,
                                                "deleted_at": null,
                                                "save_item": 1,
                                                "car_devices_count": 0,
                                                "car_devices_for_mix_count": 0
                                            }
                                        ],
                                        "number_of_records": 2
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "post": {
                "tags": [
                    "Logbook Reason"
                ],
                "summary": "Create Reason",
                "description": "API to create a Reason. This reason means why you took that particular route and it will be stored in the db along with its route for your logbook. So, the next time you see a route for the logbook, you can see the reason and understand why you took that route. These reasons are just suggestions for the user while entering the information in Logbook for a particular route. When user enters the reason, it will be stored in the db and then will be shown to the user next time as a suggestion while entering the information. Reasons are shown only for that user who is making a request. Click on the 'Try it out' button to execute the call. Click Schema for parameters type. Only admin can perform this operation",
                "operationId": "CreateReason",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "name": {
                                        "description": "The reason name",
                                        "type": "string"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "name": "Fabrikbesichtigung"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "customer_id": {
                                                    "type": "integer"
                                                },
                                                "company_id": {
                                                    "type": "integer"
                                                },
                                                "name": {
                                                    "type": "string"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "active": {
                                                    "type": "integer"
                                                },
                                                "index": {
                                                    "type": "integer"
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "save_item": {
                                                    "type": "integer"
                                                },
                                                "car_devices_count": {
                                                    "type": "integer"
                                                },
                                                "car_devices_for_mix_count": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 293421,
                                            "customer_id": 123456,
                                            "company_id": 7,
                                            "name": "Fabrikbesichtigung",
                                            "created_at": "2025-05-21T15:33:45.000000Z",
                                            "updated_at": "2025-12-20T18:54:18.000000Z",
                                            "active": 1,
                                            "index": 0,
                                            "deleted_at": null,
                                            "save_item": 1,
                                            "car_devices_count": 0,
                                            "car_devices_for_mix_count": 0
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exist"
                                    }
                                }
                            }
                        }
                    },
                    "409": {
                        "description": "Conflict",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device already exist"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/logbook/reason/{ReasonID}": {
            "put": {
                "tags": [
                    "Logbook Reason"
                ],
                "summary": "Update Reason by ID",
                "description": "API to update reason by id. This reason means why you took that particular route and it will be stored in the db along with its route for your logbook. So, the next time you see a route for the logbook, you can see the reason and understand why you took that route. These reasons are just suggestions for the user while entering the information in Logbook for a particular route. When user enters the reason, it will be stored in the db and then will be shown to the user next time as a suggestion while entering the information. Reasons are shown only for that user who is making a request. If user do not have permission then error will be shown. Click on the 'Try it out' button to execute the call. Click Schema for parameters type",
                "operationId": "UpdateReasonByID",
                "parameters": [
                    {
                        "name": "ReasonID",
                        "in": "path",
                        "description": "Reason ID: the `id` from `GET /api/v1/logbook/reason`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 10
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "name": {
                                        "description": "The reason name",
                                        "type": "string"
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "name": "Fabrikbesichtigung"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "id": {
                                                    "type": "integer"
                                                },
                                                "customer_id": {
                                                    "type": "integer"
                                                },
                                                "company_id": {
                                                    "type": "integer"
                                                },
                                                "name": {
                                                    "type": "string"
                                                },
                                                "created_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "updated_at": {
                                                    "type": "string",
                                                    "format": "date-time"
                                                },
                                                "active": {
                                                    "type": "integer"
                                                },
                                                "index": {
                                                    "type": "integer"
                                                },
                                                "deleted_at": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "nullable": true
                                                },
                                                "save_item": {
                                                    "type": "integer"
                                                },
                                                "car_devices_count": {
                                                    "type": "integer"
                                                },
                                                "car_devices_for_mix_count": {
                                                    "type": "integer"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "id": 293421,
                                            "customer_id": 123456,
                                            "company_id": 7,
                                            "name": "Fabrikbesichtigung",
                                            "created_at": "2025-05-21T15:33:45.000000Z",
                                            "updated_at": "2025-12-20T18:54:18.000000Z",
                                            "active": 1,
                                            "index": 0,
                                            "deleted_at": null,
                                            "save_item": 1,
                                            "car_devices_count": 0,
                                            "car_devices_for_mix_count": 0
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exists"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            },
            "delete": {
                "tags": [
                    "Logbook Reason"
                ],
                "summary": "Delete Reason by ID",
                "description": "API to delete Reason by id. This will delete the reason from the db and will not be shown the next time you are entering the information for a route in your logbook. If the reason does not exists, it will return an error. Click on the 'Try it out' button to execute the call. Only admin can perform this operation",
                "operationId": "DeleteReasonByID",
                "parameters": [
                    {
                        "name": "ReasonID",
                        "in": "path",
                        "description": "Reason ID: the `id` from `GET /api/v1/logbook/reason`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 10
                    }
                ],
                "responses": {
                    "204": {
                        "description": "Success",
                        "content": {
                            "application/json": {}
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Device doest not exist"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/logbook/generateSingleDeviceRoutes/{DeviceID}": {
            "get": {
                "tags": [
                    "Logbook Routes"
                ],
                "summary": "Generate logbook routes of a single device",
                "description": "API to generate routes of a single device. In the api just pass device id to generate routes. If device is linked with a car then it will create routes under the logbook otherewise normal route. Upon sucess user will receive a success message. Click on the 'Try it out' button to execute the call",
                "operationId": "GenerateRoutes",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": "Routes created successfully"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/logbook/generateSingleDeviceAddress/{DeviceID}": {
            "get": {
                "tags": [
                    "Logbook Routes"
                ],
                "summary": "Generate addresses of logbook routes of a single device",
                "description": "API to generate addresses of a single device. In the api just pass device id and addresses of routes which are not generated will be generated. Upon sucess user will receive a success message. Click on the 'Try it out' button to execute the call",
                "operationId": "GenerateAddress",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "string"
                                        },
                                        "reload": {
                                            "type": "integer"
                                        },
                                        "current_mileage": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": "Addresses created successfully",
                                        "reload": 1,
                                        "current_mileage": "12121212"
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/logbook/getAllRoutes/{DeviceID}": {
            "get": {
                "tags": [
                    "Logbook Routes"
                ],
                "summary": "Get all routes of a device",
                "description": "API to get routes of a single device. In the api all the routes of a single device will be shown present in the logbook. The route contains the starting and ending coordinates, the distance coverted by the device and other details like the type of route and driver, company details. Routes are shown only for that user who is making a request. Return empty array if there are no routes or show error for invalid device id. Click on the 'Try it out' button to execute the call",
                "operationId": "GetRoutes",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "current_page": {
                                            "type": "integer"
                                        },
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "description": "the db id from database",
                                                        "type": "string"
                                                    },
                                                    "iddevice": {
                                                        "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                        "type": "integer"
                                                    },
                                                    "startID": {
                                                        "description": "the start time in unix timestamp",
                                                        "type": "string"
                                                    },
                                                    "endID": {
                                                        "description": "the end time in unix timestamp",
                                                        "type": "string"
                                                    },
                                                    "distance": {
                                                        "description": "the distance covered in km",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "optimized_distance": {
                                                        "description": "the distance after snapping to road",
                                                        "type": "string"
                                                    },
                                                    "manual_route": {
                                                        "description": "manual route flag",
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "route_type": {
                                                        "description": "the route type, 1 for private, 2 for towork, 3 for business and 4 for mix",
                                                        "type": "string"
                                                    },
                                                    "privateD": {
                                                        "description": "private distance",
                                                        "type": "integer"
                                                    },
                                                    "workD": {
                                                        "description": "work distance",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "toWorkD": {
                                                        "description": "to work distance",
                                                        "type": "integer"
                                                    },
                                                    "contact": {
                                                        "description": "the id of the business contact attached with the route",
                                                        "type": "string"
                                                    },
                                                    "reason": {
                                                        "description": "the id of the reason attached with the route",
                                                        "type": "string"
                                                    },
                                                    "driver": {
                                                        "description": "the id of the driver attached with the route",
                                                        "type": "string"
                                                    },
                                                    "route_milDis_changed": {
                                                        "description": "flag if mileage distance changed",
                                                        "type": "integer"
                                                    },
                                                    "start_lat": {
                                                        "description": "start latitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "start_lng": {
                                                        "description": "start longitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "end_lat": {
                                                        "description": "end latitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "end_lng": {
                                                        "description": "end longitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "start_address": {
                                                        "description": "the start address of the lat, lng of the route",
                                                        "type": "string"
                                                    },
                                                    "end_address": {
                                                        "description": "the end address of the lat, lng of the route",
                                                        "type": "string"
                                                    },
                                                    "private_mode": {
                                                        "description": "private mode flag",
                                                        "type": "integer"
                                                    },
                                                    "carDevice_id": {
                                                        "description": "the id of the logbook attached with the device",
                                                        "type": "string"
                                                    },
                                                    "mileage": {
                                                        "description": "mileage being calculated using point to point",
                                                        "type": "string"
                                                    },
                                                    "optimized_mileage": {
                                                        "description": "mileage being calculated using snap to road",
                                                        "type": "string"
                                                    },
                                                    "updated_at": {
                                                        "description": "updated at timestamp",
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "created_at": {
                                                        "description": "created at timestamp",
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "contacts": {
                                                        "description": "contacts associated with route",
                                                        "type": "object",
                                                        "nullable": true
                                                    },
                                                    "drivers": {
                                                        "description": "drivers associated with route",
                                                        "type": "object",
                                                        "nullable": true
                                                    },
                                                    "reasons": {
                                                        "description": "reasons associated with route",
                                                        "type": "object",
                                                        "nullable": true
                                                    },
                                                    "costs": {
                                                        "description": "route costs",
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "comment": {
                                                        "description": "route comment",
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "polyline_string": {
                                                        "description": "polyline string for map visualization",
                                                        "type": "string"
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "first_page_url": {
                                            "type": "string"
                                        },
                                        "from": {
                                            "type": "integer"
                                        },
                                        "last_page": {
                                            "type": "integer"
                                        },
                                        "last_page_url": {
                                            "type": "string"
                                        },
                                        "next_page_url": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "path": {
                                            "type": "string"
                                        },
                                        "per_page": {
                                            "type": "integer"
                                        },
                                        "prev_page_url": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "to": {
                                            "type": "integer"
                                        },
                                        "total": {
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "current_page": 1,
                                        "data": {
                                            "Freitag, 13 Februar, 2026": [
                                                {
                                                    "id": "698f3cbd3e7d7fc049097754 // the db id from database",
                                                    "iddevice": 1000003,
                                                    "startID": 1770991670,
                                                    "endID": 1770992762,
                                                    "distance": 4.405,
                                                    "optimized_distance": 4.682,
                                                    "manual_route": null,
                                                    "route_type": 0,
                                                    "privateD": 0,
                                                    "workD": 0,
                                                    "toWorkD": 0,
                                                    "contact": null,
                                                    "reason": null,
                                                    "driver": null,
                                                    "route_milDis_changed": 0,
                                                    "start_lat": 50.932761666666664,
                                                    "start_lng": 6.991316666666666,
                                                    "end_lat": 50.93837666666667,
                                                    "end_lng": 6.958176666666667,
                                                    "start_address": "Musterstraße 1, 50667 Köln, Deutschland",
                                                    "end_address": "Domplatz, 50667 Köln, Deutschland",
                                                    "private_mode": 0,
                                                    "carDevice_id": 8446,
                                                    "mileage": 16979.214,
                                                    "optimized_mileage": 19288.008,
                                                    "updated_at": "2026-02-13T15:01:19.447000Z",
                                                    "created_at": "2026-02-13T15:01:17.468000Z",
                                                    "contacts": null,
                                                    "drivers": null,
                                                    "reasons": null,
                                                    "costs": null,
                                                    "comment": null,
                                                    "polyline_string": ""
                                                },
                                                {
                                                    "id": "698f3cbd3e7d7fc049097755",
                                                    "iddevice": 1000003,
                                                    "startID": 1770993656,
                                                    "endID": 1770994051,
                                                    "distance": 3.532,
                                                    "optimized_distance": 3.761,
                                                    "manual_route": null,
                                                    "route_type": 0,
                                                    "privateD": 0,
                                                    "workD": 0,
                                                    "toWorkD": 0,
                                                    "contact": null,
                                                    "reason": null,
                                                    "driver": null,
                                                    "route_milDis_changed": 0,
                                                    "start_lat": 50.93837666666667,
                                                    "start_lng": 6.958176666666667,
                                                    "end_lat": 50.93277166666667,
                                                    "end_lng": 6.991333333333333,
                                                    "start_address": "Domplatz, 50667 Köln, Deutschland",
                                                    "end_address": "Musterstraße 1, 50667 Köln, Deutschland",
                                                    "private_mode": 0,
                                                    "carDevice_id": 8446,
                                                    "mileage": 16982.746,
                                                    "optimized_mileage": 19291.769,
                                                    "updated_at": "2026-02-13T15:01:19.753000Z",
                                                    "created_at": "2026-02-13T15:01:17.771000Z",
                                                    "contacts": null,
                                                    "drivers": null,
                                                    "reasons": null,
                                                    "costs": null,
                                                    "comment": null,
                                                    "polyline_string": ""
                                                }
                                            ]
                                        },
                                        "first_page_url": "/?page=1",
                                        "from": 1,
                                        "last_page": 60,
                                        "last_page_url": "/?page=60",
                                        "next_page_url": "/?page=2",
                                        "path": "/",
                                        "per_page": 7,
                                        "prev_page_url": null,
                                        "to": 7,
                                        "total": 417
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/logbook/getAllRoutes/{DeviceID}/{CarDevice_id}": {
            "get": {
                "tags": [
                    "Logbook Routes"
                ],
                "summary": "Get all routes of a device along with the linked car",
                "description": "API to get routes of a single device which is linked with a signle car. In the api all the routes of a single device which is linked with a single car will be shown present in the logbook. The route contains the starting and ending coordinates, the distance coverted by the device and other details like the type of route and driver, company details. Routes are shown only for that user who is making a request. Return empty array if there are no routes or show error for invalid device id. Click on the 'Try it out' button to execute the call",
                "operationId": "GetRoutesByCar",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "CarDevice_id",
                        "in": "path",
                        "description": "Car device ID: the `id` from `GET /api/v1/sdevice/car`.",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 101
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "Page number for paging through routes (starts at 1).",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        },
                        "example": 1
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "current_page": {
                                            "type": "integer"
                                        },
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "description": "the db id from database",
                                                        "type": "string"
                                                    },
                                                    "iddevice": {
                                                        "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                        "type": "integer"
                                                    },
                                                    "startID": {
                                                        "description": "the start time in unix timestamp",
                                                        "type": "string"
                                                    },
                                                    "endID": {
                                                        "description": "the end time in unix timestamp",
                                                        "type": "string"
                                                    },
                                                    "distance": {
                                                        "description": "the distance covered in km",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "optimized_distance": {
                                                        "description": "the distance after snapping to road",
                                                        "type": "string"
                                                    },
                                                    "manual_route": {
                                                        "description": "manual route flag",
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "route_type": {
                                                        "description": "the route type, 1 for private, 2 for towork, 3 for business and 4 for mix",
                                                        "type": "string"
                                                    },
                                                    "privateD": {
                                                        "description": "private distance",
                                                        "type": "integer"
                                                    },
                                                    "workD": {
                                                        "description": "work distance",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "toWorkD": {
                                                        "description": "to work distance",
                                                        "type": "integer"
                                                    },
                                                    "contact": {
                                                        "description": "the id of the business contact attached with the route",
                                                        "type": "string"
                                                    },
                                                    "reason": {
                                                        "description": "the id of the reason attached with the route",
                                                        "type": "string"
                                                    },
                                                    "driver": {
                                                        "description": "the id of the driver attached with the route",
                                                        "type": "string"
                                                    },
                                                    "route_milDis_changed": {
                                                        "description": "flag if mileage distance changed",
                                                        "type": "integer"
                                                    },
                                                    "start_lat": {
                                                        "description": "start latitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "start_lng": {
                                                        "description": "start longitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "end_lat": {
                                                        "description": "end latitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "end_lng": {
                                                        "description": "end longitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "start_address": {
                                                        "description": "the start address of the lat, lng of the route",
                                                        "type": "string"
                                                    },
                                                    "end_address": {
                                                        "description": "the end address of the lat, lng of the route",
                                                        "type": "string"
                                                    },
                                                    "private_mode": {
                                                        "description": "private mode flag",
                                                        "type": "integer"
                                                    },
                                                    "carDevice_id": {
                                                        "description": "the id of the logbook attached with the device",
                                                        "type": "string"
                                                    },
                                                    "mileage": {
                                                        "description": "mileage being calculated using point to point",
                                                        "type": "string"
                                                    },
                                                    "optimized_mileage": {
                                                        "description": "mileage being calculated using snap to road",
                                                        "type": "string"
                                                    },
                                                    "updated_at": {
                                                        "description": "updated at timestamp",
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "created_at": {
                                                        "description": "created at timestamp",
                                                        "type": "string",
                                                        "format": "date-time"
                                                    },
                                                    "contacts": {
                                                        "description": "contacts associated with route",
                                                        "type": "object",
                                                        "nullable": true
                                                    },
                                                    "drivers": {
                                                        "description": "drivers associated with route",
                                                        "type": "object",
                                                        "nullable": true
                                                    },
                                                    "reasons": {
                                                        "description": "reasons associated with route",
                                                        "type": "object",
                                                        "nullable": true
                                                    },
                                                    "costs": {
                                                        "description": "route costs",
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "comment": {
                                                        "description": "route comment",
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "polyline_string": {
                                                        "description": "polyline string for map visualization",
                                                        "type": "string"
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "first_page_url": {
                                            "type": "string"
                                        },
                                        "from": {
                                            "type": "integer"
                                        },
                                        "last_page": {
                                            "type": "integer"
                                        },
                                        "last_page_url": {
                                            "type": "string"
                                        },
                                        "next_page_url": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "path": {
                                            "type": "string"
                                        },
                                        "per_page": {
                                            "type": "integer"
                                        },
                                        "prev_page_url": {
                                            "type": "string",
                                            "nullable": true
                                        },
                                        "to": {
                                            "type": "integer"
                                        },
                                        "total": {
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "current_page": 1,
                                        "data": {
                                            "Freitag, 13 Februar, 2026": [
                                                {
                                                    "id": "698f3cbd3e7d7fc049097754 // the db id from database",
                                                    "iddevice": 1000003,
                                                    "startID": 1770991670,
                                                    "endID": 1770992762,
                                                    "distance": 4.405,
                                                    "optimized_distance": 4.682,
                                                    "manual_route": null,
                                                    "route_type": 0,
                                                    "privateD": 0,
                                                    "workD": 0,
                                                    "toWorkD": 0,
                                                    "contact": null,
                                                    "reason": null,
                                                    "driver": null,
                                                    "route_milDis_changed": 0,
                                                    "start_lat": 50.932761666666664,
                                                    "start_lng": 6.991316666666666,
                                                    "end_lat": 50.93837666666667,
                                                    "end_lng": 6.958176666666667,
                                                    "start_address": "Musterstraße 1, 50667 Köln, Deutschland",
                                                    "end_address": "Domplatz, 50667 Köln, Deutschland",
                                                    "private_mode": 0,
                                                    "carDevice_id": 8446,
                                                    "mileage": 16979.214,
                                                    "optimized_mileage": 19288.008,
                                                    "updated_at": "2026-02-13T15:01:19.447000Z",
                                                    "created_at": "2026-02-13T15:01:17.468000Z",
                                                    "contacts": null,
                                                    "drivers": null,
                                                    "reasons": null,
                                                    "costs": null,
                                                    "comment": null,
                                                    "polyline_string": ""
                                                },
                                                {
                                                    "id": "698f3cbd3e7d7fc049097755",
                                                    "iddevice": 1000003,
                                                    "startID": 1770993656,
                                                    "endID": 1770994051,
                                                    "distance": 3.532,
                                                    "optimized_distance": 3.761,
                                                    "manual_route": null,
                                                    "route_type": 0,
                                                    "privateD": 0,
                                                    "workD": 0,
                                                    "toWorkD": 0,
                                                    "contact": null,
                                                    "reason": null,
                                                    "driver": null,
                                                    "route_milDis_changed": 0,
                                                    "start_lat": 50.93837666666667,
                                                    "start_lng": 6.958176666666667,
                                                    "end_lat": 50.93277166666667,
                                                    "end_lng": 6.991333333333333,
                                                    "start_address": "Domplatz, 50667 Köln, Deutschland",
                                                    "end_address": "Musterstraße 1, 50667 Köln, Deutschland",
                                                    "private_mode": 0,
                                                    "carDevice_id": 8446,
                                                    "mileage": 16982.746,
                                                    "optimized_mileage": 19291.769,
                                                    "updated_at": "2026-02-13T15:01:19.753000Z",
                                                    "created_at": "2026-02-13T15:01:17.771000Z",
                                                    "contacts": null,
                                                    "drivers": null,
                                                    "reasons": null,
                                                    "costs": null,
                                                    "comment": null,
                                                    "polyline_string": ""
                                                }
                                            ],
                                            "Donnerstag, 12 Februar, 2026": [
                                                {
                                                    "id": "698efe89c5edce40830e3504",
                                                    "iddevice": 1000003,
                                                    "startID": 1770894436,
                                                    "endID": 1770896313,
                                                    "distance": 24.473,
                                                    "optimized_distance": 24.719,
                                                    "manual_route": null,
                                                    "route_type": 0,
                                                    "privateD": 0,
                                                    "workD": 0,
                                                    "toWorkD": 0,
                                                    "contact": null,
                                                    "reason": null,
                                                    "driver": null,
                                                    "route_milDis_changed": 0,
                                                    "start_lat": 50.9328,
                                                    "start_lng": 6.991366666666666,
                                                    "end_lat": 50.93272666666667,
                                                    "end_lng": 6.991316666666666,
                                                    "start_address": "Musterstraße 3, 50667 Köln, Deutschland",
                                                    "end_address": "Musterstraße 1, 50667 Köln, Deutschland",
                                                    "private_mode": 0,
                                                    "carDevice_id": 8446,
                                                    "mileage": 16967.791,
                                                    "optimized_mileage": 19275.682,
                                                    "updated_at": "2026-02-13T10:35:56.006000Z",
                                                    "created_at": "2026-02-13T10:35:53.736000Z",
                                                    "contacts": null,
                                                    "drivers": null,
                                                    "reasons": null,
                                                    "costs": null,
                                                    "comment": null,
                                                    "polyline_string": ""
                                                }
                                            ]
                                        },
                                        "first_page_url": "/?page=1",
                                        "from": 1,
                                        "last_page": 60,
                                        "last_page_url": "/?page=60",
                                        "next_page_url": "/?page=2",
                                        "path": "/",
                                        "per_page": 7,
                                        "prev_page_url": null,
                                        "to": 7,
                                        "total": 417
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/trackerdata/{DeviceID}/last_minutes": {
            "get": {
                "tags": [
                    "Tracking Data"
                ],
                "summary": "Get Device Tracking Data based on last minutes",
                "description": "API to get tracking data of the specific device based on the last minutes and sorting",
                "operationId": "LastMinutesTrackingData",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "lastMinutes",
                        "in": "query",
                        "description": "Return the positions recorded in the last N minutes.",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        },
                        "example": 60
                    },
                    {
                        "name": "gps",
                        "in": "query",
                        "description": "`1` = include GPS positions. If neither `gps` nor `wifi` is set, only GPS positions are returned. Set both to `1` to get all positions.",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ]
                        },
                        "example": 1
                    },
                    {
                        "name": "wifi",
                        "in": "query",
                        "description": "`1` = include WiFi-based positions. If neither `gps` nor `wifi` is set, only GPS positions are returned. Set both to `1` to get all positions.",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ]
                        },
                        "example": 0
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "description": "Sort by time: `desc` = newest first (default), `asc` = oldest first.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "default": "desc",
                            "enum": [
                                "desc",
                                "asc"
                            ]
                        },
                        "example": "desc"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "string"
                                                    },
                                                    "lat": {
                                                        "description": "Latitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "lng": {
                                                        "description": "Longitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "direction": {
                                                        "description": "Heading in degrees (0 = north)",
                                                        "type": "integer"
                                                    },
                                                    "dateunix": {
                                                        "description": "Unix timestamp in seconds (UTC)",
                                                        "type": "integer"
                                                    },
                                                    "battery": {
                                                        "description": "Raw battery value from the tracker. Note: some models use scheme A (0-6, where 6=100% and 1=0-20%) and others use scheme B (0-100%). See battery_level for the normalized value.",
                                                        "type": "integer"
                                                    },
                                                    "battery_level": {
                                                        "description": "Battery level normalized to 0-100%.",
                                                        "type": "integer"
                                                    },
                                                    "speed": {
                                                        "description": "Speed in km/h",
                                                        "type": "integer"
                                                    },
                                                    "iddevice": {
                                                        "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                        "type": "integer"
                                                    },
                                                    "steps": {
                                                        "description": "Step count (only trackers with a step counter, otherwise 0)",
                                                        "type": "integer"
                                                    },
                                                    "heartbeat": {
                                                        "description": "Heart rate (only trackers with a heart-rate sensor, otherwise 0)",
                                                        "type": "integer"
                                                    },
                                                    "accuracy": {
                                                        "description": "Position accuracy reported by the tracker (0 = not reported)",
                                                        "type": "integer"
                                                    },
                                                    "wifi": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "note": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "upt": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "wzp": {
                                                        "type": "boolean"
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_correct_markers": {
                                            "description": "Number of valid positions returned in `success`",
                                            "type": "integer"
                                        },
                                        "faulty_markers": {
                                            "description": "Positions with invalid coordinates (e.g. 0/0). They are left out of `success`",
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "number_of_faulty_markers": {
                                            "description": "Number of positions in `faulty_markers`",
                                            "type": "integer"
                                        },
                                        "distance": {
                                            "description": "Total distance covered by the returned positions, in km",
                                            "type": "number",
                                            "format": "float"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": "412412dsdasasfasdasd",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995714,
                                                "battery": 56,
                                                "battery_level": 56,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            },
                                            {
                                                "id": "698f400feff0470a93cd6881",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995725,
                                                "battery": 60,
                                                "battery_level": 60,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            },
                                            {
                                                "id": "698f401aeff0470a93cd85dd",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995736,
                                                "battery": 56,
                                                "battery_level": 56,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            },
                                            {
                                                "id": "698f4025eff0470a93cda376",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995746,
                                                "battery": 56,
                                                "battery_level": 56,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            }
                                        ],
                                        "number_of_correct_markers": 4,
                                        "faulty_markers": [],
                                        "number_of_faulty_markers": 0,
                                        "distance": 0
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "User not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/trackerdata/{DeviceID}/last_points": {
            "get": {
                "tags": [
                    "Tracking Data"
                ],
                "summary": "Get Device Tracking Data based on last points",
                "description": "API to get tracking data of the specific device based on the last points and sorting",
                "operationId": "LastPointsTrackingData",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "lastPoints",
                        "in": "query",
                        "description": "Return the last N positions.",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        },
                        "example": 10
                    },
                    {
                        "name": "gps",
                        "in": "query",
                        "description": "`1` = include GPS positions. If neither `gps` nor `wifi` is set, only GPS positions are returned. Set both to `1` to get all positions.",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ]
                        },
                        "example": 1
                    },
                    {
                        "name": "wifi",
                        "in": "query",
                        "description": "`1` = include WiFi-based positions. If neither `gps` nor `wifi` is set, only GPS positions are returned. Set both to `1` to get all positions.",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ]
                        },
                        "example": 0
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "description": "Sort by time: `desc` = newest first (default), `asc` = oldest first.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "default": "desc",
                            "enum": [
                                "desc",
                                "asc"
                            ]
                        },
                        "example": "desc"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "string"
                                                    },
                                                    "lat": {
                                                        "description": "Latitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "lng": {
                                                        "description": "Longitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "direction": {
                                                        "description": "Heading in degrees (0 = north)",
                                                        "type": "integer"
                                                    },
                                                    "dateunix": {
                                                        "description": "Unix timestamp in seconds (UTC)",
                                                        "type": "integer"
                                                    },
                                                    "battery": {
                                                        "description": "Raw battery value from the tracker. Note: some models use scheme A (0-6, where 6=100% and 1=0-20%) and others use scheme B (0-100%). See battery_level for the normalized value.",
                                                        "type": "integer"
                                                    },
                                                    "battery_level": {
                                                        "description": "Battery level normalized to 0-100%.",
                                                        "type": "integer"
                                                    },
                                                    "speed": {
                                                        "description": "Speed in km/h",
                                                        "type": "integer"
                                                    },
                                                    "iddevice": {
                                                        "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                        "type": "integer"
                                                    },
                                                    "steps": {
                                                        "description": "Step count (only trackers with a step counter, otherwise 0)",
                                                        "type": "integer"
                                                    },
                                                    "heartbeat": {
                                                        "description": "Heart rate (only trackers with a heart-rate sensor, otherwise 0)",
                                                        "type": "integer"
                                                    },
                                                    "accuracy": {
                                                        "description": "Position accuracy reported by the tracker (0 = not reported)",
                                                        "type": "integer"
                                                    },
                                                    "wifi": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "note": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "upt": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "wzp": {
                                                        "type": "boolean"
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_correct_markers": {
                                            "description": "Number of valid positions returned in `success`",
                                            "type": "integer"
                                        },
                                        "faulty_markers": {
                                            "description": "Positions with invalid coordinates (e.g. 0/0). They are left out of `success`",
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "number_of_faulty_markers": {
                                            "description": "Number of positions in `faulty_markers`",
                                            "type": "integer"
                                        },
                                        "distance": {
                                            "description": "Total distance covered by the returned positions, in km",
                                            "type": "number",
                                            "format": "float"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": "412412dsdasasfasdasd",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995714,
                                                "battery": 56,
                                                "battery_level": 56,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            },
                                            {
                                                "id": "698f400feff0470a93cd6881",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995725,
                                                "battery": 60,
                                                "battery_level": 60,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            },
                                            {
                                                "id": "698f401aeff0470a93cd85dd",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995736,
                                                "battery": 56,
                                                "battery_level": 56,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            },
                                            {
                                                "id": "698f4025eff0470a93cda376",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995746,
                                                "battery": 56,
                                                "battery_level": 56,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            }
                                        ],
                                        "number_of_correct_markers": 4,
                                        "faulty_markers": [],
                                        "number_of_faulty_markers": 0,
                                        "distance": 0
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "User not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/trackerdata/{DeviceID}/date_range": {
            "get": {
                "tags": [
                    "Tracking Data"
                ],
                "summary": "Get Device Tracking Data based on date range",
                "description": "API to get tracking data of the specific device based on the range: start date, end date and sorting. For now the API supports unix timestamps for date range but in the future it will support other formats as well",
                "operationId": "DateRangeTrackingData",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    },
                    {
                        "name": "dateStart",
                        "in": "query",
                        "description": "Start of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735689600
                    },
                    {
                        "name": "dateEnd",
                        "in": "query",
                        "description": "End of the time range, Unix timestamp in seconds (UTC).",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1735775999
                    },
                    {
                        "name": "gps",
                        "in": "query",
                        "description": "`1` = include GPS positions. If neither `gps` nor `wifi` is set, only GPS positions are returned. Set both to `1` to get all positions.",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ]
                        },
                        "example": 1
                    },
                    {
                        "name": "wifi",
                        "in": "query",
                        "description": "`1` = include WiFi-based positions. If neither `gps` nor `wifi` is set, only GPS positions are returned. Set both to `1` to get all positions.",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "enum": [
                                0,
                                1
                            ]
                        },
                        "example": 0
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "description": "Sort by time: `desc` = newest first (default), `asc` = oldest first.",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "default": "desc",
                            "enum": [
                                "desc",
                                "asc"
                            ]
                        },
                        "example": "desc"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "string"
                                                    },
                                                    "lat": {
                                                        "description": "Latitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "lng": {
                                                        "description": "Longitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "direction": {
                                                        "description": "Heading in degrees (0 = north)",
                                                        "type": "integer"
                                                    },
                                                    "dateunix": {
                                                        "description": "Unix timestamp in seconds (UTC)",
                                                        "type": "integer"
                                                    },
                                                    "battery": {
                                                        "description": "Raw battery value from the tracker. Note: some models use scheme A (0-6, where 6=100% and 1=0-20%) and others use scheme B (0-100%). See battery_level for the normalized value.",
                                                        "type": "integer"
                                                    },
                                                    "battery_level": {
                                                        "description": "Battery level normalized to 0-100%.",
                                                        "type": "integer"
                                                    },
                                                    "speed": {
                                                        "description": "Speed in km/h",
                                                        "type": "integer"
                                                    },
                                                    "iddevice": {
                                                        "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                        "type": "integer"
                                                    },
                                                    "steps": {
                                                        "description": "Step count (only trackers with a step counter, otherwise 0)",
                                                        "type": "integer"
                                                    },
                                                    "heartbeat": {
                                                        "description": "Heart rate (only trackers with a heart-rate sensor, otherwise 0)",
                                                        "type": "integer"
                                                    },
                                                    "accuracy": {
                                                        "description": "Position accuracy reported by the tracker (0 = not reported)",
                                                        "type": "integer"
                                                    },
                                                    "wifi": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "note": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "upt": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "wzp": {
                                                        "type": "boolean"
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_correct_markers": {
                                            "description": "Number of valid positions returned in `success`",
                                            "type": "integer"
                                        },
                                        "faulty_markers": {
                                            "description": "Positions with invalid coordinates (e.g. 0/0). They are left out of `success`",
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        },
                                        "number_of_faulty_markers": {
                                            "description": "Number of positions in `faulty_markers`",
                                            "type": "integer"
                                        },
                                        "distance": {
                                            "description": "Total distance covered by the returned positions, in km",
                                            "type": "number",
                                            "format": "float"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": "412412dsdasasfasdasd",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995714,
                                                "battery": 56,
                                                "battery_level": 56,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            },
                                            {
                                                "id": "698f400feff0470a93cd6881",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995725,
                                                "battery": 60,
                                                "battery_level": 60,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            },
                                            {
                                                "id": "698f401aeff0470a93cd85dd",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995736,
                                                "battery": 56,
                                                "battery_level": 56,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            },
                                            {
                                                "id": "698f4025eff0470a93cda376",
                                                "lat": 50.941135,
                                                "lng": 6.958916666666666,
                                                "direction": 119,
                                                "dateunix": 1770995746,
                                                "battery": 56,
                                                "battery_level": 56,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            }
                                        ],
                                        "number_of_correct_markers": 4,
                                        "faulty_markers": [],
                                        "number_of_faulty_markers": 0,
                                        "distance": 0
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "User not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/trackerdata/getalllastpositions": {
            "post": {
                "tags": [
                    "Tracking Data"
                ],
                "summary": "Get all last positions for the given devices",
                "description": "API to get all last positions of the given devices for the specific user. Enter all the device ids to get all devices that you want to see the last positions. You can also pass 'dateunix' for each device and pass parameter 'fromLastPoint', then it will get all the points starting from the dateunix to the current time. If you enter wrong device id or device which you do not have permission then it will return no last position for that device id. Click on the 'Try it out' button to execute the call",
                "operationId": "GetAllLastPositions",
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "required": [
                                    "deviceIDs"
                                ],
                                "properties": {
                                    "deviceIDs": {
                                        "description": "Array of different device ids to get the last positions",
                                        "type": "array",
                                        "items": {
                                            "type": "integer"
                                        }
                                    }
                                },
                                "type": "object",
                                "example": {
                                    "deviceIDs": [
                                        1000003,
                                        1234
                                    ],
                                    "fromLastPoint": false
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "type": "array",
                                            "items": {
                                                "properties": {
                                                    "id": {
                                                        "type": "string"
                                                    },
                                                    "lat": {
                                                        "description": "Latitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "lng": {
                                                        "description": "Longitude",
                                                        "type": "number",
                                                        "format": "float"
                                                    },
                                                    "direction": {
                                                        "description": "Heading in degrees (0 = north)",
                                                        "type": "integer"
                                                    },
                                                    "dateunix": {
                                                        "description": "Unix timestamp in seconds (UTC)",
                                                        "type": "integer"
                                                    },
                                                    "battery": {
                                                        "description": "Raw battery value from the tracker. Note: some models use scheme A (0-6, where 6=100% and 1=0-20%) and others use scheme B (0-100%). See battery_level for the normalized value.",
                                                        "type": "integer"
                                                    },
                                                    "battery_level": {
                                                        "description": "Battery level normalized to 0-100%.",
                                                        "type": "integer"
                                                    },
                                                    "speed": {
                                                        "description": "Speed in km/h",
                                                        "type": "integer"
                                                    },
                                                    "iddevice": {
                                                        "description": "Device ID (same as `id` in `GET /api/v1/device`)",
                                                        "type": "integer"
                                                    },
                                                    "steps": {
                                                        "description": "Step count (only trackers with a step counter, otherwise 0)",
                                                        "type": "integer"
                                                    },
                                                    "heartbeat": {
                                                        "description": "Heart rate (only trackers with a heart-rate sensor, otherwise 0)",
                                                        "type": "integer"
                                                    },
                                                    "accuracy": {
                                                        "description": "Position accuracy reported by the tracker (0 = not reported)",
                                                        "type": "integer"
                                                    },
                                                    "wifi": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "note": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "upt": {
                                                        "type": "string",
                                                        "nullable": true
                                                    },
                                                    "wzp": {
                                                        "type": "boolean"
                                                    }
                                                },
                                                "type": "object"
                                            }
                                        },
                                        "number_of_records": {
                                            "type": "integer"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": [
                                            {
                                                "id": "698f421ceff0470a93d2efdf",
                                                "lat": 50.93277166666667,
                                                "lng": 6.991316666666666,
                                                "direction": 58,
                                                "dateunix": 1770996250,
                                                "battery": 58,
                                                "battery_level": 58,
                                                "speed": 0,
                                                "iddevice": 1000003,
                                                "steps": 0,
                                                "heartbeat": 0,
                                                "accuracy": 0,
                                                "wifi": null,
                                                "note": null,
                                                "upt": null,
                                                "wzp": false
                                            }
                                        ],
                                        "number_of_records": 1
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Resource not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        },
        "/api/v1/sensordata/last/{DeviceID}": {
            "get": {
                "tags": [
                    "Tracking Data"
                ],
                "summary": "Get Device last Sensor data",
                "description": "API to get last voltage data of the specific device. Click on the 'Try it out' button to execute the call",
                "operationId": "LastSensorData",
                "parameters": [
                    {
                        "name": "DeviceID",
                        "in": "path",
                        "description": "**Device ID**: the `id` from `GET /api/v1/device` (e.g. 1000001). **Not the IMEI.**",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        },
                        "example": 1000001
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Success",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "properties": {
                                        "success": {
                                            "properties": {
                                                "ts": {
                                                    "properties": {
                                                        "$date": {
                                                            "properties": {
                                                                "$numberLong": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "type": "object"
                                                        }
                                                    },
                                                    "type": "object"
                                                },
                                                "volt": {
                                                    "description": "value in millivolts",
                                                    "type": "integer"
                                                },
                                                "did": {
                                                    "description": "the db id from get device endpoint",
                                                    "type": "integer"
                                                },
                                                "date_unix": {
                                                    "properties": {
                                                        "$date": {
                                                            "properties": {
                                                                "$numberLong": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "type": "object"
                                                        }
                                                    },
                                                    "type": "object"
                                                },
                                                "date_iso": {
                                                    "type": "string"
                                                }
                                            },
                                            "type": "object"
                                        }
                                    },
                                    "type": "object",
                                    "example": {
                                        "success": {
                                            "ts": {
                                                "$date": {
                                                    "$numberLong": "1770996164000"
                                                }
                                            },
                                            "volt": 12410,
                                            "did": 1000003,
                                            "date_unix": {
                                                "$date": {
                                                    "$numberLong": "1770940800000"
                                                }
                                            },
                                            "date_iso": "2026-02-13T15:22:44+00:00"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Unauthenticated"
                                    }
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid request",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "Bad request"
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found. Most common cause: the IMEI was sent instead of the Device ID (use `id` from `GET /api/v1/device`).",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "example": {
                                        "error": "User not found"
                                    }
                                }
                            }
                        }
                    }
                },
                "security": [
                    {
                        "bearerAuth": []
                    }
                ]
            }
        }
    },
    "components": {
        "responses": {
            "401": {
                "description": "Unauthorized",
                "content": {
                    "application/json": {
                        "schema": {
                            "example": {
                                "error": "Unauthenticated"
                            }
                        }
                    }
                }
            },
            "400": {
                "description": "Invalid request",
                "content": {
                    "application/json": {
                        "schema": {
                            "example": {
                                "error": "Bad request"
                            }
                        }
                    }
                }
            },
            "404": {
                "description": "Not found",
                "content": {
                    "application/json": {
                        "schema": {
                            "example": {
                                "error": "Resource not found"
                            }
                        }
                    }
                }
            }
        },
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "description": "Paste the `token` returned by `POST /api/v1/login` (without the word `Bearer`). Tokens are valid for 30 days.",
                "bearerFormat": "JWT",
                "scheme": "bearer"
            }
        }
    },
    "tags": [
        {
            "name": "Login",
            "description": "Start here: get your access token and refresh it."
        },
        {
            "name": "New",
            "description": "Recently added endpoints. Each one is also listed in its normal section."
        },
        {
            "name": "Device",
            "description": "Your trackers. GET /api/v1/device returns the Device IDs used everywhere else."
        },
        {
            "name": "Tracking Data",
            "description": "Positions and sensor data recorded by your trackers."
        },
        {
            "name": "Notifications Data",
            "description": "Alerts sent by your trackers, and marking them as read."
        },
        {
            "name": "Geofence",
            "description": "Zones that trigger an alert when a device enters or leaves them."
        },
        {
            "name": "Dashboard",
            "description": "Trip, rest, distance and sensor statistics, and PDF reports."
        },
        {
            "name": "Device Commands",
            "description": "Send commands to supported trackers. Uses the IMEI, not the Device ID."
        },
        {
            "name": "Customer",
            "description": "Your account details."
        },
        {
            "name": "Elevation",
            "description": "Elevation (height) of coordinates."
        },
        {
            "name": "Logbook Routes",
            "description": "Trips recorded for the driver's logbook."
        },
        {
            "name": "Logbook Driver",
            "description": "Drivers that can be assigned to logbook trips."
        },
        {
            "name": "Logbook Contact",
            "description": "Contacts (e.g. customers visited) used in the logbook."
        },
        {
            "name": "Logbook Reason",
            "description": "Trip reasons used in the logbook."
        },
        {
            "name": "Car Device Data",
            "description": "Link a tracker to a car for the logbook."
        },
        {
            "name": "Car Manufacturer",
            "description": "Car manufacturers available for the logbook."
        },
        {
            "name": "Car Model",
            "description": "Car models of a manufacturer."
        }
    ]
}