{
    "variable": [
        {
            "id": "baseUrl",
            "key": "baseUrl",
            "type": "string",
            "name": "string",
            "value": "https:\/\/testapi.metrotec.ee"
        }
    ],
    "info": {
        "name": "Metrotec API Documentation",
        "_postman_id": "d7f1c276-5a4d-45ca-ae39-6f24eb0a9ce9",
        "description": "",
        "schema": "https:\/\/schema.getpostman.com\/json\/collection\/v2.1.0\/collection.json"
    },
    "item": [
        {
            "name": "Alarms",
            "description": "\nAPI for alarm log reports",
            "item": [
                {
                    "name": "Get alarm log",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/alarmlog",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "2026-01-01",
                                    "description": "Date range [from, to] in YYYY-MM-DD format",
                                    "disabled": false
                                },
                                {
                                    "key": "datetime[1]",
                                    "value": "2026-01-31",
                                    "description": "Date range [from, to] in YYYY-MM-DD format",
                                    "disabled": false
                                },
                                {
                                    "key": "datetime.0",
                                    "value": "2026-01-01",
                                    "description": "Start date (must be before or equal to end date). V\u00e4li value peab olema kehtiv kuup\u00e4ev. V\u00e4li value peab olema kuup\u00e4ev enne v\u00f5i v\u00f5rdne kuup\u00e4evaga datetime.1.",
                                    "disabled": false
                                },
                                {
                                    "key": "datetime.1",
                                    "value": "2026-01-31",
                                    "description": "End date (must be after or equal to start date). V\u00e4li value peab olema kehtiv kuup\u00e4ev. V\u00e4li value peab olema kuup\u00e4ev p\u00e4rast v\u00f5i v\u00f5rdne kuup\u00e4evaga datetime.0.",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "Filter by vehicle\/object ID",
                                    "disabled": false
                                },
                                {
                                    "key": "AlertGroup[0]",
                                    "value": "1",
                                    "description": "Filter by alert group IDs",
                                    "disabled": false
                                },
                                {
                                    "key": "AlertGroup[1]",
                                    "value": "2",
                                    "description": "Filter by alert group IDs",
                                    "disabled": false
                                },
                                {
                                    "key": "AlertGroup[2]",
                                    "value": "3",
                                    "description": "Filter by alert group IDs",
                                    "disabled": false
                                },
                                {
                                    "key": "offset",
                                    "value": "0",
                                    "description": "Pagination offset",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "30",
                                    "description": "Number of records to return (default: 30)",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/alarmlog?datetime[0]=2026-01-01&datetime[1]=2026-01-31&datetime.0=2026-01-01&datetime.1=2026-01-31&object_id=ABC123&AlertGroup[0]=1&AlertGroup[1]=2&AlertGroup[2]=3&offset=0&limit=30"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns alarm events filtered by date range, object, and alert group."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get alarm history",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/alarmhistory",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "2026-01-01",
                                    "description": "Date range [from, to] in YYYY-MM-DD format",
                                    "disabled": false
                                },
                                {
                                    "key": "datetime[1]",
                                    "value": "2026-01-31",
                                    "description": "Date range [from, to] in YYYY-MM-DD format",
                                    "disabled": false
                                },
                                {
                                    "key": "datetime.0",
                                    "value": "2026-01-01",
                                    "description": "Start date (must be before or equal to end date). V\u00e4li value peab olema kehtiv kuup\u00e4ev. V\u00e4li value peab olema kuup\u00e4ev enne v\u00f5i v\u00f5rdne kuup\u00e4evaga datetime.1.",
                                    "disabled": false
                                },
                                {
                                    "key": "datetime.1",
                                    "value": "2026-01-31",
                                    "description": "End date (must be after or equal to start date). V\u00e4li value peab olema kehtiv kuup\u00e4ev. V\u00e4li value peab olema kuup\u00e4ev p\u00e4rast v\u00f5i v\u00f5rdne kuup\u00e4evaga datetime.0.",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "Filter by vehicle\/object ID",
                                    "disabled": false
                                },
                                {
                                    "key": "offset",
                                    "value": "0",
                                    "description": "Pagination offset",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "30",
                                    "description": "Number of records to return (default: 30)",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/alarmhistory?datetime[0]=2026-01-01&datetime[1]=2026-01-31&datetime.0=2026-01-01&datetime.1=2026-01-31&object_id=ABC123&offset=0&limit=30"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns sent alarm records filtered by date range and object."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get alarm groups",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/alarmgroups",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/alarmgroups"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all available alarm groups."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Send test alarm",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/testalarm",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/testalarm"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"id\":1}"
                        },
                        "description": "Sends a test alarm email and\/or SMS to the specified contact."
                    },
                    "response": []
                },
                {
                    "name": "List alarm configurations",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/alarmconfig",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/alarmconfig"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create alarm configuration",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/alarmconfig",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/alarmconfig"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"Name\":\"Speed Alert\",\"email\":\"alerts@example.com\",\"Active\":true,\"sms\":\"5555555\",\"country_code\":\"+372\",\"alarms\":[1,2,3]}"
                        },
                        "description": ""
                    },
                    "response": []
                },
                {
                    "name": "Get alarm configuration",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/alarmconfig\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/alarmconfig\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the alarmconfig."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update alarm configuration",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/alarmconfig\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/alarmconfig\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the alarmconfig."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"Name\":\"Speed Alert\",\"email\":\"alerts@example.com\",\"Active\":true,\"sms\":\"5555555\",\"country_code\":\"+372\",\"alarms\":[1,2,3]}"
                        },
                        "description": ""
                    },
                    "response": []
                },
                {
                    "name": "Delete alarm configuration",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/alarmconfig\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/alarmconfig\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the alarmconfig."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": []
                }
            ]
        },
        {
            "name": "Booking",
            "description": "\nBooking retrieval",
            "item": [
                {
                    "name": "List bookings",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/booking",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/booking"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"mq\":\"desktop\",\"day\":\"2025-01-15 00:00:00\"}"
                        },
                        "description": "Returns all bookings. Use mq=mobile to get grouped percentage data."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"object_id\": \"123\", \"driver_id\": 1, \"start_time\": \"2025-01-15 08:00:00\"}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get booking",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/booking\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/booking\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the booking."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single booking by ID."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": {\"id\": 1, \"object_id\": \"123\", \"driver_id\": 1}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get grouped bookings",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/bookinggrouped",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/bookinggrouped"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns booking data grouped by day with occupancy percentage and ownership flag."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": {\"2025\/01\/15\": {\"percent\": 45, \"hasOwn\": true}}}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "List booking vehicles",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/bookingobjects",
                            "query": [
                                {
                                    "key": "driver_id",
                                    "value": "1",
                                    "description": "Filter available vehicles by driver.",
                                    "disabled": false
                                },
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "id",
                                    "value": "1",
                                    "description": "Booking ID to exclude from availability check (used when editing).",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/bookingobjects?driver_id=1&datetime[0]=architecto&id=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all bookable vehicles or available vehicles for a given datetime period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": \"ABC123\", \"alias\": \"Truck 1\"}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "List booking log entries",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/bookinglog",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "offset",
                                    "value": "0",
                                    "description": "Number of records to skip. V\u00e4li value peab olema v\u00e4hemalt -1.",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "30",
                                    "description": "Maximum number of records to return. V\u00e4li value peab olema v\u00e4hemalt 1.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/bookinglog?datetime[0]=architecto&offset=0&limit=30"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns booking log entries for the given datetime period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"oid\": \"user1\", \"datet\": \"2025-01-15 08:00:00\", \"action\": \"SAVE\", \"description\": \"...\", \"booking_id\": 1}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get a booking report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/bookingreport",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "Filter report by vehicle object ID. Must contain only letters and numbers. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/bookingreport?datetime[0]=architecto&object_id=ABC123"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns booking records enriched with driven distance (km) for the given period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"object_id\": \"ABC123\", \"driver_id\": \"1\", \"start_time\": \"2025-01-15 08:00:00\", \"stop_time\": \"2025-01-15 17:00:00\", \"name\": \"John Doe\", \"tehnKontakt\": \"+372 555 1234\", \"memo\": null, \"km\": 125.4}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Create a booking",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/booking",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/booking"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"driver_id\":1,\"purpose\":\"Delivery\",\"start_time\":\"2025-01-15 08:00:00\",\"stop_time\":\"2025-01-15 17:00:00\"}"
                        },
                        "description": "Creates a new booking with automatic pin generation. The booking period must be in the future.\nSends a confirmation email to the authenticated user."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\": {\"id\": 1, \"object_id\": \"ABC123\", \"alias\": \"Truck 1\", \"driver_id\": 1, \"driverName\": \"John Doe\", \"start_time\": \"2025-01-15 08:00:00\", \"stop_time\": \"2025-01-15 17:00:00\", \"user_id\": \"user1\", \"comment\": null, \"pin\": \"1234\"}}",
                            "name": "Created"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"Period_Must_Be_Future\"}",
                            "name": "Period not future"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"Driver_Or_Vehicle_Is_Busy\"}",
                            "name": "Conflict"
                        }
                    ]
                },
                {
                    "name": "Update a booking",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/booking\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/booking\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the booking."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"driver_id\":1,\"purpose\":\"Delivery\",\"start_time\":\"2025-01-15 08:00:00\",\"stop_time\":\"2025-01-15 17:00:00\"}"
                        },
                        "description": "Updates an existing booking. The stop time must be in the future.\nSends a notification email to the authenticated user."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": {\"id\": 1, \"object_id\": \"ABC123\", \"alias\": \"Truck 1\", \"driver_id\": 1, \"driverName\": \"John Doe\", \"start_time\": \"2025-01-15 08:00:00\", \"stop_time\": \"2025-01-15 17:00:00\", \"user_id\": \"user1\", \"comment\": null, \"pin\": \"1234\"}}",
                            "name": "Updated"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"Period_Stop_Must_Be_Future\"}",
                            "name": "Period finished"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"Driver_Or_Vehicle_Is_Busy\"}",
                            "name": "Conflict"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Delete a booking",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/booking\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/booking\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the booking."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a booking. The booking period must be in the future (past bookings cannot be deleted).\nSends a cancellation email to the authenticated user."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "",
                            "name": "Deleted"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"Period_Must_Be_Future\"}",
                            "name": "Period not future"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Brigades",
            "description": "\nBrigade management",
            "item": [
                {
                    "name": "List brigades",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/brigades",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/brigades"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all brigades."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"brigName\": \"Morning Shift\"}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get brigade",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/brigades\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/brigades\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the brigade."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single brigade by ID."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": {\"id\": 1, \"brigName\": \"Morning Shift\"}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create a brigade",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/brigades",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/brigades"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"brigName\":\"Morning Shift\"}"
                        },
                        "description": "Creates a new brigade."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\": {\"id\": 1, \"brigName\": \"Morning Shift\"}}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Update brigade",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/brigades\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/brigades\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the brigade."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"brigName\":\"Morning Shift\"}"
                        },
                        "description": "Updates an existing brigade."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Updated\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Delete brigade",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/brigades\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/brigades\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the brigade."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a brigade."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Deleted\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "DDD",
            "description": "\nDDD Account management",
            "item": [
                {
                    "name": "Get DDD account",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/dddaccount",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/dddaccount"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the DDD account information for the owner."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": {\"id\": 1, \"expiryDate\": \"2025-12-31\"}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not Found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Download multiple DDD files",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/ddddownload",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/ddddownload"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":[16],\"DriverID\":[\"architecto\"],\"file_type\":7,\"datetime\":[\"2026-02-26T15:34:40\"],\"limit\":30}"
                        },
                        "description": "Downloads multiple DDD files as a ZIP archive based on filters."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "Binary ZIP content",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 422,
                            "body": "{\"message\": \"Validation error\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Download a single DDD file",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/ddddownload\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/ddddownload\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "123",
                                    "description": "The DDD file ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Downloads a single DDD file as a ZIP archive."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "Binary ZIP content",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\": \"Not_Found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "List DDD drivers",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/ddddrivers",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/ddddrivers"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"archive\":false,\"limit\":30}"
                        },
                        "description": "Returns a list of drivers with DDD card information."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"name\": \"John\", \"fname\": \"Doe\", \"driverName\": \"John Doe\", \"driverCardId\": \"ABC123\", \"refreshRate\": 30}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get DDD driver",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/ddddrivers\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/ddddrivers\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The driver ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single driver with DDD card information."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": {\"id\": 1, \"name\": \"John\", \"fname\": \"Doe\", \"driverName\": \"John Doe\", \"driverCardId\": \"ABC123\", \"refreshRate\": 30}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not Found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update DDD drivers",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/ddddrivers",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/ddddrivers"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"refreshRate\":30,\"archive\":\"0\"}"
                        },
                        "description": "Updates the refresh rate for all drivers belonging to the owner."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"refreshRate\": 30}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "List DDD vehicles",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/dddvehicles",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/dddvehicles"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"limit\":30}"
                        },
                        "description": "Returns a list of vehicles with DDD information and tacho data."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"alias\": \"Truck 1\", \"refreshRate\": 30}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get DDD vehicle",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/dddvehicles\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/dddvehicles\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The vehicle\/object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single vehicle with DDD information."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": {\"id\": 1, \"alias\": \"Truck 1\", \"refreshRate\": 30, \"ins_date\": \"2025-01-15 10:00:00\"}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not Found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update DDD vehicles",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/dddvehicles",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/dddvehicles"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"refreshRate\":30}"
                        },
                        "description": "Updates the refresh rate for all vehicles belonging to the owner."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"refreshRate\": 30}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "List DDD files",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/dddfiles",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/dddfiles"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":[16],\"DriverID\":[\"architecto\"],\"file_type\":7,\"datetime\":[\"2026-02-26T15:34:40\"],\"offset\":0,\"archive\":false,\"limit\":30,\"latest\":false}"
                        },
                        "description": "Returns a list of downloaded DDD files with optional filtering."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"object_id\": 123, \"file_type\": 7, \"start\": \"2025-01-01 00:00:00\", \"end\": \"2025-01-15 23:59:59\"}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "List DDD logs",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/dddlog",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/dddlog"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"123\",\"datetime\":[\"2026-02-26T15:34:40\"],\"offset\":0,\"limit\":30}"
                        },
                        "description": "Returns DDD activity logs including file downloads and requests."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"object_id\": 123, \"ins_date\": \"2025-01-15 10:00:00\", \"log\": \"File downloaded\"}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "List driver status records",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/ddddriversstatus",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/ddddriversstatus"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"123\",\"driver_id\":1,\"datetime\":[\"2026-02-26T15:34:40\"]}"
                        },
                        "description": "Returns driver status records for the given period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"object_id\": 123, \"time\": \"2025-01-15 10:00:00\", \"status\": 1, \"driver_name\": \"John Doe\"}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get driver status summary",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/ddddriversstatus\/summary",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/ddddriversstatus\/summary"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"123\",\"driver_id\":1,\"datetime\":[\"2026-02-26T15:34:40\"]}"
                        },
                        "description": "Returns aggregated status summary with time spent in each status."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"1\": 3600, \"2\": 7200, \"route_length\": 150.5}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Create a DDD request",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/dddrequests",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/dddrequests"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"123\",\"file_type\":7,\"start\":\"2025-01-01 00:00:00\",\"end\":\"2025-01-31 23:59:59\"}"
                        },
                        "description": "Creates a new DDD file download request for a vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\": {\"id\": 1, \"object_id\": \"123\", \"file_type\": 7, \"handled\": 0}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"Request_In_Progress\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create DDD log request",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/dddrequest",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/dddrequest"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"123\"}"
                        },
                        "description": "Creates a new DDD log request entry to track download sessions."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\": {\"id\": 1, \"object_id\": \"123\", \"sender\": \"user@example.com\"}}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Close DDD log request",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/dddrequest\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/dddrequest\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The log request ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Marks a DDD log request as closed by setting the stop time."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": {\"id\": 1, \"object_id\": \"123\", \"stop_time\": \"2025-01-15 10:00:00\"}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not Found\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Drivers",
            "description": "",
            "item": [
                {
                    "name": "Closed Registrations",
                    "description": "Closed driver-vehicle registration records filtered by period.",
                    "item": [
                        {
                            "name": "List closed registrations",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/closedreg",
                                    "query": [
                                        {
                                            "key": "datetime[0]",
                                            "value": "architecto",
                                            "description": "",
                                            "disabled": false
                                        },
                                        {
                                            "key": "driver_id",
                                            "value": "42",
                                            "description": "Filter by driver ID.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "object_id",
                                            "value": "ABC123",
                                            "description": "Filter by vehicle object ID. Must contain only letters, numbers, dashes and underscores. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "offset",
                                            "value": "0",
                                            "description": "Pagination offset. Use -1 to return all records.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "limit",
                                            "value": "30",
                                            "description": "Number of records to return.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/closedreg?datetime[0]=architecto&driver_id=42&object_id=ABC123&offset=0&limit=30"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns closed driver-vehicle registrations for a given date period with optional filters and engine working time."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"object_id\":\"ABC123\",\"driver_id\":42,\"name\":\"John\",\"fname\":\"Doe\",\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":\"2026-01-15 17:00:00\",\"code\":\"A1\",\"mode\":1,\"m_on\":\"08:30:00\"}]",
                                    "name": "Success"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "QR Codes",
                    "description": "Generate QR code images for vehicle objects.",
                    "item": [
                        {
                            "name": "Generate QR code",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/qrcode\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/qrcode\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a PNG image of a QR code containing the given object ID."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "<Binary PNG image>",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"ObjectNotAllowed\"}",
                                    "name": "Forbidden"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Vehicle Registration (QR Code)",
                    "description": "Register and unregister driver-vehicle assignments via QR code scanning.",
                    "item": [
                        {
                            "name": "List the recent registrations",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicledriversqr",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicledriversqr"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns the last 10 driver-vehicle registration records for the current driver."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"object_id\":\"ABC123\",\"driver_id\":42,\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":\"2026-01-15 17:00:00\"}]",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"No_Driver_Id\"}",
                                    "name": "No driver ID"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"Drivers_Only\"}",
                                    "name": "Not a driver"
                                }
                            ]
                        },
                        {
                            "name": "Register a vehicle",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicledriversqr",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicledriversqr"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"check_id\":1}"
                                },
                                "description": "Creates a new driver-vehicle registration via QR code. Auto-closes any existing registration for the vehicle. Requires a vehicle status check if the VehStatusCheck module is active."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"driver_id\":42,\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":null}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Driver_Is_Busy\"}",
                                    "name": "Driver busy"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Driver_Is_Already_Registered\"}",
                                    "name": "Already registered"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Vehicle_Already_In_Repair\"}",
                                    "name": "In repair"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Veh_Check_Missing\"}",
                                    "name": "Check missing"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"ObjectNotAllowed\"}",
                                    "name": "Object not allowed"
                                }
                            ]
                        },
                        {
                            "name": "Close registration",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicledriversqr",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicledriversqr"
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Closes the active driver-vehicle registration. If no active registration exists, returns the last closed record."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"driver_id\":42,\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":\"2026-01-15 17:00:00\"}",
                                    "name": "Closed"
                                },
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"driver_id\":42,\"startUse\":\"2026-01-14 08:00:00\",\"stopUse\":\"2026-01-14 17:00:00\"}",
                                    "name": "No active"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"Drivers_Only\"}",
                                    "name": "Not a driver"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Vehicle Registration (Booking)",
                    "description": "Register driver-vehicle assignments via booking records.",
                    "item": [
                        {
                            "name": "Register a vehicle via booking",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicledriversbooking",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicledriversbooking"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"booking_id\":1}"
                                },
                                "description": "Creates a new driver-vehicle registration from a booking record. Validates that the booking period is current and the driver matches the booking assignment."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"driver_id\":42,\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":null}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Period_Must_Be_Now\"}",
                                    "name": "Period not current"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Driver_Is_Busy\"}",
                                    "name": "Driver busy"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Driver_Is_Already_Registered\"}",
                                    "name": "Already registered"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"NotAllowed\"}",
                                    "name": "Driver mismatch"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"NotFound\"}",
                                    "name": "Booking not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Registration Edit",
                    "description": "Edit fuel data on driver-vehicle registration records.",
                    "item": [
                        {
                            "name": "Update fuel data",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicle\/drivers\/edit\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicle\/drivers\/edit\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The registration record ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"fuelStart\":45.5,\"fuelEnd\":30.2,\"billFuel\":15.3}"
                                },
                                "description": "Updates fuel fields (fuelStart, fuelEnd, billFuel) on a driver-vehicle registration record. Requires extended user permissions."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"driver_id\":42,\"name\":\"John\",\"fname\":\"Doe\",\"driverCode\":\"A1\",\"code\":\"QR1\",\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":\"2026-01-15 17:00:00\",\"fuelStart\":45.5,\"fuelEnd\":30.2,\"billFuel\":15.3}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"NotAllowed\"}",
                                    "name": "Not allowed"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Vehicle Registrations",
                    "description": "Manage driver-vehicle registration records (manual assignment by dispatchers).",
                    "item": [
                        {
                            "name": "List active registrations",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicle\/drivers",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicle\/drivers"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all currently active (open) driver-vehicle registration records."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"object_id\":\"ABC123\",\"driver_id\":42,\"name\":\"John\",\"fname\":\"Doe\",\"code\":\"A1\",\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":null}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Get registration",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicle\/drivers\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicle\/drivers\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The registration record ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single driver-vehicle registration record by ID."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"driver_id\":42,\"name\":\"John\",\"fname\":\"Doe\",\"code\":\"A1\",\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":\"2026-01-15 17:00:00\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create registration",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicle\/drivers",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicle\/drivers"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":\"2026-01-15 17:00:00\",\"driver_id\":42}"
                                },
                                "description": "Creates a new driver-vehicle registration. Validates that the period is valid and neither the vehicle nor driver is currently busy."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"driver_id\":42,\"name\":\"John\",\"fname\":\"Doe\",\"code\":\"A1\",\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":null}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Wrong_Period\"}",
                                    "name": "Wrong period"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Vehicle_Is_Busy\"}",
                                    "name": "Vehicle busy"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Driver_Is_Busy\"}",
                                    "name": "Driver busy"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Driver not found"
                                }
                            ]
                        },
                        {
                            "name": "Update registration",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicle\/drivers\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicle\/drivers\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The registration record ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":\"2026-01-15 17:00:00\",\"driver_id\":42}"
                                },
                                "description": "Updates an existing driver-vehicle registration record. Validates period and driver availability when changing the driver."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"driver_id\":42,\"name\":\"John\",\"fname\":\"Doe\",\"code\":\"A1\",\"startUse\":\"2026-01-15 08:00:00\",\"stopUse\":\"2026-01-15 17:00:00\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Wrong_Period\"}",
                                    "name": "Wrong period"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Driver_Is_Busy_Long\"}",
                                    "name": "Driver busy"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Delete registration",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicle\/drivers\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicle\/drivers\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The registration record ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Deletes a driver-vehicle registration record."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"Constraint_violation\"}",
                                    "name": "Constraint violation"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Driver Keys",
                    "description": "Manage driver identification keys (RFID, iButton, etc.).",
                    "item": [
                        {
                            "name": "List all keys",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/driverkeys",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/driverkeys"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all driver keys with associated driver and user information."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"name\":\"Main Key\",\"code\":\"KEY001\",\"type\":1,\"driver\":1,\"dr_id\":42,\"driverName\":\"John\",\"fname\":\"Doe\",\"driverCardId\":\"DC001\",\"user\":\"USR1\",\"userName\":\"Admin\"}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Get a key",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/driverkeys\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/driverkeys\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The key record ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single driver key record by ID with the decoded change log."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"name\":\"Main Key\",\"code\":\"KEY001\",\"type\":1,\"driver\":1,\"dr_id\":null,\"driverName\":null,\"fname\":null,\"driverCardId\":null,\"user\":null,\"userName\":null}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create a key",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/driverkeys",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/driverkeys"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Main Key\",\"code\":\"KEY001\",\"type\":1}"
                                },
                                "description": "Creates a new driver key record."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"name\":\"Main Key\",\"code\":\"KEY001\",\"type\":1,\"driver\":null,\"dr_id\":null,\"driverName\":null,\"fname\":null,\"driverCardId\":null,\"user\":null,\"userName\":null}",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Update key",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/driverkeys\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/driverkeys\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The key record ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Main Key\",\"code\":\"KEY001\",\"driver\":1,\"type\":1}"
                                },
                                "description": "Updates a driver key record. Only changed fields are persisted and logged."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"name\":\"Updated Key\",\"code\":\"KEY001\",\"type\":1,\"driver\":1}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Delete key",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/driverkeys\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/driverkeys\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The key record ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Deletes a driver key record."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"Constraint_violation\"}",
                                    "name": "Constraint violation"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Drivers",
                    "description": "Manage driver records with key assignment tracking and change logging.",
                    "item": [
                        {
                            "name": "List drivers",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/drivers",
                                    "query": [
                                        {
                                            "key": "usersOnly",
                                            "value": "1",
                                            "description": "Filter by user association (0 = without users, 1 = with users).",
                                            "disabled": false
                                        },
                                        {
                                            "key": "archive",
                                            "value": "0",
                                            "description": "Include archived drivers (0 = active only, 1 = include archived).",
                                            "disabled": true
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/drivers?usersOnly=1&archive=0"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all drivers with optional filtering by user association and archive status."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"name\":\"John\",\"fname\":\"Doe\",\"full_name\":\"John Doe\",\"gsm\":\"+37255512345\",\"comment\":\"Senior driver\",\"p1\":null,\"p2\":null,\"p3\":null,\"user_id\":null,\"driverCardId\":\"DC001\",\"key_id\":1,\"code\":\"KEY001\",\"keyName\":\"Main Key\",\"driver\":1,\"archive\":0}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Get the driver",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/drivers\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/drivers\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The driver record ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single driver record by ID with a decoded change log."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"name\":\"John\",\"fname\":\"Doe\",\"full_name\":\"John Doe\",\"gsm\":\"+37255512345\",\"comment\":null,\"p1\":null,\"p2\":null,\"p3\":null,\"user_id\":null,\"driverCardId\":\"DC001\",\"key_id\":1,\"code\":\"KEY001\",\"keyName\":\"Main Key\",\"driver\":1,\"archive\":0}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create the driver",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/drivers",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/drivers"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"John\",\"fname\":\"Doe\",\"gsm\":\"+37255512345\",\"comment\":\"Senior driver\",\"key_id\":1,\"p1\":\"Value 1\",\"p2\":\"Value 2\",\"p3\":\"Value 3\",\"archive\":0}"
                                },
                                "description": "Creates a new driver record. If a key_id is provided and already assigned to another driver, the key is released from the previous driver first."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"name\":\"John\",\"fname\":\"Doe\",\"full_name\":\"John Doe\",\"gsm\":\"+37255512345\",\"comment\":null,\"p1\":null,\"p2\":null,\"p3\":null,\"user_id\":null,\"driverCardId\":null,\"key_id\":1,\"code\":\"KEY001\",\"keyName\":\"Main Key\",\"driver\":1,\"archive\":0}",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Update driver",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/drivers\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/drivers\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The driver record ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"John\",\"fname\":\"Doe\",\"gsm\":\"+37255512345\",\"comment\":\"Senior driver\",\"key_id\":1,\"p1\":\"Value 1\",\"p2\":\"Value 2\",\"p3\":\"Value 3\",\"archive\":0}"
                                },
                                "description": "Updates a driver record. Handles key reassignment with logging when key_id changes."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"name\":\"John\",\"fname\":\"Doe\",\"full_name\":\"John Doe\",\"gsm\":\"+37255512345\",\"comment\":null,\"p1\":null,\"p2\":null,\"p3\":null,\"user_id\":null,\"driverCardId\":\"DC001\",\"key_id\":1,\"code\":\"KEY001\",\"keyName\":\"Main Key\",\"driver\":1,\"archive\":0}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Delete (archive) driver",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/drivers\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/drivers\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The driver record ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Archives a driver record, releases assigned key, and cleans up DDD files."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Export API",
            "description": "\nExport API for retrieving last data (current vehicle positions and status).",
            "item": [
                {
                    "name": "List all last data (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/lastdata",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/lastdata"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the latest data for all vehicles accessible by the authenticated user."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"alias\":\"Truck 1\",\"Xpos\":\"24.75\",\"Ypos\":\"59.43\",\"Counter1\":50.5,\"Counter2\":0,\"GMTime\":\"2025-01-15 14:30:00\",\"Speed\":60,\"Heading\":180,\"Input\":0,\"LastCommunicationLocalTime\":\"2025-01-15 16:30:00\",\"Content\":\"\",\"Power\":12.5,\"BatLevel\":4.2,\"NoGPSFix\":0,\"t1\":0,\"t2\":0,\"t3\":0,\"t4\":0,\"Counter\":1475,\"GroupID\":1,\"GroupName\":\"Trucks\",\"Odo\":150000,\"MotoHrs\":3500,\"status\":null}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Show last data by vehicle (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/lastdata\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/lastdata\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the latest data for a specific vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"ID\":1,\"objectID\":\"ABC123\",\"alias\":\"Truck 1\",\"Xpos\":\"24.75\",\"Ypos\":\"59.43\",\"Counter1\":50.5,\"Counter2\":0,\"GMTime\":\"2025-01-15 14:30:00\",\"Speed\":60,\"Heading\":180,\"Input\":0,\"LastCommunicationLocalTime\":\"2025-01-15 16:30:00\",\"Content\":\"\",\"Power\":12.5,\"BatLevel\":4.2,\"NoGPSFix\":0,\"t1\":0,\"t2\":0,\"t3\":0,\"t4\":0,\"Counter\":1475,\"GroupID\":1,\"GroupName\":\"Trucks\",\"Odo\":150000,\"MotoHrs\":3500,\"status\":null}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Vehicle_Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "List all drive reports (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/drivereport\/:start\/:stop",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/drivereport\/:start\/:stop",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns drive reports for all vehicles within a date range. The maximum period is 7 days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"startTime\":\"2025-01-15 08:30:00\",\"previousStopTime\":\"2025-01-15 08:00:00\",\"stopTime\":\"2025-01-15 09:15:00\",\"stopEnd\":\"2025-01-15 09:20:00\",\"routeLengthKM\":45.2,\"drivingTimeSeconds\":2700,\"pauseTimeSeconds\":300,\"averageSpeed\":60,\"maxSpeed\":90,\"AddressAtStartingPoint\":\"Main St 1\",\"AddressAtEndPoint\":\"Oak Ave 5\",\"status\":0,\"driverCardId\":\"DRV001\",\"driverName\":\"John Doe\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        }
                    ]
                },
                {
                    "name": "Show drive reports by vehicle (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/drivereport\/:start\/:stop\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/drivereport\/:start\/:stop\/:id",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns drive reports for a specific vehicle within a date range. The maximum period is 7 days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"startTime\":\"2025-01-15 08:30:00\",\"previousStopTime\":\"2025-01-15 08:00:00\",\"stopTime\":\"2025-01-15 09:15:00\",\"stopEnd\":\"2025-01-15 09:20:00\",\"routeLengthKM\":45.2,\"drivingTimeSeconds\":2700,\"pauseTimeSeconds\":300,\"averageSpeed\":60,\"maxSpeed\":90,\"AddressAtStartingPoint\":\"Main St 1\",\"AddressAtEndPoint\":\"Oak Ave 5\",\"status\":0,\"driverCardId\":\"DRV001\",\"driverName\":\"John Doe\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Vehicle_Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "List all fuel reports (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/fuelreport\/:start\/:stop",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/fuelreport\/:start\/:stop",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns fuel reports for all vehicles within a date range. The maximum period is 7 days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"startTime\":\"2025-01-15 08:00:00\",\"stopTime\":\"2025-01-15 08:30:00\",\"maxTime\":\"2025-01-15 08:30:00\",\"fuelBeforeL\":120.5,\"fuelAfterL\":180.0,\"routeLengthKM\":25.3,\"fuelAddress\":\"Main St 1\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        }
                    ]
                },
                {
                    "name": "Show fuel reports by vehicle (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/fuelreport\/:start\/:stop\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/fuelreport\/:start\/:stop\/:id",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns fuel reports for a specific vehicle within a date range. The maximum period is 7 days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"startTime\":\"2025-01-15 08:00:00\",\"stopTime\":\"2025-01-15 08:30:00\",\"maxTime\":\"2025-01-15 08:30:00\",\"fuelBeforeL\":120.5,\"fuelAfterL\":180.0,\"routeLengthKM\":25.3,\"fuelAddress\":\"Main St 1\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Vehicle_Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "List all engine reports (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/enginereport\/:start\/:stop",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/enginereport\/:start\/:stop",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns engine reports for all vehicles within a date range. The maximum period is 7 days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"startTime\":\"2025-01-15 08:00:00\",\"stopTime\":\"2025-01-15 09:30:00\",\"stopEnd\":\"2025-01-15 09:35:00\",\"runningTime\":\"01:30:00\",\"input\":7,\"status\":0,\"distance\":45.2,\"fuel\":12.5}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        }
                    ]
                },
                {
                    "name": "Show engine reports by vehicle (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/enginereport\/:start\/:stop\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/enginereport\/:start\/:stop\/:id",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns engine reports for a specific vehicle within a date range. The maximum period is 7 days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"startTime\":\"2025-01-15 08:00:00\",\"stopTime\":\"2025-01-15 09:30:00\",\"stopEnd\":\"2025-01-15 09:35:00\",\"runningTime\":\"01:30:00\",\"input\":7,\"status\":0,\"distance\":45.2,\"fuel\":12.5}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Vehicle_Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Show route log entry (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/routelog\/:start\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/routelog\/:start\/:id",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the last route log entry before the given time for a specific vehicle,\nincluding reverse geocoded location."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"GMTime\":\"2025-01-15 07:58:00\",\"fuel\":120.5,\"lat\":\"59.43\",\"lon\":\"24.75\",\"input\":64,\"t1\":21,\"t2\":0,\"t3\":0,\"t4\":0,\"location\":\"Estonia, Tallinn, Main St 1\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Vehicle_Not_Found\"}",
                            "name": "Not found"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Data_Not_Found\"}",
                            "name": "No data"
                        }
                    ]
                },
                {
                    "name": "List all driver assignments (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/drivers\/:start\/:stop",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/drivers\/:start\/:stop",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns driver-vehicle assignments for all vehicles within a date range. The maximum period is 7 days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"objectID\":\"ABC123\",\"startUse\":\"2025-01-15 08:00:00\",\"stopUse\":\"2025-01-15 17:00:00\",\"name\":\"John Doe\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        }
                    ]
                },
                {
                    "name": "Show driver assignments by vehicle (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/drivers\/:start\/:stop\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/drivers\/:start\/:stop\/:id",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns driver-vehicle assignments for a specific vehicle within a date range. The maximum period is 7 days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"objectID\":\"ABC123\",\"startUse\":\"2025-01-15 08:00:00\",\"stopUse\":\"2025-01-15 17:00:00\",\"name\":\"John Doe\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Vehicle_Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "List all stock data (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/stockdata",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/stockdata"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the latest stock data for all vehicles accessible by the authenticated user.\nIncludes tank and customer mapping information."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"alias\":\"Tank 1\",\"Xpos\":\"24.75\",\"Ypos\":\"59.43\",\"Counter1\":50.5,\"Counter2\":0,\"GMTime\":\"2025-01-15 14:30:00\",\"Speed\":0,\"Heading\":180,\"Input\":0,\"LastCommunicationLocalTime\":\"2025-01-15 16:30:00\",\"Content\":\"\",\"Power\":12.5,\"BatLevel\":4.2,\"NoGPSFix\":0,\"t1\":0,\"t2\":0,\"t3\":0,\"t4\":0,\"Counter\":1475,\"GroupID\":1,\"GroupName\":\"Tanks\",\"Odo\":0,\"MotoHrs\":0,\"status\":null,\"CustomerID\":\"CUST001\",\"TankNr\":\"T-100\",\"next_refill_time\":\"2025-01-20 08:00:00\",\"tank_vol\":5000}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Show stock data by vehicle (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/stockdata\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/stockdata\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the latest stock data for a specific vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"ID\":1,\"objectID\":\"ABC123\",\"alias\":\"Tank 1\",\"Xpos\":\"24.75\",\"Ypos\":\"59.43\",\"Counter1\":50.5,\"Counter2\":0,\"GMTime\":\"2025-01-15 14:30:00\",\"Speed\":0,\"Heading\":180,\"Input\":0,\"LastCommunicationLocalTime\":\"2025-01-15 16:30:00\",\"Content\":\"\",\"Power\":12.5,\"BatLevel\":4.2,\"NoGPSFix\":0,\"t1\":0,\"t2\":0,\"t3\":0,\"t4\":0,\"Counter\":1475,\"GroupID\":1,\"GroupName\":\"Tanks\",\"Odo\":0,\"MotoHrs\":0,\"status\":null,\"CustomerID\":\"CUST001\",\"TankNr\":\"T-100\",\"next_refill_time\":\"2025-01-20 08:00:00\",\"tank_vol\":5000}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Vehicle_Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Files",
            "description": "\nAPIs for managing files",
            "item": [
                {
                    "name": "Get all files for a pivot",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/files",
                            "query": [
                                {
                                    "key": "pivot_type",
                                    "value": "route_tasks",
                                    "description": "The entity type",
                                    "disabled": false
                                },
                                {
                                    "key": "pivot_id",
                                    "value": "12345",
                                    "description": "The entity ID",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/files?pivot_type=route_tasks&pivot_id=12345"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\n  {\n    \"id\": 1,\n    \"pivot_id\": \"12345\",\n    \"pivot_type\": \"route_tasks\",\n    \"defined_name\": \"document.pdf\",\n    \"mime\": \"application\/pdf\",\n    \"file_type\": \"other\",\n    \"uploaded_at\": \"2025-11-28T10:00:00.000000Z\",\n    \"url\": \"https:\/\/api.example.com\/cli_img\/metrotec_12345_abc123.pdf\"\n  }\n]",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Upload a new file",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/files",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/files"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "multipart\/form-data"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "pivot_type",
                                    "value": "route_tasks",
                                    "type": "text",
                                    "description": "Type of entity the file belongs to."
                                },
                                {
                                    "key": "pivot_id",
                                    "value": "12345",
                                    "type": "text",
                                    "description": "ID of the entity the file belongs to. V\u00e4li value ei tohi olla pikem kui 255 t\u00e4hem\u00e4rki."
                                },
                                {
                                    "key": "max_files",
                                    "value": "5",
                                    "type": "text",
                                    "description": "Maximum number of files allowed for this entity. V\u00e4li value peab olema v\u00e4hemalt 1."
                                },
                                {
                                    "key": "hidden",
                                    "value": "",
                                    "type": "text",
                                    "description": "Whether the file should be hidden."
                                },
                                {
                                    "key": "file_type",
                                    "value": "image",
                                    "type": "text",
                                    "description": "Type of file (image, cmr, delivery_note, etc.)."
                                },
                                {
                                    "key": "auto_crop",
                                    "value": "",
                                    "type": "text",
                                    "description": "Automatically crop whitespace from images."
                                },
                                {
                                    "key": "auto_type",
                                    "value": "webp",
                                    "type": "text",
                                    "description": "Convert image to specified format."
                                },
                                {
                                    "key": "file",
                                    "src": [],
                                    "type": "file"
                                }
                            ]
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 1,\n  \"pivot_id\": \"12345\",\n  \"pivot_type\": \"route_tasks\",\n  \"defined_name\": \"document.pdf\",\n  \"mime\": \"application\/pdf\",\n  \"file_type\": \"other\",\n  \"uploaded_at\": \"2025-11-28T10:00:00.000000Z\",\n  \"url\": \"https:\/\/api.example.com\/cli_img\/metrotec_12345_abc123.pdf\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get a specific file",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/files\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/files\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The ID of the file."
                                },
                                {
                                    "id": "file",
                                    "key": "file",
                                    "value": "1",
                                    "description": "File ID"
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"id\": 1,\n  \"pivot_id\": \"12345\",\n  \"pivot_type\": \"route_tasks\",\n  \"defined_name\": \"document.pdf\",\n  \"mime\": \"application\/pdf\",\n  \"file_type\": \"other\",\n  \"uploaded_at\": \"2025-11-28T10:00:00.000000Z\",\n  \"url\": \"https:\/\/api.example.com\/cli_img\/metrotec_12345_abc123.pdf\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Update a file",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/files\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/files\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The ID of the file."
                                },
                                {
                                    "id": "file",
                                    "key": "file",
                                    "value": "1",
                                    "description": "File ID"
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"file_type\":\"cmr\"}"
                        },
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"id\": 1,\n  \"pivot_id\": \"12345\",\n  \"pivot_type\": \"route_tasks\",\n  \"defined_name\": \"document.pdf\",\n  \"mime\": \"application\/pdf\",\n  \"file_type\": \"cmr\",\n  \"uploaded_at\": \"2025-11-28T10:00:00.000000Z\",\n  \"url\": \"https:\/\/api.example.com\/cli_img\/metrotec_12345_abc123.pdf\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Delete a file",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/files\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/files\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The ID of the file."
                                },
                                {
                                    "id": "file",
                                    "key": "file",
                                    "value": "1",
                                    "description": "File ID"
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": ""
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "",
                            "name": "success"
                        }
                    ]
                },
                {
                    "name": "Add a drawing overlay to an existing image",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/drawing\/:file_id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/drawing\/:file_id",
                            "variable": [
                                {
                                    "id": "file_id",
                                    "key": "file_id",
                                    "value": "1",
                                    "description": "The ID of the file."
                                },
                                {
                                    "id": "file",
                                    "key": "file",
                                    "value": "1",
                                    "description": "The file ID"
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "multipart\/form-data"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "file",
                                    "src": [],
                                    "type": "file"
                                }
                            ]
                        },
                        "description": "Takes an existing image file and overlays a PNG drawing on top of it.\nThe original file is replaced with the new combined image."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 1,\n  \"pivot_id\": \"12345\",\n  \"pivot_type\": \"route_tasks\",\n  \"defined_name\": \"photo.png\",\n  \"mime\": \"image\/png\",\n  \"file_type\": \"image\",\n  \"uploaded_at\": \"2025-11-28T10:00:00.000000Z\",\n  \"url\": \"https:\/\/api.example.com\/cli_img\/metrotec_12345_abc123.png\"\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Upload signature for route tasks",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/signature",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/signature"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "multipart\/form-data"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "formdata",
                            "formdata": [
                                {
                                    "key": "ids[0]",
                                    "value": "16",
                                    "type": "text",
                                    "description": ""
                                },
                                {
                                    "key": "pivot_type",
                                    "value": "signatures",
                                    "type": "text",
                                    "description": "Type of pivot for signature storage."
                                },
                                {
                                    "key": "file_type",
                                    "value": "receiver_signature",
                                    "type": "text",
                                    "description": "Type of signature."
                                },
                                {
                                    "key": "signature",
                                    "src": [],
                                    "type": "file"
                                }
                            ]
                        },
                        "description": "Uploads a signature image and associates it with one or more route tasks."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "[\n  {\n    \"id\": 1,\n    \"pivot_id\": \"12345\",\n    \"pivot_type\": \"signatures\",\n    \"defined_name\": \"signature.png\",\n    \"mime\": \"image\/png\",\n    \"file_type\": \"receiver_signature\",\n    \"uploaded_at\": \"2025-11-28T10:00:00.000000Z\",\n    \"url\": \"https:\/\/api.example.com\/signatures\/metrotec_12345_abc123.png\"\n  }\n]",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Geo Zones",
            "description": "\nGeo zones management",
            "item": [
                {
                    "name": "List geo zones",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/geozones",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/geozones"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all geo zones with their objects."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"name\": \"Zone A\", \"geometry\": {...}, \"zObjects\": []}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get geo zone",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/geozones\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/geozones\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the geozone."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single geo zone with full details."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": {\"id\": 1, \"name\": \"Zone A\", \"geometry\": {...}, \"zObjects\": [], \"cAlarmState\": false}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"noGeozoneError\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create geo zone",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/geozones",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/geozones"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[24.7,59.4],[24.8,59.4],[24.8,59.5],[24.7,59.5],[24.7,59.4]]],\"radius\":4326.41688},\"name\":\"Warehouse Zone\",\"cAlarmState\":false,\"countAlarm\":2,\"zObjects\":[\"architecto\"]}"
                        },
                        "description": "Creates a new geo zone."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\": {\"id\": 1, \"name\": \"Zone A\"}}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Update geo zone",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/geozones\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/geozones\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the geozone."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"geometry\":{\"type\":\"Polygon\",\"coordinates\":[[[24.7,59.4],[24.8,59.4],[24.8,59.5],[24.7,59.5],[24.7,59.4]]],\"radius\":4326.41688},\"name\":\"Warehouse Zone\",\"cAlarmState\":false,\"countAlarm\":2,\"zObjects\":[\"architecto\"]}"
                        },
                        "description": "Updates an existing geo zone."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Updated\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"noGeozoneError\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Delete geo zone",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/geozones\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/geozones\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the geozone."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a geo zone."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Deleted\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"noGeozoneError\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "List geo zone object assignments",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/geotoobject",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/geotoobject"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all object assignments to geo zones."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"geozoneID\": 1, \"object_id\": \"123\", \"geo_id\": 5}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Assign object to geo zone",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/geotoobject",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/geotoobject"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"123\",\"geozoneID\":1}"
                        },
                        "description": "Creates a new object-to-geozone assignment."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\": {\"id\": 1, \"geozoneID\": 1, \"object_id\": \"123\"}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"GeoToObject_Exists\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"No_Device_Class\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Remove object from geo zone",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/geotoobject\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/geotoobject\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the geotoobject."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes an object-to-geozone assignment."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Deleted\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"No_Device_Class\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Inputs",
            "description": "\nVehicle input name management (digital I\/O labels).",
            "item": [
                {
                    "name": "List all inputs",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/inputs",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/inputs"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all input names grouped by vehicle object ID."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\":\"ABC123\",\"inputs\":[{\"id\":1,\"nr\":1,\"name\":\"Ignition\",\"color\":\"#FF0000\"}]}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Show inputs for a vehicle",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/inputs\/:obj",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/inputs\/:obj",
                            "variable": [
                                {
                                    "id": "obj",
                                    "key": "obj",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all input names for a specific vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\":1,\"nr\":1,\"name\":\"Ignition\",\"color\":\"#FF0000\",\"object_id\":\"ABC123\"}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Create input",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/inputs\/:obj",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/inputs\/:obj",
                            "variable": [
                                {
                                    "id": "obj",
                                    "key": "obj",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"nr\":1,\"name\":\"Ignition\",\"color\":\"#FF0000\"}"
                        },
                        "description": "Creates a new input name for a vehicle. The input number must be unique per vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"id\":5,\"nr\":1,\"name\":\"Ignition\",\"color\":\"#FF0000\",\"object_id\":\"ABC123\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\":\"Not_Unique_Input_Nr\"}",
                            "name": "Duplicate nr"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\":\"ObjectNotAllowed\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Update input",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/inputs\/:obj\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/inputs\/:obj\/:id",
                            "variable": [
                                {
                                    "id": "obj",
                                    "key": "obj",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "5",
                                    "description": "The input record ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"nr\":1,\"name\":\"Ignition\",\"color\":\"#FF0000\"}"
                        },
                        "description": "Updates an existing input name. Input number must remain unique per vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\":5,\"nr\":1,\"name\":\"Ignition On\",\"color\":\"#00FF00\",\"object_id\":\"ABC123\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\":\"Not_Unique_Input_Nr\"}",
                            "name": "Duplicate nr"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\":\"ObjectNotAllowed\"}",
                            "name": "Forbidden"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\":\"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Delete input",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/inputs\/:obj\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/inputs\/:obj\/:id",
                            "variable": [
                                {
                                    "id": "obj",
                                    "key": "obj",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "5",
                                    "description": "The input record ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes an input name record."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\":\"Deleted\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\":\"ObjectNotAllowed\"}",
                            "name": "Forbidden"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\":\"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Delete all inputs for a vehicle",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/inputs\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/inputs\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Removes all input name records for a specific vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\":\"ObjectNotAllowed\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Input Settings",
                    "description": "Admin input name settings with object_id in the request body.",
                    "item": [
                        {
                            "name": "List all input settings",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/input-settings",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/input-settings"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all input name records across all vehicles."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"nr\":1,\"name\":\"Ignition\",\"color\":\"#FF0000\",\"object_id\":\"ABC123\"}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Show input setting",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/input-settings\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/input-settings\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "5",
                                            "description": "The input record ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single input name record by its ID."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":5,\"nr\":1,\"name\":\"Ignition\",\"color\":\"#FF0000\",\"object_id\":\"ABC123\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create input setting",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/input-settings",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/input-settings"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"nr\":1,\"name\":\"Ignition\",\"color\":\"#FF0000\",\"object_id\":\"ABC123\"}"
                                },
                                "description": "Creates a new input name record. The input number must be unique per vehicle."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":5,\"nr\":1,\"name\":\"Ignition\",\"color\":\"#FF0000\",\"object_id\":\"ABC123\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Not_Unique_Input_Nr\"}",
                                    "name": "Duplicate nr"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"ObjectNotAllowed\"}",
                                    "name": "Forbidden"
                                }
                            ]
                        },
                        {
                            "name": "Update input setting",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/input-settings\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/input-settings\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "5",
                                            "description": "The input record ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"nr\":1,\"name\":\"Ignition\",\"color\":\"#FF0000\",\"object_id\":\"ABC123\"}"
                                },
                                "description": "Updates an existing input name record. The input number must remain unique per vehicle."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":5,\"nr\":1,\"name\":\"Ignition On\",\"color\":\"#00FF00\",\"object_id\":\"ABC123\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Not_Unique_Input_Nr\"}",
                                    "name": "Duplicate nr"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"ObjectNotAllowed\"}",
                                    "name": "Forbidden"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Delete input setting",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/input-settings\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/input-settings\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "5",
                                            "description": "The input record ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Deletes an input name record."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Temperature Names",
                    "description": "Temperature sensor name settings per vehicle. The {id} parameter is the vehicle object_id.",
                    "item": [
                        {
                            "name": "List all temperature settings",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/temperature",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/temperature"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns temperature name records for all vehicles."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":\"ABC123\",\"temperatures\":[{\"temp_key\":\"t1\",\"name\":\"Fridge\",\"color\":\"#FF0000\"}],\"category_name\":\"Trucks\"}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Show temperature setting",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/temperature\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/temperature\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single temperature name record by vehicle object ID."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":\"ABC123\",\"temperatures\":[{\"temp_key\":\"t1\",\"name\":\"Fridge\",\"color\":\"#FF0000\"}]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "\"\"",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Upsert temperature setting",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/temperature\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/temperature\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"temperatures\":[{\"temp_key\":\"t1\",\"name\":\"Fridge\",\"color\":\"#FF0000\"}]}"
                                },
                                "description": "Creates or updates temperature names for a vehicle. If a record exists for the given vehicle, it is updated; otherwise a new record is created."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":\"ABC123\",\"temperatures\":[{\"temp_key\":\"t1\",\"name\":\"Fridge\",\"color\":\"#FF0000\"}]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"ObjectNotAllowed\"}",
                                    "name": "Forbidden"
                                }
                            ]
                        },
                        {
                            "name": "Delete temperature setting",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/temperature\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/temperature\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Removes temperature names for a vehicle."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"ObjectNotAllowed\"}",
                                    "name": "Forbidden"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Invoices",
            "description": "\nAPIs for managing invoices",
            "item": [
                {
                    "name": "Get invoices",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/invoice",
                            "query": [
                                {
                                    "key": "datetime%5B%5D",
                                    "value": "%5B%222025-01-01%22%2C+%222025-01-31%22%5D",
                                    "description": "Date range [from, to]",
                                    "disabled": false
                                },
                                {
                                    "key": "oid",
                                    "value": "metrotec",
                                    "description": "Filter by organization ID",
                                    "disabled": false
                                },
                                {
                                    "key": "manager",
                                    "value": "admin",
                                    "description": "Filter by manager",
                                    "disabled": false
                                },
                                {
                                    "key": "paid",
                                    "value": "0",
                                    "description": "Filter unpaid only (must be 0)",
                                    "disabled": true
                                },
                                {
                                    "key": "offset",
                                    "value": "0",
                                    "description": "Pagination offset (-1 for all)",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/invoice?datetime%5B%5D=%5B%222025-01-01%22%2C+%222025-01-31%22%5D&oid=metrotec&manager=admin&paid=0&offset=0"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"datetime\":[\"2025-01-01\",\"2025-01-31\"],\"oid\":\"metrotec\",\"manager\":\"admin\",\"paid\":0,\"offset\":0}"
                        },
                        "description": "Returns invoices filtered by date range and other criteria.\nUnpaid invoices are always included regardless of date filter."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"inv_date\": \"2025-01-15 00:00:00\", \"payment_date\": \"2025-02-15 00:00:00\", \"inv_sum\": 150.50, \"paid\": 0, \"name\": \"Manager Name\", \"comments\": \"Monthly invoice\", \"manager\": \"admin\", \"oid\": \"metrotec\", \"inv_name\": \"Company Name\", \"paidD\": \"unpaid\"}]}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Download invoice PDF",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/invoice\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/invoice\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "123",
                                    "description": "The invoice number."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the invoice PDF file for download."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "Binary PDF content",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not Found\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Last Data",
            "description": "\nSend a location link via SMS for a vehicle or POI.",
            "item": [
                {
                    "name": "Send location via SMS",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/sendlocation\/:type\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/sendlocation\/:type\/:id",
                            "variable": [
                                {
                                    "id": "type",
                                    "key": "type",
                                    "value": "vehicle",
                                    "description": "The location type. Must be \"poi\" or \"vehicle\"."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID or POI ID."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"country_code\":\"+370\",\"phone_nr\":\"61234567\"}"
                        },
                        "description": "Sends a Google Maps location link via SMS for either a vehicle or a POI."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"ok\":1}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "List all profiles",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/lastdataprofile",
                            "query": [
                                {
                                    "key": "oid",
                                    "value": "org123",
                                    "description": "Filter by organization ID.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/lastdataprofile?oid=org123"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all last data profiles, filtered optionally by organization ID."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\":1,\"oid\":\"org123\",\"mainFields\":[1,2],\"hasMore\":1,\"is_hybrid_view\":0,\"main_table\":[3,4],\"extended_table\":[5,6]}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Show a profile",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/lastdataprofile\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/lastdataprofile\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The profile ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single last data profile by ID."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\":1,\"oid\":\"org123\",\"mainFields\":[1,2],\"hasMore\":1,\"is_hybrid_view\":0,\"main_table\":[3,4],\"extended_table\":[5,6]}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Create a profile",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/lastdataprofile",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/lastdataprofile"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"oid\":\"org123\",\"mainFields\":[1,2,3],\"hasMore\":true,\"is_hybrid_view\":false,\"main_table\":[1,2],\"extended_table\":[3,4]}"
                        },
                        "description": "Creates a new last data profile. Field arrays are converted from IDs to JSON for storage."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"id\":1,\"oid\":\"org123\",\"mainFields\":[1,2],\"hasMore\":1,\"is_hybrid_view\":0,\"main_table\":[3,4],\"extended_table\":[5,6]}",
                            "name": "Created"
                        }
                    ]
                },
                {
                    "name": "Update a profile",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/lastdataprofile\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/lastdataprofile\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The profile ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"oid\":\"org123\",\"mainFields\":[1,2,3],\"hasMore\":true,\"is_hybrid_view\":false,\"main_table\":[1,2],\"extended_table\":[3,4]}"
                        },
                        "description": "Updates an existing last data profile. Field arrays are converted from IDs to JSON for storage."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\":1,\"oid\":\"org123\",\"mainFields\":[1,2],\"hasMore\":1,\"is_hybrid_view\":0,\"main_table\":[3,4],\"extended_table\":[5,6]}",
                            "name": "Updated"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Delete a profile",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/lastdataprofile\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/lastdataprofile\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The profile ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a last data profile by ID."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"ok\":1}",
                            "name": "Deleted"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Navigation",
            "description": "\nRetrieve parsed navigation messages for a vehicle.",
            "item": [
                {
                    "name": "List navi messages",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/navi\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/navi\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the last navigation messages (answers and requests) for the given vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\":1,\"date\":\"14:30:00  15.01.2025\",\"dateRaw\":\"2025-01-15 14:30:00\",\"handled\":\"ok\",\"type\":\"a\",\"txt\":\"FMT:Hello\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"error\":\"ObjectNotAllowed\"}",
                            "name": "No access"
                        }
                    ]
                },
                {
                    "name": "Send navi request",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/navirequest\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/navirequest\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"type\":\"FMT\",\"txt\":\"Hello from dispatch\",\"x\":25.27956,\"y\":54.68726}"
                        },
                        "description": "Sends a navigation request to a vehicle. Long messages (FMT\/FMS) are split into chunks automatically."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\":1,\"date\":\"14:30:00  15.01.2025\",\"dateRaw\":\"2025-01-15 14:30:00\",\"handled\":0,\"type\":\"r\",\"txt\":\"FMT:Hello from dispatch\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Wrong_Parameters\"}",
                            "name": "Missing coordinates"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"error\":\"ObjectNotAllowed\"}",
                            "name": "No access"
                        }
                    ]
                },
                {
                    "name": "List navi requests (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/navirequests\/:start\/:stop\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/navirequests\/:start\/:stop\/:id",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns navigation requests for a vehicle within a date range. The maximum period is 7 days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"SerialNr\":\"SN001\",\"Content\":\"FMT:Hello\",\"handled\":0,\"LocalTime\":\"2025-01-15 14:30:00\",\"insdate\":\"2025-01-15 14:30:00\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Vehicle_Not_Found\"}",
                            "name": "No access"
                        }
                    ]
                },
                {
                    "name": "Send navi request (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/navirequests",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/navirequests"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"type\":\"MESSAGE\",\"lon\":25.27956,\"lat\":54.68726,\"functionId\":1,\"msg\":\"Hello from dispatch\"}"
                        },
                        "description": "Creates a navigation request for a vehicle. Supports MESSAGE, GETDESTINATION, SETLOCATION, CONTROL, and COMMAND types."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"id\":1,\"object_id\":\"ABC123\",\"Content\":\"FMT:Hello\",\"handled\":0,\"date\":\"2025-01-15 14:30:00\"}",
                            "name": "Created"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"error\":\"Not_Allowed\"}",
                            "name": "No access"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Wrong_message\"}",
                            "name": "Wrong message"
                        }
                    ]
                },
                {
                    "name": "List SMS requests (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/smsrequests\/:start\/:stop\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/smsrequests\/:start\/:stop\/:id",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns SMS requests for a vehicle within a date range. The maximum period is 7 days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"Content\":\"Check engine\",\"handled\":0,\"date\":\"2025-01-15 14:30:00\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Vehicle_Not_Found\"}",
                            "name": "No access"
                        }
                    ]
                },
                {
                    "name": "Send SMS request (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/smsrequests",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/smsrequests"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"msg\":\"Check engine status\"}"
                        },
                        "description": "Creates an SMS request for a vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"id\":1,\"object_id\":\"ABC123\",\"Content\":\"Check engine status\",\"handled\":0,\"date\":\"2025-01-15 14:30:00\"}",
                            "name": "Created"
                        },
                        {
                            "header": [],
                            "code": 401,
                            "body": "{\"error\":\"Not_Allowed\"}",
                            "name": "No access"
                        }
                    ]
                },
                {
                    "name": "List SMS answers (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/smsanswers\/:start\/:stop\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/smsanswers\/:start\/:stop\/:id",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns SMS answers for a vehicle within a date range. The maximum period is 7 days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"time\":\"2025-01-15 14:30:00\",\"content\":\"Engine OK\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        }
                    ]
                },
                {
                    "name": "List navi answers (Export API)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/navianswers\/:start\/:stop\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/navianswers\/:start\/:stop\/:id",
                            "variable": [
                                {
                                    "id": "start",
                                    "key": "start",
                                    "value": "2025-01-1508%3A00%3A00",
                                    "description": "Start date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "stop",
                                    "key": "stop",
                                    "value": "2025-01-1517%3A00%3A00",
                                    "description": "Stop date in Y-m-dH:i:s format (no space)."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns navi answers for a vehicle within a date range. Maximum period is 7 days.\nContent is parsed through the navi text parser (FMA\/FMT\/FMS formats)."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"ID\":1,\"objectID\":\"ABC123\",\"time\":\"2025-01-15 14:30:00\",\"content\":\"FMT message text\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Ordered period should not exceed 7 days\"}",
                            "name": "Period too long"
                        }
                    ]
                }
            ]
        },
        {
            "name": "POI",
            "description": "\nPoints of Interest management",
            "item": [
                {
                    "name": "List POI",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poi",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poi"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"q\":\"Office\"}"
                        },
                        "description": "Returns all Points of Interest, optionally filtered by name."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"name\": \"Office\", \"lat\": 59.437, \"lon\": 24.745}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get POI",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poi\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poi\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the poi."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single Point of Interest by ID."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": {\"id\": 1, \"name\": \"Office\", \"lat\": 59.437, \"lon\": 24.745}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create POI",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poi",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poi"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"type\":1,\"lon\":24.745369,\"lat\":59.437221,\"radius\":100,\"name\":\"Main Office\",\"comment\":\"Headquarters\",\"rgAddress\":\"Narva mnt 5, Tallinn\",\"phone_nr\":\"5551234\",\"country_code\":\"+372\",\"contact_name\":\"John Doe\",\"purpose\":0,\"old_id\":16}"
                        },
                        "description": "Creates a new Point of Interest."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\": {\"id\": 1, \"name\": \"Office\", \"lat\": 59.437, \"lon\": 24.745}}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Update POI",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poi\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poi\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the poi."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"type\":1,\"lon\":24.745369,\"lat\":59.437221,\"radius\":100,\"name\":\"Main Office\",\"comment\":\"Headquarters\",\"rgAddress\":\"Narva mnt 5, Tallinn\",\"phone_nr\":\"5551234\",\"country_code\":\"+372\",\"contact_name\":\"John Doe\",\"purpose\":0}"
                        },
                        "description": "Updates an existing Point of Interest."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Updated\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Delete POI",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poi\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poi\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the poi."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a Point of Interest."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Deleted\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Search POI by name",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poisearch",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poisearch"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"q\":\"Office\"}"
                        },
                        "description": "Searches for Points of Interest by name. Returns up to 10 results."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"lat\": 59.437, \"lon\": 24.745, \"name\": \"Office\"}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "List POI groups",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poigroups",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poigroups"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all POI groups with custom names merged with defaults."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"type_name\": \"A\"}, {\"id\": 2, \"type_name\": \"B\"}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Update POI group",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poigroups\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poigroups\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the poigroup."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"type_name\":\"Warehouses\"}"
                        },
                        "description": "Updates the name of a POI group. Creates the record if it doesn't exist."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Updated\"}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "List POI reports",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poireport",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poireport"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"in\":[16]}"
                        },
                        "description": "Returns a list of POI reports with optional filtering."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"status\": 0, \"type\": \"poi\", \"group\": \"vehicle\"}]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get POI report details",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poireport\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poireport\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the poireport."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns detailed rows for a specific POI report."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"type_name\": \"Office\", \"object_id\": 123}]}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create a POI report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poireport",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poireport"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"datetime\":[\"2026-02-26T15:34:38\"],\"type\":\"poi\",\"type_id\":1,\"group\":\"vehicle\",\"group_id\":\"123\"}"
                        },
                        "description": "Creates a new POI report request."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"data\": {\"id\": 1, \"status\": 0, \"type\": \"poi\"}}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Delete a POI report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/poireport\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/poireport\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the poireport."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a POI report by ID."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Deleted\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Reports",
            "description": "\nRoute log data with calculated fields",
            "item": [
                {
                    "name": "List route log entries",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/routelog",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "obj",
                                    "value": "ABC123",
                                    "description": "The object ID. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "offset",
                                    "value": "-1",
                                    "description": "Number of records to skip. Use -1 to disable pagination. V\u00e4li value peab olema v\u00e4hemalt -1.",
                                    "disabled": false
                                },
                                {
                                    "key": "limit",
                                    "value": "30",
                                    "description": "Maximum number of records to return. V\u00e4li value peab olema v\u00e4hemalt 1.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/routelog?datetime[0]=architecto&obj=ABC123&offset=-1&limit=30"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns route log entries with calculated fields (fuel, distance, drive time, CAN data) for the given object and period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"s\": 60, \"v1\": 12.0, \"v2\": 50.0, \"mh\": 3600, \"i\": 64, \"tt\": 120, \"dt\": 100.0, \"t\": 1705305600, \"st\": 0, \"lt\": 59.437, \"ln\": 24.753, \"km\": 1.5, \"ff\": 50.0, \"tf\": 0.5, \"f\": 50.0, \"f1\": 25.0, \"f2\": 25.0, \"d\": 1.5, \"t1\": null, \"t2\": null, \"t3\": null, \"t4\": null, \"r\": 2, \"k\": 0, \"odo\": null}]}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"ObjectNotAllowed\"}",
                            "name": "Object not allowed"
                        }
                    ]
                },
                {
                    "name": "Get IO log grouped",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/iolog",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "The object ID to filter by. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "input[0]",
                                    "value": "16",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "fuel",
                                    "value": "1",
                                    "description": "Include fuel data in splitted km calculation. 1 to include, 0 to exclude.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/iolog?datetime[0]=architecto&object_id=ABC123&input[0]=16&fuel=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns grouped IO log entries by day and input, with accumulated distance, fuel, running time, and count. Includes planned fuel consumption for supported vehicle types."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"2025-01-15\": {\"7\": {\"distance\": 125.4, \"fuel\": 15.2, \"running_time\": 7200, \"times\": 3}}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "null",
                            "name": "No data"
                        }
                    ]
                },
                {
                    "name": "Get IO log detail",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/iologdetail",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "The object ID to filter by. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "input[0]",
                                    "value": "16",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "fuel",
                                    "value": "1",
                                    "description": "Include fuel data in splitted km calculation. 1 to include, 0 to exclude.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/iologdetail?datetime[0]=architecto&object_id=ABC123&input[0]=16&fuel=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns detailed IO log entries grouped by day and input, including splitted distance and fuel data."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"2025-01-15\": {\"7\": [{\"distance\": 12.5, \"fuel\": 3, \"running_time\": 3600, \"start_time\": \"2025-01-15 08:00:00\", \"stop_time\": \"2025-01-15 09:00:00\"}]}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "null",
                            "name": "No data"
                        }
                    ]
                },
                {
                    "name": "Get IO periods",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/ioperiods",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "The object ID to filter by. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "input[0]",
                                    "value": "16",
                                    "description": "",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/ioperiods?datetime[0]=architecto&object_id=ABC123&input[0]=16"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns IO activity periods grouped by day and input, with start\/stop times in seconds. Multi-day periods are split across days."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"15.01.2025\": {\"7\": [[28800, 64800]]}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "null",
                            "name": "No data"
                        }
                    ]
                },
                {
                    "name": "Get working hours log",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/whlog",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The driver or vehicle ID. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "key",
                                    "value": "vehicle",
                                    "description": "Type of lookup: \"driver\" or \"vehicle\".",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/whlog?datetime[0]=architecto&id=ABC123&key=vehicle"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns working hours diary entries grouped by day and input, with multi-day periods split across days. Supports lookup by driver or vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"15.01.2025\": {\"7\": [{\"start_time\": \"2025-01-15 06:00:00\", \"stop_time\": \"2025-01-15 18:00:00\", \"localBegin\": \"08:00:00\", \"localEnd\": \"20:00:00\", \"driverID\": \"1\", \"name\": \"John Doe\", \"duration\": 43200, \"object_id\": \"ABC123\", \"id\": 1}]}}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get drive periods",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/driveperiods",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "The object ID to filter by. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "driverId",
                                    "value": "1",
                                    "description": "The driver ID to filter by.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/driveperiods?datetime[0]=architecto&object_id=ABC123&driverId=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns drive activity periods grouped by day, with start\/stop times in seconds. Cross-day periods are split."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"15.01.2025\": [[28800, 64800]]}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "null",
                            "name": "No data"
                        }
                    ]
                },
                {
                    "name": "Get work periods",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/workperiods",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "The object ID to filter by. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "driverID",
                                    "value": "1",
                                    "description": "The driver ID to filter by.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/workperiods?datetime[0]=architecto&object_id=ABC123&driverID=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns work activity periods grouped by day, with start\/stop times in seconds. Supports filtering by vehicle or driver. Cross-day periods are split."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"15.01.2025\": [[28800, 64800]]}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "null",
                            "name": "No data"
                        }
                    ]
                },
                {
                    "name": "Get CO2 report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/co2report",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "The object ID to filter by. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "categoryID",
                                    "value": "1",
                                    "description": "The vehicle category ID to filter by.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/co2report?datetime[0]=architecto&object_id=ABC123&categoryID=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns CO2 emissions data grouped by vehicle, with total distance, engine type, and fuel source breakdown."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": \"ABC123\", \"object_id\": \"ABC123\", \"total_km\": 125.4, \"engine_type\": \"diesel\", \"co2_sources\": [{\"quantity\": 50.0, \"co2_per_unit\": 2640, \"fuel_name\": \"Diesel\"}]}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get route on map",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/routemap",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "The object ID. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "width",
                                    "value": "900",
                                    "description": "Image width in pixels (480-900). V\u00e4li value peab olema vahemikus 480 kuni 900.",
                                    "disabled": false
                                },
                                {
                                    "key": "height",
                                    "value": "450",
                                    "description": "Image height in pixels (360-834). V\u00e4li value peab olema vahemikus 360 kuni 834.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/routemap?datetime[0]=architecto&object_id=ABC123&width=900&height=450"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Generates a PNG image of the route plotted on a map for the given object and period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "Binary PNG image",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 500,
                            "body": "{\"message\": \"Failed to generate map image\"}",
                            "name": "Failed"
                        }
                    ]
                },
                {
                    "name": "Get encoded route log",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/routeloge",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "obj",
                                    "value": "ABC123",
                                    "description": "The object ID. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "type",
                                    "value": "default",
                                    "description": "Type of encoded data to return. One of: fuel, input, temps, powers, rpm, kp, default.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/routeloge?datetime[0]=architecto&obj=ABC123&type=default"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns polyline-encoded route log data optimized for rendering. Supports multiple data types (fuel, input, temps, powers, rpm, keypad, path\/speed)."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"poly\": [\"BFsBF...\"], \"iterations\": 1, \"cnt\": 500, \"startTime\": [1705305600], \"keys\": [[\"y\", \"x\", \"t\", \"Speed\"]]}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"ObjectNotAllowed\"}",
                            "name": "Object not allowed"
                        }
                    ]
                },
                {
                    "name": "List raw log entries",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/rawlog\/:id",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "offset",
                                    "value": "0",
                                    "description": "Number of records to skip. Use -1 to disable pagination. V\u00e4li value peab olema v\u00e4hemalt -1.",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "30",
                                    "description": "Maximum number of records to return. V\u00e4li value peab olema v\u00e4hemalt 1.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/rawlog\/:id?datetime[0]=architecto&offset=0&limit=30",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns raw route log entries with fuel delta and time delta calculations for the given object and period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"data\": [{\"id\": 1, \"Speed\": 60, \"t1\": null, \"t2\": null, \"t3\": null, \"t4\": null, \"distance\": 1.5, \"csqlevel\": 20, \"lat\": 59.437, \"lng\": 24.753, \"adc1\": 50.0, \"adc2\": 12.0, \"input\": \"10000000\", \"fd\": 0.5, \"Counter\": 45.2, \"td\": 30, \"GMTime\": \"2025-01-15 08:00:00\"}]}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"ObjectNotAllowed\"}",
                            "name": "Object not allowed"
                        }
                    ]
                },
                {
                    "name": "Get interval route log",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/intervalroutelog\/:id",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "interval",
                                    "value": "5",
                                    "description": "Interval in minutes between data points. V\u00e4li value peab olema v\u00e4hemalt 1.",
                                    "disabled": false
                                },
                                {
                                    "key": "offset",
                                    "value": "0",
                                    "description": "Pagination offset. Use -1 for no pagination. V\u00e4li value peab olema v\u00e4hemalt -1.",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "30",
                                    "description": "Number of records to return. V\u00e4li value peab olema v\u00e4hemalt 1.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/intervalroutelog\/:id?datetime[0]=architecto&interval=5&offset=0&limit=30",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns route log records at the specified interval for the given object and period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 1, \"Speed\": 80, \"GMTime\": \"2025-01-15 08:05:00\", \"t1\": 20.5, \"t2\": 21.0, \"t3\": null, \"t4\": null}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"ObjectNotAllowed\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Update temperature values",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/intervalroutelog\/:obj\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/intervalroutelog\/:obj\/:id",
                            "variable": [
                                {
                                    "id": "obj",
                                    "key": "obj",
                                    "value": "ABC123",
                                    "description": "The object ID."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "456",
                                    "description": "The route log record ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"t1\":20.5,\"t2\":21}"
                        },
                        "description": "Updates temperature sensor values for a specific route log record."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"rlid\": 456, \"t1\": 20.5, \"t2\": 21.0, \"t3\": null, \"t4\": null}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"ObjectNotAllowed\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Delete raw log entries",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/rawlog\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/rawlog\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The object ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"ids\":[16]}"
                        },
                        "description": "Deletes specific raw log entries by their IDs for the given object."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "",
                            "name": "Deleted"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"ObjectNotAllowed\"}",
                            "name": "Object not allowed"
                        }
                    ]
                },
                {
                    "name": "Get the main pivot report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/pivot",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "groupBy",
                                    "value": "object",
                                    "description": "Group results by object or category.",
                                    "disabled": false
                                },
                                {
                                    "key": "categoryId",
                                    "value": "1",
                                    "description": "Filter by category ID.",
                                    "disabled": false
                                },
                                {
                                    "key": "fuelType",
                                    "value": "1",
                                    "description": "Filter by fuel type.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/pivot?datetime[0]=architecto&groupBy=object&categoryId=1&fuelType=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a pivot report with headers, data rows grouped by object or category, and totals."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"headers\": [\"field1\", \"field2\"], \"data\": [], \"total\": {}}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get detail pivot report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/pivot\/:id",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/pivot\/:id?datetime[0]=architecto",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a detailed pivot report for a specific object with headers, daily data rows, and totals."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"headers\": [\"field1\", \"field2\"], \"data\": [], \"total\": {}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"ObjectNotAllowed\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Get day pivot report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/daypivot\/:id",
                            "query": [
                                {
                                    "key": "date",
                                    "value": "2025-01-15",
                                    "description": "The date in Y-m-d format. Must be a valid date in the format Y-m-d.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/daypivot\/:id?date=2025-01-15",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a detailed pivot report for a specific object and single day."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"headers\": [\"field1\", \"field2\"], \"data\": [], \"total\": {}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"ObjectNotAllowed\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Get WH pivot report by driver",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/whdriverpivot\/:id",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/whdriverpivot\/:id?datetime[0]=architecto",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "123",
                                    "description": "The driver ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a working hours pivot report for a specific driver with daily breakdown."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"headers\": [\"field1\", \"field2\"], \"data\": [], \"total\": {}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"DriverNotAllowed\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Get WH pivot report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/whpivot\/:id",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/whpivot\/:id?datetime[0]=architecto",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a working hours pivot report for a specific object with daily breakdown."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"headers\": [\"field1\", \"field2\"], \"data\": [], \"total\": {}}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"ObjectNotAllowed\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Get drive report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/drives",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "obj",
                                    "value": "ABC123",
                                    "description": "The object ID. Must contain only letters, numbers, dashes and underscores. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/drives?datetime[0]=architecto&obj=ABC123"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all drive records for the given object and period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 123, \"route_length\": 150.5, \"status\": 1, \"start_time\": \"2025-01-15 08:00:00\", \"stop_time\": \"2025-01-15 12:00:00\", \"driving_time\": 3600, \"RevGeoS\": \"Vilnius\", \"RevGeoE\": \"Kaunas\"}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get speed report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/speed",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "The object ID. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/speed?datetime[0]=architecto&object_id=ABC123"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns speed data for the given object and period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"Speed\": 80, \"distance\": 1.5, \"workBegin\": \"15.01.2025\", \"time_diff\": 30, \"gm\": \"2025-01-15 08:05:00\"}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get travel diary",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/traveldiary",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "The object ID. Required for non-driver users. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "offset",
                                    "value": "0",
                                    "description": "Pagination offset. Use -1 for no pagination. V\u00e4li value peab olema v\u00e4hemalt -1.",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "30",
                                    "description": "Number of records to return. V\u00e4li value peab olema v\u00e4hemalt 1.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/traveldiary?datetime[0]=architecto&object_id=ABC123&offset=0&limit=30"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns travel diary records for the given period. Drivers get records by their driver ID,\nother users must specify an object ID."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 123, \"object_id\": \"ABC123\", \"day\": \"2025-01-15\", \"name\": \"John\", \"fname\": \"Doe\", \"start_time\": \"2025-01-15 08:00:00\", \"stop_time\": \"2025-01-15 12:00:00\", \"route_length\": 150.5, \"driving_time\": 3600, \"max_speed\": 120}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"No_Object_Id_Defined\"}",
                            "name": "No object ID"
                        }
                    ]
                },
                {
                    "name": "Get travel diary record details",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/traveldiary\/:id",
                            "query": [
                                {
                                    "key": "routeOnly",
                                    "value": "",
                                    "description": "When true, only route coordinates (lat\/lng) are returned without full details.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/traveldiary\/:id?routeOnly=",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "123",
                                    "description": "The drive record ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single travel diary record with its route points."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\": 123, \"object_id\": \"ABC123\", \"start_time\": \"2025-01-15 08:00:00\", \"stop_time\": \"2025-01-15 12:00:00\", \"route\": [{\"lat\": 54.6872, \"lng\": 25.2797, \"t\": \"2025-01-15 08:05:00\", \"d\": 0.5, \"id\": 1}]}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"NotFound\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Update travel diary record",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/traveldiary\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/traveldiary\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "123",
                                    "description": "The drive record ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"is_private_drive\":true,\"drive_description\":\"Business trip to Vilnius\"}"
                        },
                        "description": "Updates the private drive flag and\/or description of a travel diary record."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\": 123, \"is_private_drive\": true, \"drive_description\": \"Business trip\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Forbidden\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Split a drive record",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/splitdrives\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/splitdrives\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "123",
                                    "description": "The drive record ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"splitAt\":12345}"
                        },
                        "description": "Splits a drive record into two parts at the specified route log point. Returns the two resulting drive records."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 123, \"object_id\": \"ABC123\", \"start_time\": \"2025-01-15 08:00:00\", \"stop_time\": \"2025-01-15 12:00:00\"}, {\"id\": 124, \"object_id\": \"ABC123\", \"start_time\": \"2025-01-15 12:05:00\", \"stop_time\": \"2025-01-15 17:00:00\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"No_Split_Here\"}",
                            "name": "Cannot split"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"NotFound\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Join drive records",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/joindrives\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/joindrives\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "123",
                                    "description": "The drive record ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Joins a drive record with the next one. The original record is deleted and the joined record is returned."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\": 124, \"object_id\": \"ABC123\", \"start_time\": \"2025-01-15 08:00:00\", \"stop_time\": \"2025-01-15 17:00:00\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"NotJoined\"}",
                            "name": "Cannot join"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"NotFound\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "List fuel records",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/fuel",
                            "query": [
                                {
                                    "key": "datetime",
                                    "value": "2024-01-01+00%3A00%3A00%2C2024-01-31+23%3A59%3A59",
                                    "description": "Date period filter.",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "Filter by object ID. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "driverid",
                                    "value": "1",
                                    "description": "Filter by primary driver ID.",
                                    "disabled": false
                                },
                                {
                                    "key": "driverid2",
                                    "value": "2",
                                    "description": "Filter by secondary driver ID.",
                                    "disabled": false
                                },
                                {
                                    "key": "RevGeo",
                                    "value": "Street",
                                    "description": "Filter by address (partial match).",
                                    "disabled": false
                                },
                                {
                                    "key": "offset",
                                    "value": "0",
                                    "description": "Pagination offset. Use -1 to disable pagination. V\u00e4li value peab olema v\u00e4hemalt -1.",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "30",
                                    "description": "Number of records to return. V\u00e4li value peab olema v\u00e4hemalt 1.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/fuel?datetime=2024-01-01+00%3A00%3A00%2C2024-01-31+23%3A59%3A59&object_id=ABC123&driverid=1&driverid2=2&RevGeo=Street&offset=0&limit=30"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a list of fuel records for the given period with optional filters."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 1, \"object_id\": \"ABC123\", \"StartTime\": \"2024-01-01 08:00:00\", \"EndTime\": \"2024-01-01 09:00:00\", \"amount\": 50}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Create a fuel record",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/fuel",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/fuel"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"id1\":100,\"id2\":200,\"object_id\":\"ABC123\"}"
                        },
                        "description": "Creates a new fuel record from two route log points. Updates the status of both route log records."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"id\": 1}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"Wrong_Points_Id\"}",
                            "name": "Invalid points"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"ObjectNotAllowed\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Update fuel record",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/fuel\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/fuel\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The fuel record ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"billSum\":150}"
                        },
                        "description": "Updates the bill sum of a fuel record."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\": 1, \"object_id\": \"ABC123\", \"billSum\": 150}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Delete fuel record",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/fuel\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/fuel\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The fuel record ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a fuel record and clears the fuel status from the route log."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Route Tasks",
            "description": "\nTask geozone information",
            "item": [
                {
                    "name": "Get task geozone",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/zonetask\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/zonetask\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "12345",
                                    "description": "The task ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the geozone associated with a specific task."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"id\": 1, \"name\": \"Zone A\", \"lat\": 59.123, \"lng\": 24.456, \"geometry\": \"...\", \"countAlarm\": {\"maxqtty\": 5}}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get tasks PDF by task IDs",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/taskspdf",
                            "query": [
                                {
                                    "key": "nr[0]",
                                    "value": "1",
                                    "description": "Array of task IDs.",
                                    "disabled": false
                                },
                                {
                                    "key": "nr[1]",
                                    "value": "2",
                                    "description": "Array of task IDs.",
                                    "disabled": false
                                },
                                {
                                    "key": "nr[2]",
                                    "value": "3",
                                    "description": "Array of task IDs.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/taskspdf?nr[0]=1&nr[1]=2&nr[2]=3"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"nr\":[16]}"
                        },
                        "description": "Generates a PDF report for the specified task IDs."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "PDF binary content",
                            "name": "PDF file"
                        }
                    ]
                },
                {
                    "name": "Get tasks by date period",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/tasksbyperiod",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "2025-01-01 00:00:00",
                                    "description": "Array of two datetime strings [start, end].",
                                    "disabled": false
                                },
                                {
                                    "key": "datetime[1]",
                                    "value": "2025-01-07 23:59:59",
                                    "description": "Array of two datetime strings [start, end].",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/tasksbyperiod?datetime[0]=2025-01-01 00:00:00&datetime[1]=2025-01-07 23:59:59"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"datetime\":\"architecto\"}"
                        },
                        "description": "Returns all tasks within the specified date period (max 7 days)."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get tasks report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/routetasks",
                            "query": [
                                {
                                    "key": "start_time[0]",
                                    "value": "2025-01-01 00:00:00",
                                    "description": "Date period [start, end].",
                                    "disabled": false
                                },
                                {
                                    "key": "start_time[1]",
                                    "value": "2025-01-31 23:59:59",
                                    "description": "Date period [start, end].",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "Filter by vehicle ID.",
                                    "disabled": false
                                },
                                {
                                    "key": "order_ref",
                                    "value": "architecto",
                                    "description": "Filter by order reference (partial match).",
                                    "disabled": false
                                },
                                {
                                    "key": "status",
                                    "value": "architecto",
                                    "description": "integer|integer[] Filter by status or array of statuses.",
                                    "disabled": false
                                },
                                {
                                    "key": "isDetailed",
                                    "value": "1",
                                    "description": "Include file and signature details.",
                                    "disabled": false
                                },
                                {
                                    "key": "offset",
                                    "value": "0",
                                    "description": "Pagination offset (-1 for no pagination).",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "30",
                                    "description": "Maximum records to return.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/routetasks?start_time[0]=2025-01-01 00:00:00&start_time[1]=2025-01-31 23:59:59&object_id=ABC123&order_ref=architecto&status=architecto&isDetailed=1&offset=0&limit=30"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a filtered and paginated list of route tasks for reporting."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 1, \"object_id\": \"ABC123\", \"status\": 1, \"start_time\": \"2025-01-01 10:00:00\"}]",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get a specific task",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/routetasks\/:task_id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/routetasks\/:task_id",
                            "variable": [
                                {
                                    "id": "task_id",
                                    "key": "task_id",
                                    "value": "16",
                                    "description": "The ID of the task."
                                },
                                {
                                    "id": "task",
                                    "key": "task",
                                    "value": "1",
                                    "description": "Task ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single route task with files, signatures and products.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not Found\"}",
                            "name": "Task not found"
                        }
                    ]
                },
                {
                    "name": "Update a task",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/routetasks\/:task_id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/routetasks\/:task_id",
                            "variable": [
                                {
                                    "id": "task_id",
                                    "key": "task_id",
                                    "value": "16",
                                    "description": "The ID of the task."
                                },
                                {
                                    "id": "task",
                                    "key": "task",
                                    "value": "1",
                                    "description": "Task ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"lat\":59.437,\"lon\":24.7536,\"start_time\":\"2025-01-15 08:00:00\",\"stop_time\":\"2025-01-15 17:00:00\",\"start_lat\":59.437,\"start_lon\":24.7536,\"start_address\":\"Warehouse, Tallinn\",\"task_address\":\"Customer Site, Tartu\",\"order_ref\":\"ORD-2025-001\",\"order_details\":\"Fragile goods - handle with care\",\"task_description\":\"Deliver package to reception\",\"task_notes\":\"Call customer before arrival\",\"cancel_reason\":\"Customer not available\",\"status\":1,\"planned_km\":150,\"is_not_own_vehicle\":false,\"active\":true,\"group_id\":1,\"customer_id\":1,\"carrier_id\":2,\"sender_id\":3,\"trailer_nr\":\"TRL-001\",\"order_id\":16,\"driver_notes\":\"Delivered successfully\",\"products\":[{\"product_id\":1,\"quantity\":10,\"weight\":100},{\"product_name\":\"Custom product\",\"quantity\":5}]}"
                        },
                        "description": "Updates an existing route task. All base fields are optional on update.\nAdditional profile-specific fields are listed per scenario below.\n\n**Status Changes:**\n- Setting status to 4 (rejected) will deactivate the task and remove group assignment\n- Setting status to 3 (completed) or 7 (signed) triggers task-specific completion logic\n\n<h3>Request Body per Profile<\/h3>\n\n<details>\n<summary><strong>Rudus<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Construction Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;preparation_time&quot;: &quot;2025-01-15 07:30:00&quot;,\n    &quot;volume&quot;: 8.5,\n    &quot;client_id&quot;: &quot;CLIENT123&quot;,\n    &quot;ordered_volume&quot;: 10,\n    &quot;delivered_volume&quot;: 8.2,\n    &quot;pumped_volume&quot;: 8,\n    &quot;dn_trash&quot;: &quot;0.5&quot;,\n    &quot;dn_plastic&quot;: &quot;1.2&quot;,\n    &quot;dn_water&quot;: &quot;10.5&quot;,\n    &quot;categoryID&quot;: 15,\n    &quot;client_emails&quot;: [\n        &quot;client@example.com&quot;\n    ],\n    &quot;last_cargo&quot;: 0,\n    &quot;geozone_entered_at&quot;: &quot;2025-01-15 11:20:00&quot;,\n    &quot;arrived_at&quot;: &quot;2025-01-15 11:15:00&quot;,\n    &quot;geozone_left_at&quot;: &quot;2025-01-15 11:50:00&quot;,\n    &quot;work_finished_at&quot;: &quot;2025-01-15 11:45:00&quot;,\n    &quot;concrete_type&quot;: &quot;C30\/37&quot;,\n    &quot;concrete_strength_class&quot;: &quot;C30&quot;,\n    &quot;environmental_class&quot;: &quot;XC3&quot;,\n    &quot;dmax&quot;: &quot;16&quot;,\n    &quot;consistency_class&quot;: &quot;S3&quot;,\n    &quot;cement_type&quot;: &quot;CEM II\/A-LL 42,5N&quot;,\n    &quot;additives&quot;: &quot;Superplasticizer&quot;,\n    &quot;concrete_extra_info&quot;: &quot;High durability&quot;,\n    &quot;concrete_extra_info2&quot;: &quot;Special finish&quot;,\n    &quot;unload_method&quot;: &quot;Pump&quot;,\n    &quot;driving_instructions&quot;: &quot;Use back entrance&quot;,\n    &quot;offer_number&quot;: &quot;OFF-2025-123&quot;,\n    &quot;work_order_number&quot;: &quot;WO-2025-456&quot;,\n    &quot;notes&quot;: &quot;Handle with care&quot;,\n    &quot;operator_name&quot;: &quot;John Smith&quot;,\n    &quot;pumper_name&quot;: &quot;ABC Pumping Ltd&quot;,\n    &quot;pump_type&quot;: &quot;Stationary&quot;,\n    &quot;factory_id&quot;: 5,\n    &quot;client_address&quot;: &quot;123 Construction Ave&quot;,\n    &quot;other_object_id&quot;: &quot;PUMP-01&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 8.5,\n            &quot;weight&quot;: 150\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Padapigi<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;product_name&quot;: &quot;Electronic Components&quot;,\n    &quot;project_nr&quot;: &quot;PROJ-2025-10&quot;,\n    &quot;weight&quot;: 15000,\n    &quot;amount&quot;: 24,\n    &quot;carrier&quot;: &quot;Baltic Express&quot;,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;directo_invoice&quot;: &quot;987654&quot;,\n    &quot;own_transport&quot;: true,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Directo<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_email&quot;: &quot;john@example.com&quot;,\n    &quot;contact_sender&quot;: &quot;SENDER123&quot;,\n    &quot;contact_receiver&quot;: &quot;ABC Logistics Ltd&quot;,\n    &quot;contact_trailer&quot;: &quot;TRL456&quot;,\n    &quot;contact_order&quot;: &quot;ORD-DIR-100&quot;,\n    &quot;contact_delivery_term&quot;: &quot;DAP&quot;,\n    &quot;contact_language&quot;: &quot;eng&quot;,\n    &quot;delivery_name&quot;: &quot;ABC Logistics Ltd&quot;,\n    &quot;delivery_address1&quot;: &quot;Industrial Street 15&quot;,\n    &quot;delivery_address2&quot;: &quot;Riga, LV-1234&quot;,\n    &quot;delivery_address3&quot;: &quot;Latvia&quot;,\n    &quot;start_address1&quot;: &quot;Warehouse A&quot;,\n    &quot;start_address2&quot;: &quot;Tallinn Port&quot;,\n    &quot;start_address3&quot;: &quot;Estonia&quot;,\n    &quot;weight&quot;: 15000,\n    &quot;amount&quot;: 24,\n    &quot;hash&quot;: &quot;abc123def456&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Esvika<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;amount&quot;: 24,\n    &quot;weight&quot;: 15000,\n    &quot;vehicle_type&quot;: &quot;Curtainsider&quot;,\n    &quot;carrier&quot;: &quot;Baltic Express&quot;,\n    &quot;order_number&quot;: &quot;ORD-FI-2025-100&quot;,\n    &quot;unloading_time&quot;: 45,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Olaret<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Port Terminal, Tallinn&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;worder&quot;: &quot;WO_2025_456&quot;,\n    &quot;do_send&quot;: true,\n    &quot;containerno&quot;: &quot;MSCU1234567&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 1,\n            &quot;weight&quot;: 5000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>LotusTimber<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Timber Yard, P\u00e4rnu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;customer_id&quot;: 1,\n    &quot;carrier_id&quot;: 2,\n    &quot;trailer_nr&quot;: &quot;TRL-789&quot;,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 30,\n            &quot;weight&quot;: 25000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Veokeskus<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;amount&quot;: 24,\n    &quot;weight&quot;: 15000,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;vehicle_type&quot;: &quot;Curtainsider&quot;,\n    &quot;unloading_time&quot;: 45,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Morobell<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;added_documents&quot;: &quot;CMR, invoice&quot;,\n    &quot;seal_number&quot;: &quot;SEAL-12345&quot;,\n    &quot;fish_document_id&quot;: 1,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 10,\n            &quot;weight&quot;: 500\n        }\n    ]\n}<\/code><\/pre>\n<\/details>",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Forbidden\"}",
                            "name": "Forbidden"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Invalid period\"}",
                            "name": "Invalid Period"
                        },
                        {
                            "header": [],
                            "code": 409,
                            "body": "{\"message\": \"Duplicate order reference\"}",
                            "name": "Duplicate Order Ref"
                        }
                    ]
                },
                {
                    "name": "Get all tasks",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/tasks",
                            "query": [
                                {
                                    "key": "all",
                                    "value": "",
                                    "description": "Show all tasks including completed ones.",
                                    "disabled": true
                                },
                                {
                                    "key": "offset",
                                    "value": "0",
                                    "description": "Pagination offset.",
                                    "disabled": true
                                },
                                {
                                    "key": "limit",
                                    "value": "30",
                                    "description": "Number of records to return.",
                                    "disabled": false
                                },
                                {
                                    "key": "files",
                                    "value": "",
                                    "description": "Include files with tasks.",
                                    "disabled": true
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/tasks?all=&offset=0&limit=30&files="
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a list of route tasks for the authenticated user. By default, only active tasks are returned.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\n  {\n    \"id\": 12346,\n    \"oid\": \"metrotec\",\n    \"object_id\": \"ABC123\",\n    \"lat\": 59.437,\n    \"lon\": 24.754,\n    \"start_lat\": null,\n    \"start_lon\": null,\n    \"start_address\": null,\n    \"start_time\": \"2025-01-20 08:00:00\",\n    \"stop_time\": \"2025-01-20 17:00:00\",\n    \"order_ref\": \"ORDER-2025-001\",\n    \"order_details\": null,\n    \"task_address\": \"Tallinn, Estonia\",\n    \"task_description\": \"Standard delivery task\",\n    \"cancel_reason\": null,\n    \"status\": 1,\n    \"created_at\": \"2025-01-19 16:00:00\",\n    \"updated_at\": \"2025-01-19 16:00:00\",\n    \"work_started_at\": null,\n    \"work_finished_at\": null,\n    \"arrived_at\": null,\n    \"geozone_entered_at\": null,\n    \"geozone_left_at\": null,\n    \"sender\": \"DispatchSystem\",\n    \"tracking_nr\": \"abc123xyz789def456\",\n    \"task_notes\": null,\n    \"active\": true,\n    \"group_id\": null,\n    \"fish_document_id\": null,\n    \"is_not_own_vehicle\": false,\n    \"customer_id\": null,\n    \"carrier_id\": null,\n    \"trailer_nr\": null,\n    \"sender_id\": null,\n    \"driver_notes\": null,\n    \"hasGz\": false,\n    \"planned_km\": null,\n    \"distance\": null,\n    \"products\": [],\n    \"files\": [],\n    \"signatures\": [],\n    \"waypoints\": [],\n    \"audits\": [],\n    \"waybills\": []\n  }\n]\n",
                            "name": "Standard Task"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\n  {\n    \"id\": 12345,\n    \"oid\": \"metrotec\",\n    \"object_id\": \"RUDUS-01\",\n    \"lat\": 59.437,\n    \"lon\": 24.754,\n    \"start_lat\": 59.395,\n    \"start_lon\": 24.662,\n    \"start_address\": \"Factory, Tallinn\",\n    \"start_time\": \"2025-01-20 08:00:00\",\n    \"stop_time\": \"2025-01-20 12:00:00\",\n    \"order_ref\": \"RUDUS-2025-001\",\n    \"order_details\": \"Client: Construction Site A\",\n    \"task_address\": \"Construction Site A, Tallinn\",\n    \"task_description\": \"Concrete delivery C30\/37\",\n    \"cancel_reason\": null,\n    \"status\": 2,\n    \"created_at\": \"2025-01-19 15:30:00\",\n    \"updated_at\": \"2025-01-20 08:15:00\",\n    \"work_started_at\": \"2025-01-20 08:05:00\",\n    \"work_finished_at\": \"2025-01-20 11:45:00\",\n    \"arrived_at\": \"2025-01-20 11:15:00\",\n    \"geozone_entered_at\": \"2025-01-20 11:20:00\",\n    \"geozone_left_at\": \"2025-01-20 11:50:00\",\n    \"sender\": \"RudusAPI\",\n    \"tracking_nr\": \"abc123xyz789def456\",\n    \"task_notes\": \"Special delivery\",\n    \"active\": true,\n    \"group_id\": 10,\n    \"fish_document_id\": null,\n    \"is_not_own_vehicle\": false,\n    \"customer_id\": null,\n    \"carrier_id\": null,\n    \"trailer_nr\": null,\n    \"sender_id\": null,\n    \"driver_notes\": null,\n    \"hasGz\": false,\n    \"planned_km\": null,\n    \"distance\": null,\n    \"concrete_type\": \"C30\/37\",\n    \"concrete_strength_class\": \"C30\",\n    \"environmental_class\": \"XC3\",\n    \"dmax\": \"16\",\n    \"consistency_class\": \"S3\",\n    \"cement_type\": \"CEM II\/A-LL 42,5N\",\n    \"additives\": \"Superplasticizer\",\n    \"concrete_extra_info\": \"High durability\",\n    \"concrete_extra_info2\": \"Special finish required\",\n    \"preparation_time\": \"2025-01-20 07:30:00\",\n    \"volume\": 8.5,\n    \"unload_method\": \"Pump\",\n    \"driving_instructions\": \"Use back entrance\",\n    \"client_id\": \"CLIENT123\",\n    \"offer_number\": \"OFF-2025-123\",\n    \"ordered_volume\": 10.0,\n    \"delivered_volume\": 8.2,\n    \"pumped_volume\": 8.0,\n    \"work_order_number\": \"WO-2025-456\",\n    \"notes\": \"Handle with care\",\n    \"operator_name\": \"John Smith\",\n    \"pumper_name\": \"ABC Pumping Ltd\",\n    \"pump_type\": \"Stationary\",\n    \"factory_id\": 5,\n    \"client_address\": \"123 Construction Ave\",\n    \"dn_trash\": \"0.5\",\n    \"dn_water\": \"10.5\",\n    \"dn_plastic\": \"1.2\",\n    \"client_email\": null,\n    \"client_emails\": [\"client@example.com\", \"manager@example.com\"],\n    \"last_cargo\": 0,\n    \"other_object_id\": \"PUMP-01\",\n    \"products\": [],\n    \"files\": [],\n    \"signatures\": [],\n    \"waypoints\": [],\n    \"audits\": [],\n    \"waybills\": []\n  }\n]\n",
                            "name": "Rudus Task"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\n  {\n    \"id\": 12347,\n    \"oid\": \"metrotec\",\n    \"object_id\": \"TRUCK-05\",\n    \"lat\": 59.437,\n    \"lon\": 24.754,\n    \"start_lat\": 59.395,\n    \"start_lon\": 24.662,\n    \"start_address\": \"Warehouse A, Tallinn\",\n    \"start_time\": \"2025-01-20 06:00:00\",\n    \"stop_time\": \"2025-01-20 18:00:00\",\n    \"order_ref\": \"PAD-2025-100\",\n    \"order_details\": \"CMR delivery to Latvia\",\n    \"task_address\": \"Warehouse District, Tallinn\",\n    \"task_description\": \"International delivery to Latvia\",\n    \"cancel_reason\": null,\n    \"status\": 2,\n    \"created_at\": \"2025-01-19 14:00:00\",\n    \"updated_at\": \"2025-01-20 06:30:00\",\n    \"work_started_at\": \"2025-01-20 06:15:00\",\n    \"work_finished_at\": null,\n    \"arrived_at\": null,\n    \"geozone_entered_at\": null,\n    \"geozone_left_at\": null,\n    \"sender\": \"PadapigiAPI\",\n    \"tracking_nr\": \"abc123xyz789def456\",\n    \"task_notes\": \"CMR documents prepared\",\n    \"active\": true,\n    \"group_id\": 15,\n    \"fish_document_id\": null,\n    \"is_not_own_vehicle\": false,\n    \"customer_id\": null,\n    \"carrier_id\": null,\n    \"trailer_nr\": null,\n    \"sender_id\": null,\n    \"driver_notes\": null,\n    \"hasGz\": false,\n    \"planned_km\": null,\n    \"distance\": null,\n    \"contact_name\": \"John Doe\",\n    \"contact_country_code\": \"+371\",\n    \"contact_phone_nr\": \"21234567\",\n    \"product_name\": \"Electronic Components\",\n    \"receiver_email\": \"receiver@example.lv\",\n    \"receiver_name\": \"ABC Logistics Ltd\",\n    \"project_nr\": \"PROJ-2025-10\",\n    \"directo_invoice\": \"987654\",\n    \"carrier\": \"Baltic Express\",\n    \"weight\": 15000,\n    \"amount\": 24,\n    \"own_transport\": true,\n    \"products\": [],\n    \"files\": [],\n    \"signatures\": [],\n    \"waypoints\": [],\n    \"audits\": [],\n    \"waybills\": []\n  }\n]\n",
                            "name": "Padapigi Task"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\n  {\n    \"id\": 12348,\n    \"oid\": \"metrotec\",\n    \"object_id\": \"INT-TRUCK-02\",\n    \"lat\": 54.687,\n    \"lon\": 25.279,\n    \"start_lat\": 59.437,\n    \"start_lon\": 24.754,\n    \"start_address\": \"Tallinn Logistics Center\",\n    \"start_time\": \"2025-01-20 05:00:00\",\n    \"stop_time\": \"2025-01-21 18:00:00\",\n    \"order_ref\": \"DIR-2025-055\",\n    \"order_details\": \"Electronics to Lithuania\",\n    \"task_address\": \"Vilnius, Lithuania\",\n    \"task_description\": \"Electronics transport to Lithuania\",\n    \"cancel_reason\": null,\n    \"status\": 2,\n    \"created_at\": \"2025-01-19 12:00:00\",\n    \"updated_at\": \"2025-01-20 05:45:00\",\n    \"work_started_at\": \"2025-01-20 05:30:00\",\n    \"work_finished_at\": null,\n    \"arrived_at\": null,\n    \"geozone_entered_at\": null,\n    \"geozone_left_at\": null,\n    \"sender\": \"DirectoAPI\",\n    \"tracking_nr\": \"abc123xyz789def456\",\n    \"task_notes\": \"Border documents ready\",\n    \"active\": true,\n    \"group_id\": 20,\n    \"fish_document_id\": null,\n    \"is_not_own_vehicle\": false,\n    \"customer_id\": null,\n    \"carrier_id\": null,\n    \"trailer_nr\": null,\n    \"sender_id\": null,\n    \"driver_notes\": \"Contact receiver 1 hour before arrival\",\n    \"hasGz\": false,\n    \"planned_km\": null,\n    \"distance\": null,\n    \"contact_name\": \"Maria Vasileva\",\n    \"contact_email\": \"maria@example.lt\",\n    \"contact_sender\": \"SENDER123\",\n    \"contact_receiver\": \"ABC Logistics Ltd\",\n    \"contact_trailer\": \"TRL456\",\n    \"contact_order\": \"ORD-DIR-055\",\n    \"contact_delivery_term\": \"DAP\",\n    \"contact_language\": \"en\",\n    \"delivery_name\": \"Tech Solutions UAB\",\n    \"delivery_address\": \"Vilnius, Lithuania\",\n    \"delivery_address1\": \"Industrial Street 15\",\n    \"delivery_address2\": \"Vilnius, LT-01100\",\n    \"delivery_address3\": \"Lithuania\",\n    \"phone\": \"+37061234567\",\n    \"start_address1\": \"Logistics Center\",\n    \"start_address2\": \"Tallinn Port\",\n    \"start_address3\": \"Estonia\",\n    \"sent_time\": null,\n    \"weight\": 12000,\n    \"hash\": \"abc123def456\",\n    \"amount\": 150,\n    \"products\": [],\n    \"files\": [],\n    \"signatures\": [],\n    \"waypoints\": [],\n    \"audits\": [],\n    \"waybills\": []\n  }\n]\n",
                            "name": "Directo Task"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\n  {\n    \"id\": 12349,\n    \"oid\": \"metrotec\",\n    \"object_id\": \"ESV-TRUCK-08\",\n    \"lat\": 60.169,\n    \"lon\": 24.938,\n    \"start_lat\": 59.437,\n    \"start_lon\": 24.754,\n    \"start_address\": \"Tallinn Distribution Center\",\n    \"start_time\": \"2025-01-20 07:00:00\",\n    \"stop_time\": \"2025-01-20 16:00:00\",\n    \"order_ref\": \"ESV-2025-220\",\n    \"order_details\": \"Container to Helsinki Port\",\n    \"task_address\": \"Helsinki Port, Finland\",\n    \"task_description\": \"Container transport to Helsinki\",\n    \"cancel_reason\": null,\n    \"status\": 2,\n    \"created_at\": \"2025-01-19 13:30:00\",\n    \"updated_at\": \"2025-01-20 07:20:00\",\n    \"work_started_at\": \"2025-01-20 07:10:00\",\n    \"work_finished_at\": null,\n    \"arrived_at\": null,\n    \"geozone_entered_at\": null,\n    \"geozone_left_at\": null,\n    \"sender\": \"EsvikaAPI\",\n    \"tracking_nr\": \"abc123xyz789def456\",\n    \"task_notes\": \"Ferry booking confirmed\",\n    \"active\": true,\n    \"group_id\": 25,\n    \"fish_document_id\": null,\n    \"is_not_own_vehicle\": false,\n    \"customer_id\": null,\n    \"carrier_id\": null,\n    \"trailer_nr\": null,\n    \"sender_id\": null,\n    \"driver_notes\": null,\n    \"hasGz\": false,\n    \"planned_km\": null,\n    \"distance\": null,\n    \"contact_name\": \"Pekka Virtanen\",\n    \"contact_country_code\": \"+358\",\n    \"contact_phone_nr\": \"401234567\",\n    \"amount\": 1.0,\n    \"weight\": 22000,\n    \"order_number\": \"ORD-FI-2025-100\",\n    \"carrier\": \"Nordic Transport Oy\",\n    \"vehicle_type\": \"Curtainsider\",\n    \"receiver_name\": \"Helsinki Logistics Oy\",\n    \"receiver_email\": \"receiver@logistics.fi\",\n    \"unloading_time\": 45,\n    \"products\": [],\n    \"files\": [],\n    \"signatures\": [],\n    \"waypoints\": [],\n    \"audits\": [],\n    \"waybills\": []\n  }\n]\n",
                            "name": "Esvika Task"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\n  {\n    \"id\": 12350,\n    \"oid\": \"metrotec\",\n    \"object_id\": \"CONTAINER-TRUCK-03\",\n    \"lat\": 59.437,\n    \"lon\": 24.754,\n    \"start_lat\": null,\n    \"start_lon\": null,\n    \"start_address\": null,\n    \"start_time\": \"2025-01-20 09:00:00\",\n    \"stop_time\": \"2025-01-20 15:00:00\",\n    \"order_ref\": \"OLA-2025-456\",\n    \"order_details\": \"Container pickup\",\n    \"task_address\": \"Container Terminal, Port of Tallinn\",\n    \"task_description\": \"Container pickup and delivery\",\n    \"cancel_reason\": null,\n    \"status\": 1,\n    \"created_at\": \"2025-01-19 17:00:00\",\n    \"updated_at\": \"2025-01-19 17:00:00\",\n    \"work_started_at\": null,\n    \"work_finished_at\": null,\n    \"arrived_at\": null,\n    \"geozone_entered_at\": null,\n    \"geozone_left_at\": null,\n    \"sender\": \"OlaretAPI\",\n    \"tracking_nr\": \"abc123xyz789def456\",\n    \"task_notes\": \"Terminal gate code: 1234\",\n    \"active\": true,\n    \"group_id\": null,\n    \"fish_document_id\": null,\n    \"is_not_own_vehicle\": false,\n    \"customer_id\": null,\n    \"carrier_id\": null,\n    \"trailer_nr\": null,\n    \"sender_id\": null,\n    \"driver_notes\": null,\n    \"hasGz\": false,\n    \"planned_km\": null,\n    \"distance\": null,\n    \"worder\": \"WO_2025_456\",\n    \"do_send\": true,\n    \"containerno\": \"MSCU1234567\",\n    \"products\": [],\n    \"files\": [],\n    \"signatures\": [],\n    \"waypoints\": [],\n    \"audits\": [],\n    \"waybills\": []\n  }\n]\n",
                            "name": "Olaret Task"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\n  {\n    \"id\": 12351,\n    \"oid\": \"metrotec\",\n    \"object_id\": \"TIMBER-TRUCK-01\",\n    \"lat\": 58.378,\n    \"lon\": 26.729,\n    \"start_lat\": 59.437,\n    \"start_lon\": 24.754,\n    \"start_address\": \"Timber Yard, Tallinn\",\n    \"start_time\": \"2025-01-20 06:00:00\",\n    \"stop_time\": \"2025-01-20 14:00:00\",\n    \"order_ref\": \"LOTUS-2025-001\",\n    \"order_details\": \"Timber delivery to sawmill\",\n    \"task_address\": \"Sawmill, Tartu\",\n    \"task_description\": \"Timber transport\",\n    \"cancel_reason\": null,\n    \"status\": 2,\n    \"created_at\": \"2025-01-19 15:00:00\",\n    \"updated_at\": \"2025-01-20 06:30:00\",\n    \"work_started_at\": \"2025-01-20 06:15:00\",\n    \"work_finished_at\": null,\n    \"arrived_at\": null,\n    \"geozone_entered_at\": null,\n    \"geozone_left_at\": null,\n    \"sender\": \"LotusTimberAPI\",\n    \"tracking_nr\": \"abc123xyz789def456\",\n    \"task_notes\": \"Handle with care\",\n    \"active\": true,\n    \"group_id\": null,\n    \"fish_document_id\": null,\n    \"is_not_own_vehicle\": false,\n    \"customer_id\": 1,\n    \"carrier_id\": 2,\n    \"trailer_nr\": \"TRL-789\",\n    \"sender_id\": null,\n    \"driver_notes\": null,\n    \"hasGz\": false,\n    \"planned_km\": null,\n    \"distance\": null,\n    \"products\": [],\n    \"files\": [],\n    \"signatures\": [],\n    \"waypoints\": [],\n    \"audits\": [],\n    \"waybills\": []\n  }\n]\n",
                            "name": "LotusTimber Task"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\n  {\n    \"id\": 12350,\n    \"oid\": \"metrotec\",\n    \"object_id\": \"VEO-TRUCK-01\",\n    \"lat\": 59.437,\n    \"lon\": 24.754,\n    \"start_lat\": 59.395,\n    \"start_lon\": 24.662,\n    \"start_address\": \"Tallinn Warehouse\",\n    \"start_time\": \"2025-01-20 08:00:00\",\n    \"stop_time\": \"2025-01-20 17:00:00\",\n    \"order_ref\": \"VEO-2025-001\",\n    \"order_details\": \"Full truck load delivery\",\n    \"task_address\": \"Tartu, Estonia\",\n    \"task_description\": \"Delivery to distribution center\",\n    \"cancel_reason\": null,\n    \"status\": 2,\n    \"created_at\": \"2025-01-19 14:00:00\",\n    \"updated_at\": \"2025-01-20 08:15:00\",\n    \"work_started_at\": \"2025-01-20 08:05:00\",\n    \"work_finished_at\": null,\n    \"arrived_at\": null,\n    \"geozone_entered_at\": null,\n    \"geozone_left_at\": null,\n    \"sender\": \"VeokeskusAPI\",\n    \"tracking_nr\": \"veo123abc789xyz456\",\n    \"task_notes\": \"Delivery note required\",\n    \"active\": true,\n    \"group_id\": 30,\n    \"fish_document_id\": null,\n    \"is_not_own_vehicle\": false,\n    \"customer_id\": null,\n    \"carrier_id\": null,\n    \"trailer_nr\": null,\n    \"sender_id\": null,\n    \"driver_notes\": null,\n    \"hasGz\": false,\n    \"planned_km\": null,\n    \"distance\": null,\n    \"contact_name\": \"Mart Tamm\",\n    \"contact_country_code\": \"+372\",\n    \"contact_phone_nr\": \"5551234\",\n    \"amount\": 24,\n    \"weight\": 18000,\n    \"order_number\": null,\n    \"carrier\": null,\n    \"vehicle_type\": \"Box truck\",\n    \"receiver_name\": \"Tartu Logistics OU\",\n    \"receiver_email\": \"receiver@logistics.ee\",\n    \"unloading_time\": 60,\n    \"products\": [],\n    \"files\": [],\n    \"signatures\": [],\n    \"waypoints\": [],\n    \"audits\": [],\n    \"waybills\": []\n  }\n]\n",
                            "name": "Veokeskus Task"
                        }
                    ]
                },
                {
                    "name": "Create a new task",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/tasks",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/tasks"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"lat\":59.437,\"lon\":24.7536,\"start_time\":\"2025-01-15 08:00:00\",\"stop_time\":\"2025-01-15 17:00:00\",\"start_lat\":59.437,\"start_lon\":24.7536,\"start_address\":\"Warehouse, Tallinn\",\"task_address\":\"Customer Site, Tartu\",\"order_ref\":\"ORD-2025-001\",\"order_details\":\"Fragile goods - handle with care\",\"task_description\":\"Deliver package to reception\",\"task_notes\":\"Call customer before arrival\",\"cancel_reason\":\"Customer not available\",\"status\":1,\"planned_km\":150,\"is_not_own_vehicle\":false,\"active\":true,\"group_id\":1,\"customer_id\":1,\"carrier_id\":2,\"sender_id\":3,\"trailer_nr\":\"TRL-001\",\"order_id\":16,\"driver_notes\":\"Delivered successfully\",\"products\":[{\"product_id\":1,\"quantity\":10,\"weight\":100},{\"product_name\":\"Custom product\",\"quantity\":5}]}"
                        },
                        "description": "Creates a new route task. The available fields depend on the user's profile type.\nAll task types share common base fields (documented below), with additional profile-specific\nfields listed per scenario.\n\n**Validation overrides by profile:**\n- **Rudus, Padapigi, Directo, Esvika, Veokeskus, Morobell**: `object_id` becomes optional (nullable)\n- **Rudus, Directo**: `lat` and `lon` become optional (nullable)\n- **Directo**: `task_address` max length constraint is removed\n\n<h3>Request Body per Profile<\/h3>\n\n<details>\n<summary><strong>Rudus<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Construction Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;preparation_time&quot;: &quot;2025-01-15 07:30:00&quot;,\n    &quot;volume&quot;: 8.5,\n    &quot;client_id&quot;: &quot;CLIENT123&quot;,\n    &quot;ordered_volume&quot;: 10,\n    &quot;delivered_volume&quot;: 8.2,\n    &quot;pumped_volume&quot;: 8,\n    &quot;dn_trash&quot;: &quot;0.5&quot;,\n    &quot;dn_plastic&quot;: &quot;1.2&quot;,\n    &quot;dn_water&quot;: &quot;10.5&quot;,\n    &quot;categoryID&quot;: 15,\n    &quot;client_emails&quot;: [\n        &quot;client@example.com&quot;\n    ],\n    &quot;last_cargo&quot;: 0,\n    &quot;geozone_entered_at&quot;: &quot;2025-01-15 11:20:00&quot;,\n    &quot;arrived_at&quot;: &quot;2025-01-15 11:15:00&quot;,\n    &quot;geozone_left_at&quot;: &quot;2025-01-15 11:50:00&quot;,\n    &quot;work_finished_at&quot;: &quot;2025-01-15 11:45:00&quot;,\n    &quot;concrete_type&quot;: &quot;C30\/37&quot;,\n    &quot;concrete_strength_class&quot;: &quot;C30&quot;,\n    &quot;environmental_class&quot;: &quot;XC3&quot;,\n    &quot;dmax&quot;: &quot;16&quot;,\n    &quot;consistency_class&quot;: &quot;S3&quot;,\n    &quot;cement_type&quot;: &quot;CEM II\/A-LL 42,5N&quot;,\n    &quot;additives&quot;: &quot;Superplasticizer&quot;,\n    &quot;concrete_extra_info&quot;: &quot;High durability&quot;,\n    &quot;concrete_extra_info2&quot;: &quot;Special finish&quot;,\n    &quot;unload_method&quot;: &quot;Pump&quot;,\n    &quot;driving_instructions&quot;: &quot;Use back entrance&quot;,\n    &quot;offer_number&quot;: &quot;OFF-2025-123&quot;,\n    &quot;work_order_number&quot;: &quot;WO-2025-456&quot;,\n    &quot;notes&quot;: &quot;Handle with care&quot;,\n    &quot;operator_name&quot;: &quot;John Smith&quot;,\n    &quot;pumper_name&quot;: &quot;ABC Pumping Ltd&quot;,\n    &quot;pump_type&quot;: &quot;Stationary&quot;,\n    &quot;factory_id&quot;: 5,\n    &quot;client_address&quot;: &quot;123 Construction Ave&quot;,\n    &quot;other_object_id&quot;: &quot;PUMP-01&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 8.5,\n            &quot;weight&quot;: 150\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Padapigi<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;product_name&quot;: &quot;Electronic Components&quot;,\n    &quot;project_nr&quot;: &quot;PROJ-2025-10&quot;,\n    &quot;weight&quot;: 15000,\n    &quot;amount&quot;: 24,\n    &quot;carrier&quot;: &quot;Baltic Express&quot;,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;directo_invoice&quot;: &quot;987654&quot;,\n    &quot;own_transport&quot;: true,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Directo<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_email&quot;: &quot;john@example.com&quot;,\n    &quot;contact_sender&quot;: &quot;SENDER123&quot;,\n    &quot;contact_receiver&quot;: &quot;ABC Logistics Ltd&quot;,\n    &quot;contact_trailer&quot;: &quot;TRL456&quot;,\n    &quot;contact_order&quot;: &quot;ORD-DIR-100&quot;,\n    &quot;contact_delivery_term&quot;: &quot;DAP&quot;,\n    &quot;contact_language&quot;: &quot;eng&quot;,\n    &quot;delivery_name&quot;: &quot;ABC Logistics Ltd&quot;,\n    &quot;delivery_address1&quot;: &quot;Industrial Street 15&quot;,\n    &quot;delivery_address2&quot;: &quot;Riga, LV-1234&quot;,\n    &quot;delivery_address3&quot;: &quot;Latvia&quot;,\n    &quot;start_address1&quot;: &quot;Warehouse A&quot;,\n    &quot;start_address2&quot;: &quot;Tallinn Port&quot;,\n    &quot;start_address3&quot;: &quot;Estonia&quot;,\n    &quot;weight&quot;: 15000,\n    &quot;amount&quot;: 24,\n    &quot;hash&quot;: &quot;abc123def456&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Esvika<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;amount&quot;: 24,\n    &quot;weight&quot;: 15000,\n    &quot;vehicle_type&quot;: &quot;Curtainsider&quot;,\n    &quot;carrier&quot;: &quot;Baltic Express&quot;,\n    &quot;order_number&quot;: &quot;ORD-FI-2025-100&quot;,\n    &quot;unloading_time&quot;: 45,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Olaret<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Port Terminal, Tallinn&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;worder&quot;: &quot;WO_2025_456&quot;,\n    &quot;do_send&quot;: true,\n    &quot;containerno&quot;: &quot;MSCU1234567&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 1,\n            &quot;weight&quot;: 5000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>LotusTimber<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Timber Yard, P\u00e4rnu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;customer_id&quot;: 1,\n    &quot;carrier_id&quot;: 2,\n    &quot;trailer_nr&quot;: &quot;TRL-789&quot;,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 30,\n            &quot;weight&quot;: 25000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Veokeskus<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;amount&quot;: 24,\n    &quot;weight&quot;: 15000,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;vehicle_type&quot;: &quot;Curtainsider&quot;,\n    &quot;unloading_time&quot;: 45,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Morobell<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;added_documents&quot;: &quot;CMR, invoice&quot;,\n    &quot;seal_number&quot;: &quot;SEAL-12345&quot;,\n    &quot;fish_document_id&quot;: 1,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 10,\n            &quot;weight&quot;: 500\n        }\n    ]\n}<\/code><\/pre>\n<\/details>",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 12346,\n  \"oid\": \"metrotec\",\n  \"object_id\": \"ABC123\",\n  \"lat\": 59.437,\n  \"lon\": 24.754,\n  \"start_lat\": null,\n  \"start_lon\": null,\n  \"start_address\": null,\n  \"start_time\": \"2025-01-20 08:00:00\",\n  \"stop_time\": \"2025-01-20 17:00:00\",\n  \"order_ref\": \"ORDER-2025-001\",\n  \"order_details\": null,\n  \"task_address\": \"Tallinn, Estonia\",\n  \"task_description\": \"Standard delivery task\",\n  \"cancel_reason\": null,\n  \"status\": 1,\n  \"created_at\": \"2025-01-19 16:00:00\",\n  \"updated_at\": \"2025-01-19 16:00:00\",\n  \"sender\": \"DispatchSystem\",\n  \"tracking_nr\": \"abc123xyz789def456\",\n  \"task_notes\": null,\n  \"active\": true,\n  \"group_id\": null,\n  \"is_not_own_vehicle\": false,\n  \"products\": [],\n  \"files\": [],\n  \"signatures\": []\n}\n",
                            "name": "Standard Task"
                        },
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 12345,\n  \"oid\": \"metrotec\",\n  \"object_id\": \"RUDUS-01\",\n  \"lat\": 59.437,\n  \"lon\": 24.754,\n  \"start_lat\": 59.395,\n  \"start_lon\": 24.662,\n  \"start_address\": \"Factory, Tallinn\",\n  \"start_time\": \"2025-01-20 08:00:00\",\n  \"stop_time\": \"2025-01-20 12:00:00\",\n  \"order_ref\": \"RUDUS-2025-001\",\n  \"order_details\": \"Client: Construction Site A\",\n  \"task_address\": \"Construction Site A, Tallinn\",\n  \"task_description\": \"Concrete delivery C30\/37\",\n  \"cancel_reason\": null,\n  \"status\": 1,\n  \"created_at\": \"2025-01-19 15:30:00\",\n  \"updated_at\": \"2025-01-19 15:30:00\",\n  \"sender\": \"RudusAPI\",\n  \"tracking_nr\": \"abc123xyz789def456\",\n  \"task_notes\": \"Special delivery\",\n  \"active\": true,\n  \"group_id\": 10,\n  \"is_not_own_vehicle\": false,\n  \"preparation_time\": \"2025-01-20 07:30:00\",\n  \"volume\": 8.5,\n  \"client_id\": \"CLIENT123\",\n  \"ordered_volume\": 10.0,\n  \"delivered_volume\": 8.2,\n  \"pumped_volume\": 8.0,\n  \"dn_trash\": \"0.5\",\n  \"dn_plastic\": \"1.2\",\n  \"dn_water\": \"10.5\",\n  \"categoryID\": 15,\n  \"client_emails\": [\"client@example.com\", \"manager@example.com\"],\n  \"last_cargo\": 0,\n  \"concrete_type\": \"C30\/37\",\n  \"concrete_strength_class\": \"C30\",\n  \"environmental_class\": \"XC3\",\n  \"dmax\": \"16\",\n  \"consistency_class\": \"S3\",\n  \"cement_type\": \"CEM II\/A-LL 42,5N\",\n  \"additives\": \"Superplasticizer\",\n  \"concrete_extra_info\": \"High durability\",\n  \"concrete_extra_info2\": \"Special finish required\",\n  \"unload_method\": \"Pump\",\n  \"driving_instructions\": \"Use back entrance\",\n  \"offer_number\": \"OFF-2025-123\",\n  \"work_order_number\": \"WO-2025-456\",\n  \"notes\": \"Handle with care\",\n  \"operator_name\": \"John Smith\",\n  \"pumper_name\": \"ABC Pumping Ltd\",\n  \"pump_type\": \"Stationary\",\n  \"factory_id\": 5,\n  \"client_address\": \"123 Construction Ave\",\n  \"other_object_id\": \"PUMP-01\",\n  \"products\": [],\n  \"files\": [],\n  \"signatures\": []\n}\n",
                            "name": "Rudus Task"
                        },
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 12347,\n  \"oid\": \"metrotec\",\n  \"object_id\": \"TRUCK-05\",\n  \"lat\": 59.437,\n  \"lon\": 24.754,\n  \"start_lat\": 59.395,\n  \"start_lon\": 24.662,\n  \"start_address\": \"Warehouse A, Tallinn\",\n  \"start_time\": \"2025-01-20 06:00:00\",\n  \"stop_time\": \"2025-01-20 18:00:00\",\n  \"order_ref\": \"PAD-2025-100\",\n  \"order_details\": \"CMR delivery to Latvia\",\n  \"task_address\": \"Warehouse District, Tallinn\",\n  \"task_description\": \"International delivery to Latvia\",\n  \"cancel_reason\": null,\n  \"status\": 1,\n  \"created_at\": \"2025-01-19 14:00:00\",\n  \"updated_at\": \"2025-01-19 14:00:00\",\n  \"sender\": \"PadapigiAPI\",\n  \"tracking_nr\": \"abc123xyz789def456\",\n  \"task_notes\": \"CMR documents prepared\",\n  \"active\": false,\n  \"group_id\": 15,\n  \"is_not_own_vehicle\": false,\n  \"contact_name\": \"John Doe\",\n  \"contact_email\": \"john.doe@example.com\",\n  \"contact_sender\": \"SENDER123\",\n  \"contact_receiver\": \"ABC Logistics Ltd\",\n  \"contact_trailer\": \"TRL456\",\n  \"contact_order\": \"ORD-PAD-100\",\n  \"contact_delivery_term\": \"DAP\",\n  \"contact_language\": \"en\",\n  \"delivery_name\": \"ABC Logistics Ltd\",\n  \"delivery_address1\": \"Industrial Street 15\",\n  \"delivery_address2\": \"Riga, LV-1234\",\n  \"delivery_address3\": \"Latvia\",\n  \"start_address1\": \"Warehouse A\",\n  \"start_address2\": \"Tallinn Port\",\n  \"start_address3\": \"Estonia\",\n  \"weight\": 15000,\n  \"amount\": 24,\n  \"hash\": \"abc123def456\",\n  \"products\": [],\n  \"files\": [],\n  \"signatures\": []\n}\n",
                            "name": "Padapigi Task"
                        },
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 12348,\n  \"oid\": \"metrotec\",\n  \"object_id\": \"INT-TRUCK-02\",\n  \"lat\": 54.687,\n  \"lon\": 25.279,\n  \"start_lat\": 59.437,\n  \"start_lon\": 24.754,\n  \"start_address\": \"Tallinn Logistics Center\",\n  \"start_time\": \"2025-01-20 05:00:00\",\n  \"stop_time\": \"2025-01-21 18:00:00\",\n  \"order_ref\": \"DIR-2025-055\",\n  \"order_details\": \"Electronics to Lithuania\",\n  \"task_address\": \"Vilnius, Lithuania\",\n  \"task_description\": \"Electronics transport to Lithuania\",\n  \"cancel_reason\": null,\n  \"status\": 1,\n  \"created_at\": \"2025-01-19 12:00:00\",\n  \"updated_at\": \"2025-01-19 12:00:00\",\n  \"sender\": \"DirectoAPI\",\n  \"tracking_nr\": \"abc123xyz789def456\",\n  \"task_notes\": \"Border documents ready\",\n  \"active\": false,\n  \"group_id\": 20,\n  \"is_not_own_vehicle\": false,\n  \"amount\": 150,\n  \"contact_name\": \"Maria Vasileva\",\n  \"contact_country_code\": \"+370\",\n  \"contact_phone_nr\": \"61234567\",\n  \"product_name\": \"Electronic Components\",\n  \"project_nr\": \"PROJ-2025-10\",\n  \"weight\": 12000,\n  \"carrier\": \"Baltic Express\",\n  \"receiver_email\": \"receiver@example.lt\",\n  \"receiver_name\": \"Tech Solutions UAB\",\n  \"directo_invoice\": \"987654\",\n  \"driver_notes\": \"Contact receiver 1 hour before arrival\",\n  \"own_transport\": true,\n  \"products\": [],\n  \"files\": [],\n  \"signatures\": []\n}\n",
                            "name": "Directo Task"
                        },
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 12349,\n  \"oid\": \"metrotec\",\n  \"object_id\": \"ESV-TRUCK-08\",\n  \"lat\": 60.169,\n  \"lon\": 24.938,\n  \"start_lat\": 59.437,\n  \"start_lon\": 24.754,\n  \"start_address\": \"Tallinn Distribution Center\",\n  \"start_time\": \"2025-01-20 07:00:00\",\n  \"stop_time\": \"2025-01-20 16:00:00\",\n  \"order_ref\": \"ESV-2025-220\",\n  \"order_details\": \"Container to Helsinki Port\",\n  \"task_address\": \"Helsinki Port, Finland\",\n  \"task_description\": \"Container transport to Helsinki\",\n  \"cancel_reason\": null,\n  \"status\": 1,\n  \"created_at\": \"2025-01-19 13:30:00\",\n  \"updated_at\": \"2025-01-19 13:30:00\",\n  \"sender\": \"EsvikaAPI\",\n  \"tracking_nr\": \"abc123xyz789def456\",\n  \"task_notes\": \"Ferry booking confirmed\",\n  \"active\": false,\n  \"group_id\": 25,\n  \"is_not_own_vehicle\": false,\n  \"contact_name\": \"Pekka Virtanen\",\n  \"contact_country_code\": \"+358\",\n  \"contact_phone_nr\": \"401234567\",\n  \"amount\": 1.0,\n  \"weight\": 22000,\n  \"vehicle_type\": \"Curtainsider\",\n  \"carrier\": \"Nordic Transport Oy\",\n  \"order_number\": \"ORD-FI-2025-100\",\n  \"unloading_time\": 45,\n  \"products\": [],\n  \"files\": [],\n  \"signatures\": []\n}\n",
                            "name": "Esvika Task"
                        },
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 12350,\n  \"oid\": \"metrotec\",\n  \"object_id\": \"CONTAINER-TRUCK-03\",\n  \"lat\": 59.437,\n  \"lon\": 24.754,\n  \"start_lat\": null,\n  \"start_lon\": null,\n  \"start_address\": null,\n  \"start_time\": \"2025-01-20 09:00:00\",\n  \"stop_time\": \"2025-01-20 15:00:00\",\n  \"order_ref\": \"OLA-2025-456\",\n  \"order_details\": \"Container pickup\",\n  \"task_address\": \"Container Terminal, Port of Tallinn\",\n  \"task_description\": \"Container pickup and delivery\",\n  \"cancel_reason\": null,\n  \"status\": 1,\n  \"created_at\": \"2025-01-19 17:00:00\",\n  \"updated_at\": \"2025-01-19 17:00:00\",\n  \"sender\": \"OlaretAPI\",\n  \"tracking_nr\": \"abc123xyz789def456\",\n  \"task_notes\": \"Terminal gate code: 1234\",\n  \"active\": true,\n  \"group_id\": null,\n  \"is_not_own_vehicle\": false,\n  \"worder\": \"WO_2025_456\",\n  \"containerno\": \"MSCU1234567\",\n  \"do_send\": true,\n  \"products\": [],\n  \"files\": [],\n  \"signatures\": []\n}\n",
                            "name": "Olaret Task"
                        },
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 12351,\n  \"oid\": \"metrotec\",\n  \"object_id\": \"TIMBER-TRUCK-01\",\n  \"lat\": 58.378,\n  \"lon\": 26.729,\n  \"start_lat\": 59.437,\n  \"start_lon\": 24.754,\n  \"start_address\": \"Timber Yard, Tallinn\",\n  \"start_time\": \"2025-01-20 06:00:00\",\n  \"stop_time\": \"2025-01-20 14:00:00\",\n  \"order_ref\": \"LOTUS-2025-001\",\n  \"order_details\": \"Timber delivery to sawmill\",\n  \"customer_id\": 1,\n  \"carrier_id\": 2,\n  \"trailer_nr\": \"TRL-789\",\n  \"task_address\": \"Sawmill, Tartu\",\n  \"task_description\": \"Timber transport\",\n  \"cancel_reason\": null,\n  \"status\": 1,\n  \"created_at\": \"2025-01-19 15:00:00\",\n  \"updated_at\": \"2025-01-19 15:00:00\",\n  \"sender\": \"LotusTimberAPI\",\n  \"tracking_nr\": \"abc123xyz789def456\",\n  \"task_notes\": \"Handle with care\",\n  \"active\": true,\n  \"group_id\": null,\n  \"is_not_own_vehicle\": false,\n  \"products\": [\n    {\n      \"id\": 1,\n      \"name\": \"Pine Logs\",\n      \"pivot\": {\n        \"route_task_id\": 12351,\n        \"product_id\": 1,\n        \"quantity\": \"25.00\",\n        \"weight\": \"1500.00\",\n        \"created_at\": \"2025-01-19 15:00:00\",\n        \"updated_at\": \"2025-01-19 15:00:00\"\n      }\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Spruce Logs\",\n      \"pivot\": {\n        \"route_task_id\": 12351,\n        \"product_id\": 2,\n        \"quantity\": \"15.00\",\n        \"weight\": \"900.00\",\n        \"created_at\": \"2025-01-19 15:00:00\",\n        \"updated_at\": \"2025-01-19 15:00:00\"\n      }\n    }\n  ],\n  \"files\": [],\n  \"signatures\": []\n}\n",
                            "name": "LotusTimber Task"
                        },
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\n  \"id\": 12350,\n  \"oid\": \"metrotec\",\n  \"object_id\": \"VEO-TRUCK-01\",\n  \"lat\": 59.437,\n  \"lon\": 24.754,\n  \"start_lat\": 59.395,\n  \"start_lon\": 24.662,\n  \"start_address\": \"Tallinn Warehouse\",\n  \"start_time\": \"2025-01-20 08:00:00\",\n  \"stop_time\": \"2025-01-20 17:00:00\",\n  \"order_ref\": \"VEO-2025-001\",\n  \"order_details\": \"Full truck load delivery\",\n  \"task_address\": \"Tartu, Estonia\",\n  \"task_description\": \"Delivery to distribution center\",\n  \"cancel_reason\": null,\n  \"status\": 1,\n  \"created_at\": \"2025-01-20 07:00:00\",\n  \"updated_at\": \"2025-01-20 07:00:00\",\n  \"sender\": \"VeokeskusAPI\",\n  \"tracking_nr\": \"veo123abc789xyz456\",\n  \"task_notes\": \"Delivery note required\",\n  \"active\": false,\n  \"group_id\": 30,\n  \"is_not_own_vehicle\": false,\n  \"contact_name\": \"Mart Tamm\",\n  \"contact_country_code\": \"+372\",\n  \"contact_phone_nr\": \"5551234\",\n  \"amount\": 24,\n  \"weight\": 18000,\n  \"vehicle_type\": \"Box truck\",\n  \"receiver_email\": \"receiver@logistics.ee\",\n  \"receiver_name\": \"Tartu Logistics O\u00dc\",\n  \"unloading_time\": 60,\n  \"products\": [],\n  \"files\": [],\n  \"signatures\": [],\n  \"waypoints\": []\n}\n",
                            "name": "Veokeskus Task"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"Lat_Lon_Must_Be_Defined\"}",
                            "name": "Validation Error"
                        },
                        {
                            "header": [],
                            "code": 409,
                            "body": "{\"message\": \"Duplicate order reference\"}",
                            "name": "Duplicate Order Ref"
                        }
                    ]
                },
                {
                    "name": "Get a specific task",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/tasks\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/tasks\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "16",
                                    "description": "The ID of the task."
                                },
                                {
                                    "id": "task",
                                    "key": "task",
                                    "value": "1",
                                    "description": "Task ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single route task with files, signatures and products.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not Found\"}",
                            "name": "Task not found"
                        }
                    ]
                },
                {
                    "name": "Update a task",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/tasks\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/tasks\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "16",
                                    "description": "The ID of the task."
                                },
                                {
                                    "id": "task",
                                    "key": "task",
                                    "value": "1",
                                    "description": "Task ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"lat\":59.437,\"lon\":24.7536,\"start_time\":\"2025-01-15 08:00:00\",\"stop_time\":\"2025-01-15 17:00:00\",\"start_lat\":59.437,\"start_lon\":24.7536,\"start_address\":\"Warehouse, Tallinn\",\"task_address\":\"Customer Site, Tartu\",\"order_ref\":\"ORD-2025-001\",\"order_details\":\"Fragile goods - handle with care\",\"task_description\":\"Deliver package to reception\",\"task_notes\":\"Call customer before arrival\",\"cancel_reason\":\"Customer not available\",\"status\":1,\"planned_km\":150,\"is_not_own_vehicle\":false,\"active\":true,\"group_id\":1,\"customer_id\":1,\"carrier_id\":2,\"sender_id\":3,\"trailer_nr\":\"TRL-001\",\"order_id\":16,\"driver_notes\":\"Delivered successfully\",\"products\":[{\"product_id\":1,\"quantity\":10,\"weight\":100},{\"product_name\":\"Custom product\",\"quantity\":5}]}"
                        },
                        "description": "Updates an existing route task. All base fields are optional on update.\nAdditional profile-specific fields are listed per scenario below.\n\n**Status Changes:**\n- Setting status to 4 (rejected) will deactivate the task and remove group assignment\n- Setting status to 3 (completed) or 7 (signed) triggers task-specific completion logic\n\n<h3>Request Body per Profile<\/h3>\n\n<details>\n<summary><strong>Rudus<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Construction Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;preparation_time&quot;: &quot;2025-01-15 07:30:00&quot;,\n    &quot;volume&quot;: 8.5,\n    &quot;client_id&quot;: &quot;CLIENT123&quot;,\n    &quot;ordered_volume&quot;: 10,\n    &quot;delivered_volume&quot;: 8.2,\n    &quot;pumped_volume&quot;: 8,\n    &quot;dn_trash&quot;: &quot;0.5&quot;,\n    &quot;dn_plastic&quot;: &quot;1.2&quot;,\n    &quot;dn_water&quot;: &quot;10.5&quot;,\n    &quot;categoryID&quot;: 15,\n    &quot;client_emails&quot;: [\n        &quot;client@example.com&quot;\n    ],\n    &quot;last_cargo&quot;: 0,\n    &quot;geozone_entered_at&quot;: &quot;2025-01-15 11:20:00&quot;,\n    &quot;arrived_at&quot;: &quot;2025-01-15 11:15:00&quot;,\n    &quot;geozone_left_at&quot;: &quot;2025-01-15 11:50:00&quot;,\n    &quot;work_finished_at&quot;: &quot;2025-01-15 11:45:00&quot;,\n    &quot;concrete_type&quot;: &quot;C30\/37&quot;,\n    &quot;concrete_strength_class&quot;: &quot;C30&quot;,\n    &quot;environmental_class&quot;: &quot;XC3&quot;,\n    &quot;dmax&quot;: &quot;16&quot;,\n    &quot;consistency_class&quot;: &quot;S3&quot;,\n    &quot;cement_type&quot;: &quot;CEM II\/A-LL 42,5N&quot;,\n    &quot;additives&quot;: &quot;Superplasticizer&quot;,\n    &quot;concrete_extra_info&quot;: &quot;High durability&quot;,\n    &quot;concrete_extra_info2&quot;: &quot;Special finish&quot;,\n    &quot;unload_method&quot;: &quot;Pump&quot;,\n    &quot;driving_instructions&quot;: &quot;Use back entrance&quot;,\n    &quot;offer_number&quot;: &quot;OFF-2025-123&quot;,\n    &quot;work_order_number&quot;: &quot;WO-2025-456&quot;,\n    &quot;notes&quot;: &quot;Handle with care&quot;,\n    &quot;operator_name&quot;: &quot;John Smith&quot;,\n    &quot;pumper_name&quot;: &quot;ABC Pumping Ltd&quot;,\n    &quot;pump_type&quot;: &quot;Stationary&quot;,\n    &quot;factory_id&quot;: 5,\n    &quot;client_address&quot;: &quot;123 Construction Ave&quot;,\n    &quot;other_object_id&quot;: &quot;PUMP-01&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 8.5,\n            &quot;weight&quot;: 150\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Padapigi<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;product_name&quot;: &quot;Electronic Components&quot;,\n    &quot;project_nr&quot;: &quot;PROJ-2025-10&quot;,\n    &quot;weight&quot;: 15000,\n    &quot;amount&quot;: 24,\n    &quot;carrier&quot;: &quot;Baltic Express&quot;,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;directo_invoice&quot;: &quot;987654&quot;,\n    &quot;own_transport&quot;: true,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Directo<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_email&quot;: &quot;john@example.com&quot;,\n    &quot;contact_sender&quot;: &quot;SENDER123&quot;,\n    &quot;contact_receiver&quot;: &quot;ABC Logistics Ltd&quot;,\n    &quot;contact_trailer&quot;: &quot;TRL456&quot;,\n    &quot;contact_order&quot;: &quot;ORD-DIR-100&quot;,\n    &quot;contact_delivery_term&quot;: &quot;DAP&quot;,\n    &quot;contact_language&quot;: &quot;eng&quot;,\n    &quot;delivery_name&quot;: &quot;ABC Logistics Ltd&quot;,\n    &quot;delivery_address1&quot;: &quot;Industrial Street 15&quot;,\n    &quot;delivery_address2&quot;: &quot;Riga, LV-1234&quot;,\n    &quot;delivery_address3&quot;: &quot;Latvia&quot;,\n    &quot;start_address1&quot;: &quot;Warehouse A&quot;,\n    &quot;start_address2&quot;: &quot;Tallinn Port&quot;,\n    &quot;start_address3&quot;: &quot;Estonia&quot;,\n    &quot;weight&quot;: 15000,\n    &quot;amount&quot;: 24,\n    &quot;hash&quot;: &quot;abc123def456&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Esvika<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;amount&quot;: 24,\n    &quot;weight&quot;: 15000,\n    &quot;vehicle_type&quot;: &quot;Curtainsider&quot;,\n    &quot;carrier&quot;: &quot;Baltic Express&quot;,\n    &quot;order_number&quot;: &quot;ORD-FI-2025-100&quot;,\n    &quot;unloading_time&quot;: 45,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Olaret<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Port Terminal, Tallinn&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;worder&quot;: &quot;WO_2025_456&quot;,\n    &quot;do_send&quot;: true,\n    &quot;containerno&quot;: &quot;MSCU1234567&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 1,\n            &quot;weight&quot;: 5000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>LotusTimber<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Timber Yard, P\u00e4rnu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;customer_id&quot;: 1,\n    &quot;carrier_id&quot;: 2,\n    &quot;trailer_nr&quot;: &quot;TRL-789&quot;,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 30,\n            &quot;weight&quot;: 25000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Veokeskus<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;amount&quot;: 24,\n    &quot;weight&quot;: 15000,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;vehicle_type&quot;: &quot;Curtainsider&quot;,\n    &quot;unloading_time&quot;: 45,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 24,\n            &quot;weight&quot;: 15000\n        }\n    ]\n}<\/code><\/pre>\n<\/details>\n\n<details>\n<summary><strong>Morobell<\/strong><\/summary>\n\n<pre style=\"float:none;width:100%;margin:0.5em 0\"><code class=\"language-json\">{\n    &quot;object_id&quot;: &quot;ABC123&quot;,\n    &quot;lat&quot;: 59.437,\n    &quot;lon&quot;: 24.7536,\n    &quot;start_time&quot;: &quot;2025-01-15 08:00:00&quot;,\n    &quot;stop_time&quot;: &quot;2025-01-15 17:00:00&quot;,\n    &quot;task_address&quot;: &quot;Customer Site, Tartu&quot;,\n    &quot;order_ref&quot;: &quot;ORD-2025-001&quot;,\n    &quot;status&quot;: 1,\n    &quot;contact_name&quot;: &quot;John Doe&quot;,\n    &quot;contact_country_code&quot;: &quot;+372&quot;,\n    &quot;contact_phone_nr&quot;: &quot;5551234&quot;,\n    &quot;receiver_email&quot;: &quot;receiver@example.com&quot;,\n    &quot;receiver_name&quot;: &quot;Tech Solutions UAB&quot;,\n    &quot;added_documents&quot;: &quot;CMR, invoice&quot;,\n    &quot;seal_number&quot;: &quot;SEAL-12345&quot;,\n    &quot;fish_document_id&quot;: 1,\n    &quot;products&quot;: [\n        {\n            &quot;product_id&quot;: 1,\n            &quot;quantity&quot;: 10,\n            &quot;weight&quot;: 500\n        }\n    ]\n}<\/code><\/pre>\n<\/details>",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Forbidden\"}",
                            "name": "Forbidden"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Invalid period\"}",
                            "name": "Invalid Period"
                        },
                        {
                            "header": [],
                            "code": 409,
                            "body": "{\"message\": \"Duplicate order reference\"}",
                            "name": "Duplicate Order Ref"
                        }
                    ]
                },
                {
                    "name": "Delete a task",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/tasks\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/tasks\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "16",
                                    "description": "The ID of the task."
                                },
                                {
                                    "id": "task",
                                    "key": "task",
                                    "value": "1",
                                    "description": "Task ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a route task and its associated extra data from the task-type-specific table.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 204,
                            "body": "{}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Forbidden\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Orders",
                    "description": "APIs for managing orders.",
                    "item": [
                        {
                            "name": "Get all orders",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/orders",
                                    "query": [
                                        {
                                            "key": "per_page",
                                            "value": "30",
                                            "description": "Number of records per page.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "page",
                                            "value": "1",
                                            "description": "Page number.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/orders?per_page=30&page=1"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[\n  {\n    \"id\": 1,\n    \"oid\": \"metrotec\",\n    \"start_address\": \"Warehouse, Tallinn\",\n    \"lat\": 59.437,\n    \"lon\": 24.7536,\n    \"start_time\": \"2026-01-15 08:00:00\",\n    \"stop_time\": \"2026-01-15 17:00:00\",\n    \"order_ref\": \"ORD-2026-001\",\n    \"order_details\": \"Fragile goods\",\n    \"customer_id\": 1,\n    \"task_address\": \"Customer Site, Tartu\",\n    \"task_notes\": \"Call before arrival\",\n    \"task_description\": \"Deliver package to reception\",\n    \"driver_notes\": null,\n    \"cancel_reason\": null,\n    \"status\": 1,\n    \"sender\": \"admin\",\n    \"sender_id\": null,\n    \"customer\": null,\n    \"sender_party\": null,\n    \"created_at\": \"2026-01-15 08:00:00\",\n    \"updated_at\": \"2026-01-15 08:00:00\"\n  }\n]",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create a new order",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/orders",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/orders"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"start_address\":\"Warehouse, Tallinn\",\"lat\":59.437,\"lon\":24.7536,\"start_time\":\"2026-01-15 08:00:00\",\"stop_time\":\"2026-01-15 17:00:00\",\"order_ref\":\"ORD-2026-001\",\"order_details\":\"Fragile goods - handle with care\",\"customer_id\":1,\"task_address\":\"Customer Site, Tartu\",\"task_notes\":\"Call customer before arrival\",\"task_description\":\"Deliver package to reception\",\"driver_notes\":\"Delivered successfully\",\"cancel_reason\":\"Customer not available\",\"status\":1,\"sender_id\":3}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"start_address\": \"Warehouse, Tallinn\",\n  \"lat\": 59.437,\n  \"lon\": 24.7536,\n  \"start_time\": \"2026-01-15 08:00:00\",\n  \"stop_time\": \"2026-01-15 17:00:00\",\n  \"order_ref\": \"ORD-2026-001\",\n  \"order_details\": \"Fragile goods\",\n  \"customer_id\": 1,\n  \"task_address\": \"Customer Site, Tartu\",\n  \"task_notes\": \"Call before arrival\",\n  \"task_description\": \"Deliver package to reception\",\n  \"driver_notes\": null,\n  \"cancel_reason\": null,\n  \"status\": 1,\n  \"sender\": \"admin\",\n  \"sender_id\": null,\n  \"customer\": null,\n  \"sender_party\": null,\n  \"created_at\": \"2026-01-15 08:00:00\",\n  \"updated_at\": \"2026-01-15 08:00:00\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get a specific order",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/orders\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/orders\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the order."
                                        },
                                        {
                                            "id": "order",
                                            "key": "order",
                                            "value": "1",
                                            "description": "Order ID"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"start_address\": \"Warehouse, Tallinn\",\n  \"lat\": 59.437,\n  \"lon\": 24.7536,\n  \"start_time\": \"2026-01-15 08:00:00\",\n  \"stop_time\": \"2026-01-15 17:00:00\",\n  \"order_ref\": \"ORD-2026-001\",\n  \"order_details\": \"Fragile goods\",\n  \"customer_id\": 1,\n  \"task_address\": \"Customer Site, Tartu\",\n  \"task_notes\": \"Call before arrival\",\n  \"task_description\": \"Deliver package to reception\",\n  \"driver_notes\": null,\n  \"cancel_reason\": null,\n  \"status\": 1,\n  \"sender\": \"admin\",\n  \"sender_id\": null,\n  \"customer\": null,\n  \"sender_party\": null,\n  \"created_at\": \"2026-01-15 08:00:00\",\n  \"updated_at\": \"2026-01-15 08:00:00\"\n}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\": \"Not Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Update an order",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/orders\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/orders\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the order."
                                        },
                                        {
                                            "id": "order",
                                            "key": "order",
                                            "value": "1",
                                            "description": "Order ID"
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"start_address\":\"Warehouse, Tallinn\",\"lat\":59.437,\"lon\":24.7536,\"start_time\":\"2026-01-15 08:00:00\",\"stop_time\":\"2026-01-15 17:00:00\",\"order_ref\":\"ORD-2026-001\",\"order_details\":\"Fragile goods - handle with care\",\"customer_id\":1,\"task_address\":\"Customer Site, Tartu\",\"task_notes\":\"Call customer before arrival\",\"task_description\":\"Deliver package to reception\",\"driver_notes\":\"Delivered successfully\",\"cancel_reason\":\"Customer not available\",\"status\":1,\"sender_id\":3}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"start_address\": \"Warehouse, Tallinn\",\n  \"lat\": 59.437,\n  \"lon\": 24.7536,\n  \"start_time\": \"2026-01-15 08:00:00\",\n  \"stop_time\": \"2026-01-15 17:00:00\",\n  \"order_ref\": \"ORD-2026-001\",\n  \"order_details\": \"Updated details\",\n  \"customer_id\": 1,\n  \"task_address\": \"Customer Site, Tartu\",\n  \"task_notes\": \"Call before arrival\",\n  \"task_description\": \"Deliver package to reception\",\n  \"driver_notes\": \"Delivered successfully\",\n  \"cancel_reason\": null,\n  \"status\": 2,\n  \"sender\": \"admin\",\n  \"sender_id\": null,\n  \"customer\": null,\n  \"sender_party\": null,\n  \"created_at\": \"2026-01-15 08:00:00\",\n  \"updated_at\": \"2026-01-15 10:00:00\"\n}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\": \"Forbidden\"}",
                                    "name": "Forbidden"
                                }
                            ]
                        },
                        {
                            "name": "Delete an order",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/orders\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/orders\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the order."
                                        },
                                        {
                                            "id": "order",
                                            "key": "order",
                                            "value": "1",
                                            "description": "Order ID"
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\": \"Forbidden\"}",
                                    "name": "Forbidden"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Parties",
                    "description": "APIs for managing parties.",
                    "item": [
                        {
                            "name": "Get all parties",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/parties",
                                    "query": [
                                        {
                                            "key": "filter%5Barchived%5D",
                                            "value": "1",
                                            "description": "Show all parties including inactive",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter%5Brole%5D",
                                            "value": "1",
                                            "description": "Filter by role ID (searches in JSON array)",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/parties?filter%5Barchived%5D=1&filter%5Brole%5D=1"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[\n  {\n    \"id\": 1,\n    \"oid\": \"metrotec\",\n    \"role\": [1, 2],\n    \"lang\": \"est\",\n    \"company_name\": \"Example Company\",\n    \"company_no\": \"12345678\",\n    \"company_vat_no\": \"EE123456789\",\n    \"company_country_code\": \"+372\",\n    \"company_phone_nr\": \"5555 5555\",\n    \"company_email\": \"info@example.com\",\n    \"company_address\": \"Example Street 1, Tallinn\",\n    \"contact_name\": \"John Doe\",\n    \"contact_country_code\": \"+372\",\n    \"contact_phone_nr\": \"5555 5556\",\n    \"contact_email\": \"john@example.com\",\n    \"active\": true,\n    \"default\": false,\n    \"created_at\": \"2025-01-01T00:00:00.000000Z\",\n    \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n  }\n]",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create a new party",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/parties",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/parties"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"company_name\":\"Example Company\",\"role\":[1],\"lang\":\"est\",\"company_no\":\"12345678\",\"company_vat_no\":\"EE123456789\",\"company_country_code\":\"+372\",\"company_phone_nr\":\"5555 5555\",\"company_email\":\"info@example.com\",\"company_address\":\"Example Street 1, Tallinn\",\"contact_name\":\"John Doe\",\"contact_country_code\":\"+372\",\"contact_phone_nr\":\"5555 5556\",\"contact_email\":\"john@example.com\",\"active\":true,\"default\":false,\"payment_term\":\"b\"}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"role\": [1, 2],\n  \"def_lang\": \"est\",\n  \"company_name\": \"Example Company\",\n  \"company_no\": \"12345678\",\n  \"company_vat_no\": \"EE123456789\",\n  \"company_country_code\": \"+372\",\n  \"company_phone_nr\": \"5555 5555\",\n  \"company_email\": \"info@example.com\",\n  \"company_address\": \"Example Street 1, Tallinn\",\n  \"contact_name\": \"John Doe\",\n  \"contact_country_code\": \"+372\",\n  \"contact_phone_nr\": \"5555 5556\",\n  \"contact_email\": \"john@example.com\",\n  \"active\": true,\n  \"default\": false,\n  \"created_at\": \"2025-11-28T10:00:00.000000Z\",\n  \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get a specific party",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/parties\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/parties\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the party."
                                        },
                                        {
                                            "id": "party",
                                            "key": "party",
                                            "value": "1",
                                            "description": "Party ID"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"role\": [1, 2],\n  \"def_lang\": \"est\",\n  \"company_name\": \"Example Company\",\n  \"company_no\": \"12345678\",\n  \"company_vat_no\": \"EE123456789\",\n  \"company_country_code\": \"+372\",\n  \"company_phone_nr\": \"5555 5555\",\n  \"company_email\": \"info@example.com\",\n  \"company_address\": \"Example Street 1, Tallinn\",\n  \"contact_name\": \"John Doe\",\n  \"contact_country_code\": \"+372\",\n  \"contact_phone_nr\": \"5555 5556\",\n  \"contact_email\": \"john@example.com\",\n  \"active\": true,\n  \"default\": false,\n  \"created_at\": \"2025-01-01T00:00:00.000000Z\",\n  \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update a party",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/parties\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/parties\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the party."
                                        },
                                        {
                                            "id": "party",
                                            "key": "party",
                                            "value": "1",
                                            "description": "Party ID"
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"company_name\":\"Example Company\",\"role\":[1],\"lang\":\"est\",\"company_no\":\"12345678\",\"company_vat_no\":\"EE123456789\",\"company_country_code\":\"+372\",\"company_phone_nr\":\"5555 5555\",\"company_email\":\"info@example.com\",\"company_address\":\"Example Street 1, Tallinn\",\"contact_name\":\"John Doe\",\"contact_country_code\":\"+372\",\"contact_phone_nr\":\"5555 5556\",\"contact_email\":\"john@example.com\",\"active\":true,\"default\":false,\"payment_term\":\"b\"}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"role\": [1, 2],\n  \"def_lang\": \"est\",\n  \"company_name\": \"Updated Company\",\n  \"company_no\": \"12345678\",\n  \"company_vat_no\": \"EE123456789\",\n  \"company_country_code\": \"+372\",\n  \"company_phone_nr\": \"5555 5555\",\n  \"company_email\": \"info@example.com\",\n  \"company_address\": \"Example Street 1, Tallinn\",\n  \"contact_name\": \"John Doe\",\n  \"contact_country_code\": \"+372\",\n  \"contact_phone_nr\": \"5555 5556\",\n  \"contact_email\": \"john@example.com\",\n  \"active\": true,\n  \"default\": false,\n  \"created_at\": \"2025-01-01T00:00:00.000000Z\",\n  \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Delete a party",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/parties\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/parties\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the party."
                                        },
                                        {
                                            "id": "party",
                                            "key": "party",
                                            "value": "1",
                                            "description": "Party ID"
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "",
                                    "name": "success"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Products",
                    "description": "APIs for managing route task products.",
                    "item": [
                        {
                            "name": "Get all products",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/products",
                                    "query": [
                                        {
                                            "key": "archived",
                                            "value": "1",
                                            "description": "Show all products including inactive",
                                            "disabled": false
                                        },
                                        {
                                            "key": "show_type",
                                            "value": "1",
                                            "description": "Filter by show type (1 = RouteTask, 2 = FishDocument)",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/products?archived=1&show_type=1"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[\n  {\n    \"id\": 1,\n    \"oid\": \"metrotec\",\n    \"value\": \"PROD001\",\n    \"text\": \"Product Name\",\n    \"external_id\": \"EXT123\",\n    \"active\": true,\n    \"default\": false,\n    \"show_type\": 1,\n    \"created_at\": \"2025-01-01T00:00:00.000000Z\",\n    \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n  }\n]",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create a new product",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/products",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/products"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"value\":\"PROD001\",\"text\":\"Product Name\",\"external_id\":\"EXT123\",\"comment\":\"Additional product information\",\"active\":true,\"default\":false,\"show_type\":1}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"value\": \"PROD001\",\n  \"text\": \"Product Name\",\n  \"external_id\": \"EXT123\",\n  \"active\": true,\n  \"default\": false,\n  \"created_at\": \"2025-11-28T10:00:00.000000Z\",\n  \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get a specific product",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/products\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/products\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the product."
                                        },
                                        {
                                            "id": "product",
                                            "key": "product",
                                            "value": "1",
                                            "description": "Product ID"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"value\": \"PROD001\",\n  \"text\": \"Product Name\",\n  \"external_id\": \"EXT123\",\n  \"active\": true,\n  \"default\": false,\n  \"created_at\": \"2025-01-01T00:00:00.000000Z\",\n  \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update a product",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/products\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/products\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the product."
                                        },
                                        {
                                            "id": "product",
                                            "key": "product",
                                            "value": "1",
                                            "description": "Product ID"
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"value\":\"PROD001\",\"text\":\"Product Name\",\"external_id\":\"EXT123\",\"comment\":\"Additional product information\",\"active\":true,\"default\":false,\"show_type\":1}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"value\": \"PROD001\",\n  \"text\": \"Updated Product Name\",\n  \"external_id\": \"EXT123\",\n  \"active\": true,\n  \"default\": false,\n  \"created_at\": \"2025-01-01T00:00:00.000000Z\",\n  \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Delete a product",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/products\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/products\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the product."
                                        },
                                        {
                                            "id": "product",
                                            "key": "product",
                                            "value": "1",
                                            "description": "Product ID"
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "",
                                    "name": "success"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Ships",
                    "description": "APIs for managing ships.",
                    "item": [
                        {
                            "name": "Get all ships",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/ships",
                                    "query": [
                                        {
                                            "key": "filter%5Barchived%5D",
                                            "value": "1",
                                            "description": "Show all ships including inactive",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/ships?filter%5Barchived%5D=1"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[\n  {\n    \"id\": 1,\n    \"ship_name\": \"Aurora\",\n    \"owner_name\": \"John Smith\",\n    \"board_number\": \"EST-1234\",\n    \"captain_name\": \"Captain Jack\",\n    \"license_number\": \"LIC-2025-001\",\n    \"receiver\": \"Fish Processing Ltd\",\n    \"receiver_address\": \"Harbor Street 1, Tallinn\",\n    \"fish_destination\": \"Processing Plant A\",\n    \"active\": true,\n    \"created_at\": \"2025-01-01T00:00:00.000000Z\",\n    \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n  }\n]",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create a new ship",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/ships",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/ships"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"ship_name\":\"Aurora\",\"owner_name\":\"John Smith\",\"board_number\":\"EST-1234\",\"captain_name\":\"Captain Jack\",\"email\":\"captain@ship.com, owner@ship.com\",\"license_number\":\"LIC-2025-001\",\"receiver_id\":1,\"fish_destination\":{\"address\":\"Processing Plant A, Harbor 5\",\"lat\":59.437,\"lon\":24.753},\"active\":true}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\n  \"id\": 1,\n  \"ship_name\": \"Aurora\",\n  \"owner_name\": \"John Smith\",\n  \"board_number\": \"EST-1234\",\n  \"captain_name\": \"Captain Jack\",\n  \"license_number\": \"LIC-2025-001\",\n  \"receiver\": \"Fish Processing Ltd\",\n  \"receiver_address\": \"Harbor Street 1, Tallinn\",\n  \"fish_destination\": \"Processing Plant A\",\n  \"active\": true,\n  \"created_at\": \"2025-11-28T10:00:00.000000Z\",\n  \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get a specific ship",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/ships\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/ships\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the ship."
                                        },
                                        {
                                            "id": "ship",
                                            "key": "ship",
                                            "value": "1",
                                            "description": "Ship ID"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"ship_name\": \"Aurora\",\n  \"owner_name\": \"John Smith\",\n  \"board_number\": \"EST-1234\",\n  \"captain_name\": \"Captain Jack\",\n  \"license_number\": \"LIC-2025-001\",\n  \"receiver\": \"Fish Processing Ltd\",\n  \"receiver_address\": \"Harbor Street 1, Tallinn\",\n  \"fish_destination\": \"Processing Plant A\",\n  \"active\": true,\n  \"created_at\": \"2025-01-01T00:00:00.000000Z\",\n  \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update a ship",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/ships\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/ships\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the ship."
                                        },
                                        {
                                            "id": "ship",
                                            "key": "ship",
                                            "value": "1",
                                            "description": "Ship ID"
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"ship_name\":\"Aurora\",\"owner_name\":\"John Smith\",\"board_number\":\"EST-1234\",\"captain_name\":\"Captain Jack\",\"email\":\"captain@ship.com, owner@ship.com\",\"license_number\":\"LIC-2025-001\",\"receiver_id\":1,\"fish_destination\":{\"address\":\"Processing Plant A, Harbor 5\",\"lat\":59.437,\"lon\":24.753},\"active\":true}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"ship_name\": \"Aurora Updated\",\n  \"owner_name\": \"John Smith\",\n  \"board_number\": \"EST-1234\",\n  \"captain_name\": \"Captain Jack\",\n  \"license_number\": \"LIC-2025-001\",\n  \"receiver\": \"Fish Processing Ltd\",\n  \"receiver_address\": \"Harbor Street 1, Tallinn\",\n  \"fish_destination\": \"Processing Plant A\",\n  \"active\": true,\n  \"created_at\": \"2025-01-01T00:00:00.000000Z\",\n  \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Delete a ship",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/ships\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/ships\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the ship."
                                        },
                                        {
                                            "id": "ship",
                                            "key": "ship",
                                            "value": "1",
                                            "description": "Ship ID"
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "",
                                    "name": "success"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Fish Documents",
                    "description": "Fish documents report and export.",
                    "item": [
                        {
                            "name": "Get fish documents report",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/fishdocuments\/report",
                                    "query": [
                                        {
                                            "key": "filter.start_time[]",
                                            "value": "",
                                            "description": "",
                                            "disabled": true
                                        },
                                        {
                                            "key": "filter[]",
                                            "value": "",
                                            "description": "",
                                            "disabled": true
                                        },
                                        {
                                            "key": "filter.start_time.0",
                                            "value": "2026-01-01",
                                            "description": "Start date (must be before or equal to end date). V\u00e4li value peab olema kehtiv kuup\u00e4ev. V\u00e4li value peab olema kuup\u00e4ev enne v\u00f5i v\u00f5rdne kuup\u00e4evaga filter.start_time.1.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter.start_time.1",
                                            "value": "2026-01-31",
                                            "description": "End date (must be after or equal to start date). V\u00e4li value peab olema kehtiv kuup\u00e4ev. V\u00e4li value peab olema kuup\u00e4ev p\u00e4rast v\u00f5i v\u00f5rdne kuup\u00e4evaga filter.start_time.0.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter.status",
                                            "value": "1",
                                            "description": "Filter by status (0=New, 1=InWorks, 2=Sent, 3=Finished).",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter.ship_id",
                                            "value": "1",
                                            "description": "Filter by ship ID.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter.object_id",
                                            "value": "ABC123",
                                            "description": "Filter by vehicle\/object ID. V\u00e4li value ei tohi olla pikem kui 255 t\u00e4hem\u00e4rki.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter.carrier_id",
                                            "value": "1",
                                            "description": "Filter by carrier ID.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter[start_time][0]",
                                            "value": "2026-01-01",
                                            "description": "Date range [from, to] in YYYY-MM-DD format",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter[start_time][1]",
                                            "value": "2026-01-31",
                                            "description": "Date range [from, to] in YYYY-MM-DD format",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter%5Bstatus%5D",
                                            "value": "1",
                                            "description": "Filter by status",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter%5Bship_id%5D",
                                            "value": "1",
                                            "description": "Filter by ship ID",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter%5Bobject_id%5D",
                                            "value": "ABC123",
                                            "description": "Filter by vehicle\/object ID",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter%5Bcarrier_id%5D",
                                            "value": "1",
                                            "description": "Filter by carrier ID",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/fishdocuments\/report?filter.start_time[]=&filter[]=&filter.start_time.0=2026-01-01&filter.start_time.1=2026-01-31&filter.status=1&filter.ship_id=1&filter.object_id=ABC123&filter.carrier_id=1&filter[start_time][0]=2026-01-01&filter[start_time][1]=2026-01-31&filter%5Bstatus%5D=1&filter%5Bship_id%5D=1&filter%5Bobject_id%5D=ABC123&filter%5Bcarrier_id%5D=1"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns fish documents filtered by date range and other criteria."
                            },
                            "response": [
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "vary",
                                            "value": "Origin"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"message\":\"Unauthenticated.\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get all fish documents",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/fishdocuments",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/fishdocuments"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns documents that are not sent\/finished, or sent\/finished today."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[\n  {\n    \"id\": 1,\n    \"document_number\": \"FD-2026-001\",\n    \"object_id\": \"ABC123\",\n    \"ship_name\": \"Aurora\",\n    \"receiver_id\": 1,\n    \"receiver\": {\"id\": 1, \"company_name\": \"Fish Processing Ltd\"},\n    \"destination_address\": \"Harbor Street 1, Tallinn\",\n    \"quantity\": 500.5,\n    \"status\": 0,\n    \"created_at\": \"2026-01-14T10:00:00.000000Z\",\n    \"updated_at\": \"2026-01-14T10:00:00.000000Z\"\n  }\n]",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create a new fish document",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/fishdocuments",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/fishdocuments"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"trailer_nr\":\"TRL-456\",\"ship_id\":1,\"ship_name\":\"Aurora\",\"owner_name\":\"John Smith\",\"board_number\":\"EST-1234\",\"license_number\":\"LIC-2026-001\",\"voyage_number\":\"VOY-2026-005\",\"receiver_id\":1,\"receiver_name\":\"Jane Doe\",\"destination_address\":\"Harbor Street 1, Tallinn\",\"destination_lat\":59.437,\"destination_lon\":24.753,\"products\":[{\"product_id\":1,\"quantity\":500,\"fishing_area\":\"IIId\"}],\"category\":\"A\",\"captain_name\":\"Captain Jack\",\"carrier_id\":1,\"unloading_at\":\"2026-01-15 10:00:00\",\"unloading_location\":\"Dock B\",\"status\":0}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\n  \"id\": 1,\n  \"document_number\": \"FD-2026-001\",\n  \"object_id\": \"ABC123\",\n  \"ship_name\": \"Aurora\",\n  \"status\": 0,\n  \"created_at\": \"2026-01-14T10:00:00.000000Z\",\n  \"updated_at\": \"2026-01-14T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get a specific fish document",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/fishdocuments\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/fishdocuments\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the fishdocument."
                                        },
                                        {
                                            "id": "fishDocument",
                                            "key": "fishDocument",
                                            "value": "1",
                                            "description": "Fish Document ID"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"document_number\": \"FD-2026-001\",\n  \"object_id\": \"ABC123\",\n  \"trailer_nr\": \"TRL-456\",\n  \"ship_id\": 1,\n  \"ship_name\": \"Aurora\",\n  \"owner_name\": \"John Smith\",\n  \"board_number\": \"EST-1234\",\n  \"license_number\": \"LIC-2026-001\",\n  \"voyage_number\": \"VOY-2026-005\",\n  \"receiver_id\": 1,\n  \"receiver\": {\"id\": 1, \"company_name\": \"Fish Processing Ltd\"},\n  \"receiver_name\": \"Jane Doe\",\n  \"destination_address\": \"Harbor Street 1, Tallinn\",\n  \"destination_lat\": 59.437,\n  \"destination_lon\": 24.753,\n  \"product_id\": 1,\n  \"quantity\": 500.5,\n  \"fishing_area\": \"IIId\",\n  \"containers\": 10,\n  \"category\": \"A\",\n  \"captain_name\": \"Captain Jack\",\n  \"carrier_name\": \"Transport Co\",\n  \"unloading_at\": \"2026-01-15T10:00:00.000000Z\",\n  \"unloading_location\": \"Dock B\",\n  \"status\": 0,\n  \"captain_signed\": false,\n  \"carrier_signed\": false,\n  \"receiver_signed\": false,\n  \"created_at\": \"2026-01-14T10:00:00.000000Z\",\n  \"updated_at\": \"2026-01-14T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update a fish document",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/fishdocuments\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/fishdocuments\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the fishdocument."
                                        },
                                        {
                                            "id": "fishDocument",
                                            "key": "fishDocument",
                                            "value": "1",
                                            "description": "Fish Document ID"
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"trailer_nr\":\"TRL-456\",\"ship_id\":1,\"ship_name\":\"Aurora\",\"owner_name\":\"John Smith\",\"board_number\":\"EST-1234\",\"license_number\":\"LIC-2026-001\",\"voyage_number\":\"VOY-2026-005\",\"receiver_id\":1,\"receiver_name\":\"Jane Doe\",\"destination_address\":\"Harbor Street 1, Tallinn\",\"destination_lat\":59.437,\"destination_lon\":24.753,\"products\":[{\"product_id\":1,\"quantity\":500,\"fishing_area\":\"IIId\"}],\"category\":\"A\",\"captain_name\":\"Captain Jack\",\"carrier_id\":1,\"unloading_at\":\"2026-01-15 10:00:00\",\"unloading_location\":\"Dock B\",\"status\":0}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"document_number\": \"FD-2026-001\",\n  \"object_id\": \"ABC123\",\n  \"ship_name\": \"Aurora Updated\",\n  \"status\": 1,\n  \"created_at\": \"2026-01-14T10:00:00.000000Z\",\n  \"updated_at\": \"2026-01-14T11:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Task Groups",
                    "description": "APIs for managing route task groups. Task groups organize multiple route tasks into a single delivery run or work session.",
                    "item": [
                        {
                            "name": "Get all task groups",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/routetasksgroups",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/routetasksgroups"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a list of active task groups for the authenticated user.\nGroups are filtered based on:\n- Groups with group_date >= today\n- Or groups with group_date < today that have at least one task with an active status"
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[\n  {\n    \"id\": 1,\n    \"oid\": \"metrotec\",\n    \"name\": \"Morning Route\",\n    \"group_date\": \"2025-01-20T08:00:00.000000Z\",\n    \"object_id\": \"ABC123\",\n    \"other_object_id\": null,\n    \"work_started_at\": null,\n    \"should_return\": true,\n    \"active\": true,\n    \"driver_name\": \"John Doe\",\n    \"languages\": \"Estonian, English\",\n    \"driver_phone\": \"+372 5555 5555\",\n    \"trailer_number\": \"TRL-123\",\n    \"carrier_id\": 1,\n    \"status\": null,\n    \"created_at\": \"2025-01-19T10:00:00.000000Z\",\n    \"updated_at\": \"2025-01-19T10:00:00.000000Z\",\n    \"carrier\": {\n      \"id\": 1,\n      \"company_name\": \"ABC Logistics\",\n      \"company_no\": \"12345678\",\n      \"company_vat_no\": \"EE123456789\",\n      \"company_phone_nr\": \"+372 5555 5555\",\n      \"company_country_code\": \"+372\",\n      \"company_email\": \"info@abc.com\",\n      \"company_address\": \"Warehouse St 1\"\n    }\n  }\n]",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create a new task group",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/routetasksgroups",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/routetasksgroups"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Morning Delivery Route\",\"group_date\":\"2025-01-20 08:00:00\",\"object_id\":\"ABC123\",\"other_object_id\":\"XYZ789\",\"work_started_at\":\"2025-01-20 08:15:00\",\"should_return\":true,\"active\":true,\"driver_name\":\"John Doe\",\"languages\":\"Estonian, English, Russian\",\"driver_phone\":\"+372 5555 5555\",\"trailer_number\":\"TRL-123\",\"carrier_id\":1}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"name\": \"Morning Route\",\n  \"group_date\": \"2025-01-20T08:00:00.000000Z\",\n  \"object_id\": \"ABC123\",\n  \"other_object_id\": null,\n  \"work_started_at\": null,\n  \"should_return\": true,\n  \"active\": true,\n  \"driver_name\": \"John Doe\",\n  \"languages\": \"Estonian, English\",\n  \"driver_phone\": \"+372 5555 5555\",\n  \"trailer_number\": \"TRL-123\",\n  \"carrier_id\": 1,\n  \"status\": null,\n  \"created_at\": \"2025-01-19T10:00:00.000000Z\",\n  \"updated_at\": \"2025-01-19T10:00:00.000000Z\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get a specific task group",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/routetasksgroups\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/routetasksgroups\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the routetasksgroup."
                                        },
                                        {
                                            "id": "taskGroup",
                                            "key": "taskGroup",
                                            "value": "1",
                                            "description": "Task Group ID"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"name\": \"Morning Route\",\n  \"group_date\": \"2025-01-20T08:00:00.000000Z\",\n  \"object_id\": \"ABC123\",\n  \"other_object_id\": null,\n  \"work_started_at\": null,\n  \"should_return\": true,\n  \"active\": true,\n  \"driver_name\": \"John Doe\",\n  \"languages\": \"Estonian, English\",\n  \"driver_phone\": \"+372 5555 5555\",\n  \"trailer_number\": \"TRL-123\",\n  \"carrier_id\": 1,\n  \"status\": null,\n  \"created_at\": \"2025-01-19T10:00:00.000000Z\",\n  \"updated_at\": \"2025-01-19T10:00:00.000000Z\",\n  \"carrier\": {\n    \"id\": 1,\n    \"company_name\": \"ABC Logistics\",\n    \"company_no\": \"12345678\",\n    \"company_vat_no\": \"EE123456789\",\n    \"company_phone_nr\": \"+372 5555 5555\",\n    \"company_country_code\": \"+372\",\n    \"company_email\": \"info@abc.com\",\n    \"company_address\": \"Warehouse St 1\"\n  }\n}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\": \"Not Found\"}",
                                    "name": "Not Found"
                                }
                            ]
                        },
                        {
                            "name": "Update a task group",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/routetasksgroups\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/routetasksgroups\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the routetasksgroup."
                                        },
                                        {
                                            "id": "taskGroup",
                                            "key": "taskGroup",
                                            "value": "1",
                                            "description": "Task Group ID"
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Morning Delivery Route\",\"group_date\":\"2025-01-20 08:00:00\",\"object_id\":\"ABC123\",\"other_object_id\":\"XYZ789\",\"work_started_at\":\"2025-01-20 08:15:00\",\"should_return\":true,\"active\":true,\"driver_name\":\"John Doe\",\"languages\":\"Estonian, English, Russian\",\"driver_phone\":\"+372 5555 5555\",\"trailer_number\":\"TRL-123\",\"carrier_id\":1}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"id\": 1,\n  \"oid\": \"metrotec\",\n  \"name\": \"Updated Morning Route\",\n  \"group_date\": \"2025-01-20T08:00:00.000000Z\",\n  \"object_id\": \"ABC123\",\n  \"other_object_id\": null,\n  \"work_started_at\": \"2025-01-20T08:15:00.000000Z\",\n  \"should_return\": true,\n  \"active\": true,\n  \"driver_name\": \"John Doe\",\n  \"languages\": \"Estonian, English\",\n  \"driver_phone\": \"+372 5555 5555\",\n  \"trailer_number\": \"TRL-123\",\n  \"carrier_id\": 1,\n  \"status\": null,\n  \"created_at\": \"2025-01-19T10:00:00.000000Z\",\n  \"updated_at\": \"2025-01-20T08:15:00.000000Z\"\n}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\": \"Forbidden\"}",
                                    "name": "Forbidden"
                                }
                            ]
                        },
                        {
                            "name": "Delete a task group",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/routetasksgroups\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/routetasksgroups\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "16",
                                            "description": "The ID of the routetasksgroup."
                                        },
                                        {
                                            "id": "taskGroup",
                                            "key": "taskGroup",
                                            "value": "1",
                                            "description": "Task Group ID"
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Soft deletes a task group. The group will be marked as deleted but not\npermanently removed from the database."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\": \"Forbidden\"}",
                                    "name": "Forbidden"
                                }
                            ]
                        },
                        {
                            "name": "Create multiple tasks for a group",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/routetasksbygroups\/:group_id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/routetasksbygroups\/:group_id",
                                    "variable": [
                                        {
                                            "id": "group_id",
                                            "key": "group_id",
                                            "value": "16",
                                            "description": "The ID of the group."
                                        },
                                        {
                                            "id": "group",
                                            "key": "group",
                                            "value": "1",
                                            "description": "Task Group ID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"data\":[{\"object_id\":\"ABC123\",\"lat\":59.437,\"lon\":24.754,\"start_time\":\"2025-01-20 08:00:00\",\"stop_time\":\"2025-01-20 17:00:00\",\"order_ref\":\"ORD-001\",\"order_details\":\"Delivery of goods\",\"task_address\":\"Tartu, Estonia\",\"start_lat\":59.395,\"start_lon\":24.662,\"start_address\":\"Tallinn, Estonia\",\"cancel_reason\":\"Customer not available\",\"status\":1,\"contact_name\":\"John Doe\",\"contact_country_code\":\"+372\",\"contact_phone_nr\":\"5551234\",\"amount\":24,\"weight\":15000,\"vehicle_type\":\"Curtainsider\",\"active\":true,\"unloading_time\":45}]}"
                                },
                                "description": "Creates multiple route tasks and assigns them to the specified group.\nReturns all tasks belonging to the group after creation.",
                                "auth": {
                                    "type": "noauth"
                                }
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "[\n  {\n    \"id\": 1,\n    \"group_id\": 5,\n    \"object_id\": \"ABC123\",\n    \"lat\": 59.437,\n    \"lon\": 24.754,\n    \"status\": 1\n  }\n]",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\": \"Forbidden\"}",
                                    "name": "Forbidden"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\": \"Not Found\"}",
                                    "name": "Group Not Found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Get related tasks",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/relatedtasks\/:type\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/relatedtasks\/:type\/:id",
                            "variable": [
                                {
                                    "id": "type",
                                    "key": "type",
                                    "value": "1",
                                    "description": "Object type (1=Mixer, 2=Pump, 3=Pumi)."
                                },
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "12345",
                                    "description": "Task ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns tasks related to a specific object type and task ID."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get tasks by order reference numbers",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/routetasksbynr",
                            "query": [
                                {
                                    "key": "nr[0]",
                                    "value": "12345",
                                    "description": "Array of order reference numbers.",
                                    "disabled": false
                                },
                                {
                                    "key": "nr[1]",
                                    "value": "12346",
                                    "description": "Array of order reference numbers.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/routetasksbynr?nr[0]=12345&nr[1]=12346"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"nr\":[16]}"
                        },
                        "description": "Returns tasks matching the specified order reference numbers with profile data."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get tasks by work order",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/routetasksbywofull\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/routetasksbywofull\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "12345",
                                    "description": "The work order number."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all tasks matching the specified work order number with profile data."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not found\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Search field values",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/search\/:field",
                            "query": [
                                {
                                    "key": "query",
                                    "value": "trans",
                                    "description": "The search query.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/search\/:field?query=trans",
                            "variable": [
                                {
                                    "id": "field",
                                    "key": "field",
                                    "value": "carrier",
                                    "description": "The field to search."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"query\":\"b\"}"
                        },
                        "description": "Returns matching values for autocomplete suggestions."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\"Transport ABC\", \"Transport XYZ\"]",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get open tasks",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/opentasks",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "2025-01-01 00:00:00",
                                    "description": "Date period [start, end].",
                                    "disabled": false
                                },
                                {
                                    "key": "datetime[1]",
                                    "value": "2025-01-07 23:59:59",
                                    "description": "Date period [start, end].",
                                    "disabled": false
                                },
                                {
                                    "key": "obj",
                                    "value": "ABC123",
                                    "description": "Vehicle object ID.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/opentasks?datetime[0]=2025-01-01 00:00:00&datetime[1]=2025-01-07 23:59:59&obj=ABC123"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"datetime\":\"architecto\",\"obj\":\"ngzmiy\"}"
                        },
                        "description": "Returns all open (active) tasks for a specific vehicle within a date period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 1, \"object_id\": \"ABC123\", \"status\": 1, \"preparation_time\": \"2025-01-01 10:00:00\"}]",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get tasks by group",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/routetasksbygroups\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/routetasksbygroups\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "123",
                                    "description": "The group ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all tasks belonging to a specific group."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 1, \"group_id\": 123, \"status\": 1}]",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Bulk update tasks in a group",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/routetasksbygroups\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/routetasksbygroups\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "123",
                                    "description": "The group ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"status\":1,\"active\":true,\"object_id\":\"ABC123\"}"
                        },
                        "description": "Updates all tasks in a group with the provided data.\nIf activating tasks, also activates the group and sends a push notification."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"updated\": 5}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get tasks PDF by work order",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/tasksbywopdf\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/tasksbywopdf\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "12345",
                                    "description": "The work order number."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Generates a PDF report for all tasks associated with a specific work order number."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "PDF binary content",
                            "name": "PDF file"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not found\"}",
                            "name": ""
                        }
                    ]
                }
            ]
        },
        {
            "name": "Settings",
            "description": "\nVehicle settings including outputs, events, and geo zones.",
            "item": [
                {
                    "name": "Show vehicle settings",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/vsettings\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/vsettings\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns device capabilities, outputs, events, and geo zone configuration for a vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"hasTow\":false,\"hasGeo\":true,\"hasRepInt\":false,\"hasTamperLight\":false,\"hasLightSensor\":false,\"outputs\":[{\"id\":1,\"name\":\"Lock\",\"pinReq\":0,\"on\":\"ON\",\"off\":\"OFF\",\"disable_ids\":[2],\"last_command\":\"ON\",\"handled\":1,\"last_command_time\":1705312200,\"stop_registration\":0}],\"repInts\":[],\"events\":[],\"alarm\":null,\"zones\":[]}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Create geo alarm",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/geoalarm",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/geoalarm"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"geozoneID\":5}"
                        },
                        "description": "Assigns a geo zone as an alarm zone for a vehicle."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"id\":1,\"geozoneID\":5,\"object_id\":\"ABC123\",\"geo_id\":1}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Delete geo alarm",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/geoalarm\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/geoalarm\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The geo alarm record ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Removes a geo alarm zone assignment."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\":\"Deleted\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Send output command",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/outputs",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/outputs"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"id\":1,\"action\":\"ON\"}"
                        },
                        "description": "Sends an ON or OFF command to a vehicle output. Splits multi-part commands and queues each as a navi request."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"id\":1,\"object_id\":\"ABC123\",\"handled\":0,\"disable_ids\":[2],\"last_command\":\"ON\",\"last_command_time\":\"2025-01-15 08:00:00\",\"stop_registration\":0,\"pinReq\":0}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"No_Output\"}",
                            "name": "Output not found"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"Output_Not_Available\"}",
                            "name": "Dynamic output unavailable"
                        }
                    ]
                },
                {
                    "name": "Create event setting",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/event",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/event"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"eventType\":2,\"description\":\"ON\"}"
                        },
                        "description": "Creates a new vehicle event setting and dispatches the corresponding navi request to the device."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"id\":1,\"handled\":0,\"description\":\"ON\",\"eventDate\":\"2025-01-15 08:00:00\",\"date\":null}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"error\":\"No_Navi_Request\"}",
                            "name": "Invalid event type"
                        }
                    ]
                },
                {
                    "name": "Delete event setting",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/event\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/event\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The event record ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a vehicle event setting and cleans up unhandled navi requests."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\":\"Deleted\"}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"error\":\"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Tech Card",
            "description": "",
            "item": [
                {
                    "name": "Tech Card",
                    "description": "Manage vehicle technical card records with maintenance settings.",
                    "item": [
                        {
                            "name": "List tech cards",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/techcard",
                                    "query": [
                                        {
                                            "key": "object_id",
                                            "value": "ABC123",
                                            "description": "Filter by vehicle object ID. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "mark",
                                            "value": "Volvo",
                                            "description": "Filter by vehicle mark (partial match). V\u00e4li value ei tohi olla pikem kui 255 t\u00e4hem\u00e4rki.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "model",
                                            "value": "FH16",
                                            "description": "Filter by vehicle model (partial match).",
                                            "disabled": false
                                        },
                                        {
                                            "key": "department",
                                            "value": "Transport",
                                            "description": "Filter by department (partial match).",
                                            "disabled": false
                                        },
                                        {
                                            "key": "year",
                                            "value": "2023",
                                            "description": "Filter by year of manufacture. Must be a valid date in the format Y.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "fuelType",
                                            "value": "1",
                                            "description": "Filter by fuel type ID.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/techcard?object_id=ABC123&mark=Volvo&model=FH16&department=Transport&year=2023&fuelType=1"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all vehicles with tech card data, maintenance dates and odometer readings."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":\"ABC123\",\"mark\":\"Volvo\",\"model\":\"FH16\",\"department\":\"Transport\",\"fuelType\":1,\"vin\":\"YV2A4C2A1PB123456\",\"year\":\"2023\",\"techCardId\":1,\"calcByM\":0,\"Odo\":150000,\"MotoHrs\":2500,\"next_inspection_by_date\":1,\"next_inspection_date\":\"2025-06-15\",\"alias\":\"Truck 1\",\"work_dates\":{},\"next_planned_dates\":{},\"next_planned_km\":{},\"next_planned_mh\":{}}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Get tech card",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/techcard\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/techcard\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns tech card settings and work records for a single vehicle."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"settings\":{\"next_inspection_period\":12,\"next_maintenance_period\":12,\"next_maintenance_km\":15000},\"works\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"ObjectNotAllowed\"}",
                                    "name": "Object not allowed"
                                }
                            ]
                        },
                        {
                            "name": "Update tech card",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/techcard\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/techcard\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"mark\":\"Volvo\",\"model\":\"FH16\",\"department\":\"Transport\",\"fuelType\":1,\"year\":\"2023\",\"vin\":\"YV2A4C2A1PB123456\",\"next_inspection_date\":\"2026-02-26\",\"next_inspection_period\":16,\"next_maintenance_period\":22,\"next_maintenance_km\":16,\"next_alcolock_period\":22,\"next_tacho_period\":67,\"next_inspection_by_date\":true,\"pto_purpose\":\"1m0\",\"curb_weight\":\"1m0\",\"norm_spend\":4326.41688,\"tank_vol\":400}"
                                },
                                "description": "Updates or creates a tech card for a vehicle. Also updates tank volume in objects table."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"settings\":{\"next_inspection_period\":12,\"next_maintenance_period\":12,\"next_maintenance_km\":15000},\"works\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"ObjectNotAllowed\"}",
                                    "name": "Object not allowed"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Works",
                    "description": "Manage tech card work records with row tracking and odometer\/motor hours logging.",
                    "item": [
                        {
                            "name": "List tech card works",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/techcardwork",
                                    "query": [
                                        {
                                            "key": "object_id",
                                            "value": "ABC123",
                                            "description": "Filter by vehicle object ID. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "work_date[0]",
                                            "value": "architecto",
                                            "description": "",
                                            "disabled": false
                                        },
                                        {
                                            "key": "done_comment",
                                            "value": "Oil+change",
                                            "description": "Filter by done comment (partial match).",
                                            "disabled": false
                                        },
                                        {
                                            "key": "work_type_id",
                                            "value": "1",
                                            "description": "Filter by work type ID.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/techcardwork?object_id=ABC123&work_date[0]=architecto&done_comment=Oil+change&work_type_id=1"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all tech card work records with optional filtering."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"object_id\":\"ABC123\",\"work_date\":\"2025-01-15 08:00:00\",\"book_comment\":\"Scheduled\",\"done_comment\":null,\"completed\":0,\"Odo\":150000,\"MotoHrs\":null,\"works\":[1,2],\"files\":null}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Get tech card work",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/techcardwork\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/techcardwork\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The work record ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single tech card work record with rows, files, and decoded log."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"work_date\":\"2025-01-15 08:00:00\",\"book_comment\":\"Scheduled\",\"done_comment\":null,\"completed\":0,\"Odo\":150000,\"MotoHrs\":null,\"rows\":[],\"files\":[],\"log\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create tech card work",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/techcardwork",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/techcardwork"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"work_date\":\"2025-01-15 08:00:00\",\"book_comment\":\"Scheduled maintenance\",\"work_types\":[16]}"
                                },
                                "description": "Creates a new tech card work record with work type rows."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"work_date\":\"2025-01-15 08:00:00\",\"book_comment\":\"Scheduled\",\"done_comment\":null,\"completed\":0,\"Odo\":null,\"MotoHrs\":null,\"rows\":[],\"files\":[],\"log\":[]}",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Update tech card work",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/techcardwork\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/techcardwork\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The work record ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"work_date\":\"2025-01-15 08:00:00\",\"book_comment\":\"Updated schedule\",\"done_comment\":\"Oil changed successfully\",\"MotoHrs\":2500,\"Odo\":150000}"
                                },
                                "description": "Completes or updates a tech card work record with logging, odometer\/motor hours, and row corrections."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"work_date\":\"2025-01-15 08:00:00\",\"book_comment\":\"Scheduled\",\"done_comment\":\"Done\",\"completed\":1,\"Odo\":151000,\"MotoHrs\":null,\"rows\":[],\"files\":[],\"log\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Booking",
                    "description": "Manage tech card work booking updates and cancellations.",
                    "item": [
                        {
                            "name": "Update tech card booking",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/techcardbooking\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/techcardbooking\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The work record ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"work_date\":\"2025-01-15 08:00:00\",\"book_comment\":\"Rescheduled maintenance\"}"
                                },
                                "description": "Updates booking fields (work_date, book_comment) with change logging and row diff tracking."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"work_date\":\"2025-01-15 08:00:00\",\"book_comment\":\"Rescheduled\",\"done_comment\":null,\"completed\":0,\"Odo\":null,\"MotoHrs\":null,\"rows\":[],\"files\":[],\"log\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Cancel tech card booking",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/techcardbooking\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/techcardbooking\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The work record ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Cancels a booking by setting completed to 2. If the work was already completed, also cancels rows and clears odometer\/motor hours."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"work_date\":\"2025-01-15 08:00:00\",\"book_comment\":\"Scheduled\",\"done_comment\":null,\"completed\":2,\"Odo\":null,\"MotoHrs\":null,\"rows\":[],\"files\":[],\"log\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Maintenance Init",
                    "description": "Initialize maintenance records for vehicles.",
                    "item": [
                        {
                            "name": "Initialize maintenance",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/maintenanceinit",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/maintenanceinit"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"work_date\":\"2025-01-15 08:00:00\",\"OdoMoto\":150000,\"next_mh_diff\":500}"
                                },
                                "description": "Creates an initial maintenance work record for a vehicle with calculated next planned dates, kilometers, and motor hours."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"work_date\":\"2025-01-15 08:00:00\",\"book_comment\":\"Initial\",\"done_comment\":\"Initial\",\"completed\":1,\"Odo\":150000,\"MotoHrs\":null,\"rows\":[],\"files\":null,\"log\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Already_initialized\"}",
                                    "name": "Already initialized"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"ObjectNotAllowed\"}",
                                    "name": "No access"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Odo\/Moto By Date",
                    "description": "Get odometer or motor hours value for a vehicle at a specific date.",
                    "item": [
                        {
                            "name": "Get odo\/moto by date",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/odomotobydate\/:id",
                                    "query": [
                                        {
                                            "key": "work_date",
                                            "value": "2025-01-15+08%3A00%3A00",
                                            "description": "The work date in Y-m-d H:i:s format. Defaults to current time if not provided or in the future. Must be a valid date in the format Y-m-d H:i:s.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/odomotobydate\/:id?work_date=2025-01-15+08%3A00%3A00",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns the odometer or motor hours value for a vehicle at the given work date, based on vehicle settings."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"key\":\"Odo\",\"value\":150000}",
                                    "name": "Odometer"
                                },
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"key\":\"MotoHrs\",\"value\":2500}",
                                    "name": "Motor hours"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Fuel Types",
                    "description": "List available CO2\/fuel types.",
                    "item": [
                        {
                            "name": "List fuel types",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/fueltypes",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/fueltypes"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all available CO2\/fuel types."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"name\":\"Diesel\",\"unit\":\"l\",\"co2_quantity_per_unit_in_grams\":2640,\"refId\":1}]",
                                    "name": "Success"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Work Types",
                    "description": "List available tech card work types.",
                    "item": [
                        {
                            "name": "List work types",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/worktypes",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/worktypes"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all available tech card work types."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"name\":\"Maintenance\",\"hasNext\":1}]",
                                    "name": "Success"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Departments",
                    "description": "List distinct tech card departments.",
                    "item": [
                        {
                            "name": "List departments",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/departments",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/departments"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all distinct department names from tech card records."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"department\":\"Fleet A\"}]",
                                    "name": "Success"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Users",
            "description": "*\n* APIs for managing users",
            "item": [
                {
                    "name": "Get an authenticated user",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/username",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/username"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the authenticated user's identifier and access level.",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\n  \"oid\": \"john_doe\",\n  \"access\": 2\n}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Owner Accounts",
                    "description": "Manage owner account records with files and logos.",
                    "item": [
                        {
                            "name": "List owner accounts",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/user",
                                    "query": [
                                        {
                                            "key": "offset",
                                            "value": "0",
                                            "description": "Pagination offset. Use -1 to disable pagination.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "limit",
                                            "value": "30",
                                            "description": "Number of records to return.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/user?offset=0&limit=30"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns paginated list of owner accounts."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":\"owner1\",\"name\":\"Company A\",\"access\":1,\"tehnEmail\":\"tech@example.com\",\"modul\":\"110\",\"defLang\":\"en\",\"email\":\"info@example.com\",\"phone_nr\":\"+37255512345\",\"contact_name\":\"John\"}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Get owner account",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/user\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/user\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "owner1",
                                            "description": "The owner account OID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single owner account with modules, files, logos, and decoded route task address."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":\"owner1\",\"oid\":\"owner1\",\"name\":\"Company A\",\"access\":1,\"modul\":[1,2,3],\"files\":[],\"logos\":[],\"route_task_address\":null}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Update owner account",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/user\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/user\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "owner1",
                                            "description": "The owner account OID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"defLang\":\"en\",\"geoQtyAlert\":true,\"poiColorNr\":1,\"showPoi\":true,\"logistic_emails\":\"logistics@example.com\",\"is_objects_clustered\":false,\"address\":\"123 Main St\",\"address1\":\"architecto\",\"address2\":\"architecto\",\"address3\":\"architecto\",\"county\":\"architecto\",\"postal_code\":\"architecto\",\"kmkr\":\"architecto\",\"regNr\":\"architecto\",\"tehnEmail\":\"tech@example.com\",\"phone_nr\":\"+37255512345\",\"website\":\"architecto\",\"company_bank_account\":\"architecto\",\"route_task_address\":{\"city\":\"Tallinn\",\"street\":\"Main St 1\"},\"route_task_comment\":\"Default pickup point\"}"
                                },
                                "description": "Updates owner account settings and preferences."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":\"owner1\",\"oid\":\"owner1\",\"name\":\"Company A\",\"defLang\":\"en\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Profile",
                    "description": "View and update the current user's profile.",
                    "item": [
                        {
                            "name": "Get a user profile",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/userprofile",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/userprofile"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns the authenticated user's profile with modules and files."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":\"user1\",\"tehnEmail\":\"tech@example.com\",\"access\":1,\"modul\":[1,2,3],\"files\":[]}",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Update user profile",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/userprofile\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/userprofile\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "user1",
                                            "description": "The user OID. Must match the authenticated user."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"tehnEmail\":\"tech@example.com\"}"
                                },
                                "description": "Updates the authenticated user's technical email address."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":\"user1\",\"tehnEmail\":\"newemail@example.com\",\"access\":1,\"modul\":[1,2,3],\"files\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not own profile"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Sub-users",
                    "description": "Manage sub-user accounts for the current owner.",
                    "item": [
                        {
                            "name": "List sub-users",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/subuser",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/subuser"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all sub-user accounts for the current owner."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":\"subuser1\",\"name\":\"John Doe\",\"access\":3,\"tehnEmail\":\"john@example.com\",\"modul\":\"1010\",\"defLang\":\"en\",\"email\":\"john@example.com\",\"tehnKontakt\":\"John +37255512345\",\"memo\":null,\"allobj\":\"1\",\"object_id\":null,\"refId\":null}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Get sub-user",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/subuser\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/subuser\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "subuser1",
                                            "description": "The sub-user OID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single sub-user record by ID with decoded modules, object IDs, and attached files."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":\"subuser1\",\"oid\":\"subuser1\",\"name\":\"John Doe\",\"access\":3,\"tehnEmail\":\"john@example.com\",\"modul\":[1,2],\"defLang\":\"en\",\"email\":\"john@example.com\",\"tehnKontakt\":\"John +37255512345\",\"memo\":null,\"allobj\":\"1\",\"object_id\":[\"ABC123\"],\"refId\":null,\"showPoi\":\"1\",\"geoQtyAlert\":\"0\",\"password\":\"\",\"poiColorNr\":1,\"fish_document_number\":null,\"poiAccess\":\"1\",\"sendHashByMail\":null,\"is_objects_clustered\":null,\"key_id\":null,\"company_name\":null,\"company_nr\":null,\"legal_address\":null,\"company_vat_no\":null,\"one_device_login\":\"0\",\"files\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create sub-user",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/subuser",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/subuser"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"access\":3,\"allobj\":false,\"defLang\":\"architecto\",\"geoQtyAlert\":true,\"memo\":\"architecto\",\"oid\":\"subuser1\",\"modul\":[16],\"name\":\"John Doe\",\"object_id\":[\"architecto\"],\"password\":\"secret123\",\"poiAccess\":true,\"one_device_login\":false,\"poiColorNr\":16,\"showPoi\":false,\"tehnEmail\":\"john@example.com\",\"key_id\":16,\"is_objects_clustered\":true,\"company_name\":\"architecto\",\"company_nr\":\"architecto\",\"legal_address\":\"architecto\",\"company_vat_no\":\"architecto\",\"fish_document_number\":16}"
                                },
                                "description": "Creates a new sub-user account with optional driver linking and password generation."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":\"subuser1\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Not_Unique_User_Id\"}",
                                    "name": "Duplicate ID"
                                }
                            ]
                        },
                        {
                            "name": "Update sub-user",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/subuser\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/subuser\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "subuser1",
                                            "description": "The sub-user OID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"access\":3,\"allobj\":false,\"defLang\":\"architecto\",\"geoQtyAlert\":true,\"memo\":\"architecto\",\"modul\":[16],\"name\":\"John Doe\",\"object_id\":[\"architecto\"],\"password\":\"newpass123\",\"poiAccess\":true,\"one_device_login\":true,\"poiColorNr\":16,\"showPoi\":false,\"tehnEmail\":\"john@example.com\",\"key_id\":16,\"is_objects_clustered\":false,\"company_name\":\"architecto\",\"company_nr\":\"architecto\",\"legal_address\":\"architecto\",\"company_vat_no\":\"architecto\",\"fish_document_number\":16}"
                                },
                                "description": "Updates a sub-user account. Handles driver-to-non-driver transitions, key synchronization, and password changes."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Updated\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Delete sub-user",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/subuser\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/subuser\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "subuser1",
                                            "description": "The sub-user OID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Deletes a sub-user account. If the user is a driver, archives the associated driver record."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Admin Owner Accounts",
                    "description": "Admin-only management of owner accounts with DDD integration and Merit sync.",
                    "item": [
                        {
                            "name": "List owner accounts (admin)",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/auser",
                                    "query": [
                                        {
                                            "key": "offset",
                                            "value": "0",
                                            "description": "Pagination offset. Use -1 for all records.",
                                            "disabled": true
                                        },
                                        {
                                            "key": "seclev",
                                            "value": "500",
                                            "description": "Filter by security level.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "oid",
                                            "value": "company1",
                                            "description": "Filter by OID (partial match).",
                                            "disabled": false
                                        },
                                        {
                                            "key": "name",
                                            "value": "John",
                                            "description": "Filter by name (partial match).",
                                            "disabled": false
                                        },
                                        {
                                            "key": "access",
                                            "value": "2",
                                            "description": "Filter by access level.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/auser?offset=0&seclev=500&oid=company1&name=John&access=2"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"offset\":0,\"seclev\":500,\"oid\":\"company1\",\"name\":\"architecto\",\"access\":16}"
                                },
                                "description": "Returns a paginated list of owner accounts with optional filtering. Admin access is required."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":\"owner1\",\"name\":\"Company A\",\"access\":2,\"tehnEmail\":\"tech@example.com\",\"modul\":[1,2],\"defLang\":\"en\"}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Get owner account (admin)",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/auser\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/auser\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "owner1",
                                            "description": "The owner account OID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single owner account with modules, files, logos, and decoded route task address. Admin access is required."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":\"owner1\",\"oid\":\"owner1\",\"name\":\"Company A\",\"access\":2,\"modul\":[1,2,3],\"files\":[],\"logos\":[],\"route_task_address\":null}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create an owner account (admin)",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/auser",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/auser"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"Price1\":4326.41688,\"Price2\":4326.41688,\"Price3\":4326.41688,\"Price4\":4326.41688,\"Price5\":4326.41688,\"Price6\":4326.41688,\"Support_id\":\"architecto\",\"access\":2,\"address\":\"architecto\",\"address1\":\"architecto\",\"address2\":\"architecto\",\"address3\":\"architecto\",\"county\":\"architecto\",\"postal_code\":\"architecto\",\"credit\":16,\"defLang\":\"architecto\",\"email\":\"zbailey@example.net\",\"geoQtyAlert\":true,\"kmkr\":\"architecto\",\"lang\":\"architecto\",\"manager\":\"architecto\",\"memo\":\"architecto\",\"oid\":\"company1\",\"modul\":[16],\"name\":\"architecto\",\"password\":\"]|{+-0pBNvYg\",\"refreshInterval\":16,\"poiAccess\":false,\"poiColorNr\":16,\"regNr\":\"architecto\",\"seclev\":500,\"showPoi\":false,\"tehnEmail\":\"zbailey@example.net\",\"contact_name\":\"architecto\",\"phone_nr\":\"architecto\",\"timeZone\":\"Asia\\\/Yekaterinburg\",\"ddd_id\":16,\"ATR\":\"architecto\",\"CardCode\":\"architecto\",\"ExpiryDate\":\"2026-02-26\",\"routeTaskProfileId\":16,\"dateFormat\":\"DD.YYYY\\\/DD\",\"gdpr\":true,\"payment_deadline\":16,\"per_len\":16,\"e_invoice\":true,\"is_objects_clustered\":true,\"inv_ref_nr\":16,\"country_code\":\"architecto\",\"default_tilelayer\":16,\"logistic_emails\":\"architecto\",\"website\":\"architecto\",\"company_bank_account\":\"architecto\",\"route_task_comment\":\"architecto\"}"
                                },
                                "description": "Creates a new owner account with DDD integration, sends a welcome email, and syncs with Merit. Admin access is required."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":\"newowner1\",\"oid\":\"newowner1\",\"name\":\"New Company\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Not_Unique_User_Id\"}",
                                    "name": "Duplicate ID"
                                }
                            ]
                        },
                        {
                            "name": "Update owner account (admin)",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/auser\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/auser\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "owner1",
                                            "description": "The owner account OID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"Price1\":4326.41688,\"Price2\":4326.41688,\"Price3\":4326.41688,\"Price4\":4326.41688,\"Price5\":4326.41688,\"Price6\":4326.41688,\"Support_id\":\"architecto\",\"access\":2,\"address\":\"architecto\",\"address1\":\"architecto\",\"address2\":\"architecto\",\"address3\":\"architecto\",\"county\":\"architecto\",\"postal_code\":\"architecto\",\"credit\":16,\"defLang\":\"architecto\",\"email\":\"zbailey@example.net\",\"geoQtyAlert\":false,\"kmkr\":\"architecto\",\"lang\":\"architecto\",\"manager\":\"architecto\",\"memo\":\"architecto\",\"modul\":[16],\"name\":\"architecto\",\"password\":\"]|{+-0pBNvYg\",\"refreshInterval\":16,\"poiAccess\":false,\"poiColorNr\":16,\"regNr\":\"architecto\",\"seclev\":500,\"showPoi\":true,\"tehnEmail\":\"zbailey@example.net\",\"contact_name\":\"architecto\",\"phone_nr\":\"architecto\",\"timeZone\":\"Asia\\\/Yekaterinburg\",\"ddd_id\":16,\"ATR\":\"architecto\",\"CardCode\":\"architecto\",\"ExpiryDate\":\"2026-02-26\",\"routeTaskProfileId\":16,\"dateFormat\":\"DD.YYYY\\\/DD\",\"gdpr\":true,\"payment_deadline\":16,\"per_len\":16,\"e_invoice\":true,\"is_objects_clustered\":true,\"inv_ref_nr\":16,\"country_code\":\"architecto\",\"default_tilelayer\":16,\"logistic_emails\":\"architecto\",\"website\":\"architecto\",\"company_bank_account\":\"architecto\",\"poi_profile_id\":0,\"route_task_comment\":\"architecto\"}"
                                },
                                "description": "Updates an owner account. Cascades shared settings to sub-accounts. Admin access is required."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":\"owner1\",\"oid\":\"owner1\",\"name\":\"Company A\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Auth logs",
                    "description": "User authentication logs",
                    "item": [
                        {
                            "name": "Get authentication logs report",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/auth-logs",
                                    "query": [
                                        {
                                            "key": "datetime[]",
                                            "value": "",
                                            "description": "",
                                            "disabled": true
                                        },
                                        {
                                            "key": "datetime.0",
                                            "value": "2025-01-01",
                                            "description": "Start date (must be before or equal to end date). V\u00e4li value peab olema kehtiv kuup\u00e4ev. V\u00e4li value peab olema kuup\u00e4ev enne v\u00f5i v\u00f5rdne kuup\u00e4evaga datetime.1.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "datetime.1",
                                            "value": "2025-12-31",
                                            "description": "End date (must be after or equal to start date). V\u00e4li value peab olema kehtiv kuup\u00e4ev. V\u00e4li value peab olema kuup\u00e4ev p\u00e4rast v\u00f5i v\u00f5rdne kuup\u00e4evaga datetime.0.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter[]",
                                            "value": "",
                                            "description": "",
                                            "disabled": true
                                        },
                                        {
                                            "key": "filter.oid",
                                            "value": "metrotec",
                                            "description": "Filter by username. V\u00e4li value ei tohi olla pikem kui 255 t\u00e4hem\u00e4rki.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter.user_agent",
                                            "value": "Mozilla%2F5.0",
                                            "description": "Filter by user agent. V\u00e4li value ei tohi olla pikem kui 255 t\u00e4hem\u00e4rki.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter.ip_address",
                                            "value": "192.168.1.1",
                                            "description": "Filter by IP address. V\u00e4li value ei tohi olla pikem kui 255 t\u00e4hem\u00e4rki.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/auth-logs?datetime[]=&datetime.0=2025-01-01&datetime.1=2025-12-31&filter[]=&filter.oid=metrotec&filter.user_agent=Mozilla%2F5.0&filter.ip_address=192.168.1.1"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"authenticatable_type\": \"App\\\\Models\\\\User\",\n      \"authenticatable_id\": 123,\n      \"ip_address\": \"192.168.1.1\",\n      \"user_agent\": \"Mozilla\/5.0\",\n      \"login_at\": \"2025-11-28T10:00:00.000000Z\",\n      \"login_successful\": true,\n      \"logout_at\": null,\n      \"cleared_by_user\": false,\n      \"location\": {\"city\": \"Tallinn\", \"country\": \"Estonia\"}\n    }\n  ],\n  \"per_page\": 15,\n  \"current_page\": 1,\n  \"next_page_url\": null,\n  \"prev_page_url\": null\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get User authentication logs",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/:user_oid\/auth-logs",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/:user_oid\/auth-logs",
                                    "variable": [
                                        {
                                            "id": "user_oid",
                                            "key": "user_oid",
                                            "value": "metrotec",
                                            "description": "Username"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"authenticatable_type\": \"App\\\\Models\\\\User\",\n      \"authenticatable_id\": 123,\n      \"ip_address\": \"192.168.1.1\",\n      \"user_agent\": \"Mozilla\/5.0\",\n      \"login_at\": \"2025-11-28T10:00:00.000000Z\",\n      \"login_successful\": true,\n      \"logout_at\": null,\n      \"cleared_by_user\": false,\n      \"location\": {\"city\": \"Tallinn\", \"country\": \"Estonia\"}\n    }\n  ],\n  \"per_page\": 30,\n  \"current_page\": 1,\n  \"next_page_url\": null,\n  \"prev_page_url\": null\n}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "User sessions",
                    "description": "User session management",
                    "item": [
                        {
                            "name": "Get User's current active sessions",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/tokens",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/tokens",
                                    "variable": [
                                        {
                                            "id": "user_oid",
                                            "key": "user_oid",
                                            "value": "metrotec",
                                            "description": "Username"
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[\n  {\n    \"id\": 1,\n    \"oid\": \"metrotec\",\n    \"name\": \"web\",\n    \"platform\": \"iOS\",\n    \"ip\": \"192.168.1.1\",\n    \"location\": {\"country\": \"EE\", \"city\": \"Tallinn\"},\n    \"last_used_at\": \"2025-11-28T10:00:00.000000Z\",\n    \"created_at\": \"2025-11-28T08:00:00.000000Z\",\n    \"expires_at\": \"2025-12-28T10:00:00.000000Z\",\n    \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n  }\n]",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Get sessions for all users owned by current user",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/:user_oid\/tokens",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/:user_oid\/tokens",
                                    "variable": [
                                        {
                                            "id": "user_oid",
                                            "key": "user_oid",
                                            "value": "architecto",
                                            "description": ""
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[\n  {\n    \"id\": 1,\n    \"oid\": \"metrotec\",\n    \"name\": \"API token\",\n    \"created_at\": \"2025-01-01T00:00:00.000000Z\",\n    \"expires_at\": null,\n    \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n  }\n]",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Delete the specific token",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/:user_oid\/tokens\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/:user_oid\/tokens\/:id",
                                    "variable": [
                                        {
                                            "id": "user_oid",
                                            "key": "user_oid",
                                            "value": "metrotec",
                                            "description": "Username"
                                        },
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "88",
                                            "description": "The ID of the token."
                                        },
                                        {
                                            "id": "token_id",
                                            "key": "token_id",
                                            "value": "90",
                                            "description": "Token ID"
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "",
                                    "name": "success"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "API tokens",
                    "description": "API tokens management",
                    "item": [
                        {
                            "name": "Get API tokens for all users owned by current user",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/api-tokens",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/api-tokens"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[\n  {\n    \"id\": 1,\n    \"oid\": \"metrotec\",\n    \"name\": \"API token\",\n    \"created_at\": \"2025-01-01T00:00:00.000000Z\",\n    \"expires_at\": null,\n    \"updated_at\": \"2025-11-28T10:00:00.000000Z\"\n  }\n]",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create an API token for given user",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/api-tokens",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/api-tokens"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"oid\":\"metrotec\",\"token_name\":\"API token\",\"expires_at\":\"2026-12-31\"}"
                                },
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\n  \"id\": 1,\n  \"tokenable_type\": \"App\\\\Models\\\\User\",\n  \"tokenable_id\": 123,\n  \"name\": \"API token\",\n  \"abilities\": [\"api\"],\n  \"last_used_at\": null,\n  \"expires_at\": \"2026-12-31T00:00:00.000000Z\",\n  \"created_at\": \"2025-11-28T10:00:00.000000Z\",\n  \"updated_at\": \"2025-11-28T10:00:00.000000Z\",\n  \"plainTextToken\": \"1|abc123def456...\"\n}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Delete the specific API token",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/api-tokens\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/api-tokens\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "88",
                                            "description": "The ID of the api token."
                                        },
                                        {
                                            "id": "token_id",
                                            "key": "token_id",
                                            "value": "1234",
                                            "description": "Token ID"
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": ""
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "",
                                    "name": "success"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Clients",
                    "description": "List client subuser accounts.",
                    "item": [
                        {
                            "name": "List clients",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/clients",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/clients"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all client subuser accounts for the current owner."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":\"client1\",\"name\":\"Client A\",\"access\":5,\"tehnEmail\":\"client@example.com\",\"phone\":\"+37255512345\",\"defLang\":\"en\",\"email\":\"client@example.com\",\"tehnKontakt\":\"John +37255512345\",\"fish_document_number\":null,\"company_name\":\"Company\",\"company_nr\":\"12345\",\"legal_address\":\"Main St 1\",\"company_vat_no\":\"EE123456\"}]",
                                    "name": "Success"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Vehicle Faults",
            "description": "",
            "item": [
                {
                    "name": "Fault Types",
                    "description": "Manage vehicle fault type definitions.",
                    "item": [
                        {
                            "name": "List all fault types",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaultstypes",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaultstypes"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all vehicle fault types ordered by their ordering value."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"name\":\"Engine\",\"descriptions\":[\"Oil leak\",\"Overheating\"],\"description\":\"Engine related faults\",\"ordering\":10}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Show fault type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaultstypes\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaultstypes\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The fault type ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single vehicle fault type by its ID."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"name\":\"Engine\",\"descriptions\":[\"Oil leak\",\"Overheating\"],\"description\":\"Engine related faults\",\"ordering\":10}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create fault type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaultstypes",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaultstypes"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Engine\",\"descriptions\":[\"architecto\"],\"description\":\"Engine related faults\",\"ordering\":10}"
                                },
                                "description": "Creates a new vehicle fault type definition."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"name\":\"Engine\",\"descriptions\":[\"Oil leak\",\"Overheating\"],\"description\":\"Engine related faults\",\"ordering\":10}",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Update fault type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaultstypes\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaultstypes\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The fault type ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Engine\",\"descriptions\":[\"architecto\"],\"description\":\"Engine related faults\",\"ordering\":10}"
                                },
                                "description": "Updates an existing vehicle fault type definition."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"name\":\"Engine\",\"descriptions\":[\"Oil leak\",\"Overheating\"],\"description\":\"Engine related faults\",\"ordering\":10}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Delete fault type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaultstypes\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaultstypes\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The fault type ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Deletes a vehicle fault type. Fails if the type is still in use by any faults."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Vehicle_Faults_Type_Used\"}",
                                    "name": "In use"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Transfer Acceptance Act",
                    "description": "Manage transfer acceptance acts for drivers. A driver must be registered to a vehicle.",
                    "item": [
                        {
                            "name": "Show transfer acceptance act",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/transferacceptance",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/transferacceptance"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns the active transfer acceptance act for the current driver. If no act exists, one is automatically created."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"owner\":\"OWN1\",\"accepted_by\":\"USR1\",\"accepted_at\":null,\"vehicle_drivers_id\":5}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Driver_Not_Registered_To_A_Vehicle\"}",
                                    "name": "Not registered"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"Not_A_Driver\"}",
                                    "name": "Not a driver"
                                }
                            ]
                        },
                        {
                            "name": "Accept transfer",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/transferacceptance\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/transferacceptance\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The transfer acceptance act ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Marks the transfer acceptance act as accepted by setting the accepted_at timestamp to the current UTC time."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"owner\":\"OWN1\",\"accepted_by\":\"USR1\",\"accepted_at\":\"2024-01-15 12:00:00\",\"vehicle_drivers_id\":5}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Faults",
                    "description": "CRUD operations for vehicle fault records. Creating a fault requires an active transfer acceptance act.",
                    "item": [
                        {
                            "name": "List all faults",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaults",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaults"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all open (unsolved) vehicle fault records for the current user."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"object_id\":\"ABC123\",\"vehicle_faults_type_id\":1,\"descriptions\":[\"Oil leak\"],\"registered_at\":\"2026-01-15 10:00:00\",\"registered_by\":\"USR1\",\"solved_at\":null,\"solved_by\":null,\"transfer_acceptance_act_id\":1,\"previous_driver_id\":5,\"owner\":\"OWN1\"}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Show fault",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaults\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaults\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The fault record ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single vehicle fault record with attached files."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"vehicle_faults_type_id\":1,\"descriptions\":[\"Oil leak\"],\"registered_at\":\"2026-01-15 10:00:00\",\"registered_by\":\"USR1\",\"solved_at\":null,\"solved_by\":null,\"transfer_acceptance_act_id\":1,\"previous_driver_id\":5,\"owner\":\"OWN1\",\"files\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create fault",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaults",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaults"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "multipart\/form-data"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "formdata",
                                    "formdata": [
                                        {
                                            "key": "vehicle_faults_type_id",
                                            "value": "1",
                                            "type": "text",
                                            "description": "The fault type ID."
                                        },
                                        {
                                            "key": "descriptions",
                                            "value": "[\"Oil leak\", \"Overheating\"]",
                                            "type": "text",
                                            "description": "JSON-encoded descriptions string."
                                        },
                                        {
                                            "key": "file[]",
                                            "src": [],
                                            "type": "file"
                                        }
                                    ]
                                },
                                "description": "Creates a new vehicle fault record. Requires an active transfer acceptance act for the current driver. Supports file uploads."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"vehicle_faults_type_id\":1,\"descriptions\":[\"Oil leak\"],\"registered_at\":\"2026-01-15 10:00:00\",\"registered_by\":\"USR1\",\"solved_at\":null,\"solved_by\":null,\"transfer_acceptance_act_id\":1,\"previous_driver_id\":5,\"owner\":\"OWN1\",\"files\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"No_Transfer_Acceptance_Act\"}",
                                    "name": "No act"
                                }
                            ]
                        },
                        {
                            "name": "Update fault",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaults\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaults\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The fault record ID."
                                        }
                                    ]
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "multipart\/form-data"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "formdata",
                                    "formdata": [
                                        {
                                            "key": "is_solved",
                                            "value": "1",
                                            "type": "text",
                                            "description": "Whether to mark the fault as solved."
                                        },
                                        {
                                            "key": "file[]",
                                            "src": [],
                                            "type": "file"
                                        },
                                        {
                                            "key": "_method",
                                            "value": "PUT",
                                            "type": "text"
                                        }
                                    ]
                                },
                                "description": "Marks a vehicle fault as solved. Supports additional file uploads."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"vehicle_faults_type_id\":1,\"descriptions\":[\"Oil leak\"],\"registered_at\":\"2026-01-15 10:00:00\",\"registered_by\":\"USR1\",\"solved_at\":\"2026-01-16 08:00:00\",\"solved_by\":\"USR1\",\"transfer_acceptance_act_id\":1,\"previous_driver_id\":5,\"owner\":\"OWN1\",\"files\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Delete fault",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaults\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaults\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The fault record ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Deletes a vehicle fault record."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Faults Report",
                    "description": "Aggregated vehicle faults report and per-vehicle fault details.",
                    "item": [
                        {
                            "name": "List faults report",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaultsrep",
                                    "query": [
                                        {
                                            "key": "registered_at[0]",
                                            "value": "2026-01-01",
                                            "description": "Date range filter [from, to].",
                                            "disabled": false
                                        },
                                        {
                                            "key": "registered_at[1]",
                                            "value": "2026-01-31",
                                            "description": "Date range filter [from, to].",
                                            "disabled": false
                                        },
                                        {
                                            "key": "registered_at.0",
                                            "value": "2026-01-01",
                                            "description": "This field is required when registered_at is present. V\u00e4li value peab olema kehtiv kuup\u00e4ev.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "registered_at.1",
                                            "value": "2026-01-31",
                                            "description": "This field is required when registered_at is present. V\u00e4li value peab olema kehtiv kuup\u00e4ev.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "object_id",
                                            "value": "ABC123",
                                            "description": "Filter by vehicle object ID.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "not_solved",
                                            "value": "true",
                                            "description": "Filter by solved status (true = only unsolved).",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/vehfaultsrep?registered_at[0]=2026-01-01&registered_at[1]=2026-01-31&registered_at.0=2026-01-01&registered_at.1=2026-01-31&object_id=ABC123&not_solved=true"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns an aggregated vehicle faults report grouped by vehicle, with unsolved and solved faults."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"object_id\":\"ABC123\",\"faults\":[{\"id\":1,\"name\":\"Engine\",\"descriptions\":\"Oil leak\",\"date\":\"2026-01-15\"}],\"solved\":[]}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Show vehicle faults",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaultsrep\/:id",
                                    "query": [
                                        {
                                            "key": "registered_at[0]",
                                            "value": "2026-01-01",
                                            "description": "Date range filter [from, to].",
                                            "disabled": false
                                        },
                                        {
                                            "key": "registered_at[1]",
                                            "value": "2026-01-31",
                                            "description": "Date range filter [from, to].",
                                            "disabled": false
                                        },
                                        {
                                            "key": "registered_at.0",
                                            "value": "2026-01-01",
                                            "description": "This field is required when registered_at is present. V\u00e4li value peab olema kehtiv kuup\u00e4ev.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "registered_at.1",
                                            "value": "2026-01-31",
                                            "description": "This field is required when registered_at is present. V\u00e4li value peab olema kehtiv kuup\u00e4ev.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "object_id",
                                            "value": "ABC123",
                                            "description": "Filter by vehicle object ID. Must contain only letters, numbers, dashes and underscores. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "not_solved",
                                            "value": "true",
                                            "description": "Filter unsolved only.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/vehfaultsrep\/:id?registered_at[0]=2026-01-01&registered_at[1]=2026-01-31&registered_at.0=2026-01-01&registered_at.1=2026-01-31&object_id=ABC123&not_solved=true",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all fault records for a specific vehicle, including attached files."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"object_id\":\"ABC123\",\"name\":\"Engine\",\"descriptions\":[\"Oil leak\"],\"registered_at\":\"2026-01-15\",\"registered_by\":\"USR1\",\"solved_at\":null,\"solved_by\":null,\"transfer_acceptance_act_id\":1,\"driver_name\":\"John Doe\",\"files\":[]}]",
                                    "name": "Success"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Fault Checks",
                    "description": "Vehicle status checks that may create fault records for failed items. Supports file uploads per fault.",
                    "item": [
                        {
                            "name": "List all checks",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaultchecks",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaultchecks"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all vehicle status check records."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"object_id\":\"ABC123\",\"created_at\":\"2026-01-15 10:00:00\",\"status\":0,\"data\":[{\"fault_id\":1,\"checked\":true,\"comment\":\"\"}],\"sender\":\"USR1\"}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Show check",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaultchecks\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaultchecks\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The check record ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single vehicle status check with its associated faults and files."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"created_at\":\"2026-01-15 10:00:00\",\"status\":1,\"data\":[{\"fault_id\":1,\"checked\":false,\"comment\":\"Oil leak\"}],\"sender\":\"USR1\",\"faults\":[]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create check",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehfaultchecks",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehfaultchecks"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"data\":\"[{\\\"fault_id\\\":1,\\\"checked\\\":true,\\\"comment\\\":\\\"\\\"},{\\\"fault_id\\\":2,\\\"checked\\\":false,\\\"comment\\\":\\\"Oil leak\\\"}]\"}"
                                },
                                "description": "Creates a vehicle status check. Fault records are automatically created for unchecked items. Supports file uploads grouped by fault_id."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"created_at\":\"2026-01-15 10:00:00\",\"status\":1,\"data\":[{\"fault_id\":1,\"checked\":false,\"comment\":\"Oil leak\"}],\"sender\":\"USR1\",\"faults\":[]}",
                                    "name": "Success"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Vehicle Status",
            "description": "",
            "item": [
                {
                    "name": "Status",
                    "description": "Get current vehicle status (work, repair, own_repair, reserve).",
                    "item": [
                        {
                            "name": "Get vehicle status",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatus\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehstatus\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns the current status of a vehicle with related record data."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"driver_id\":1,\"type_id\":null,\"log\":null,\"status\":\"work\",\"id\":1,\"object_id\":\"ABC123\",\"startUse\":\"2025-01-15 08:00:00\",\"stopUse\":null,\"name\":\"John Doe\"}",
                                    "name": "Work"
                                },
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"driver_id\":null,\"type_id\":1,\"log\":[],\"status\":\"repair\",\"id\":1,\"object_id\":\"ABC123\",\"start\":\"2025-01-15 08:00:00\",\"stop\":null,\"name\":\"Engine repair\"}",
                                    "name": "Repair"
                                },
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"driver_id\":null,\"type_id\":null,\"log\":null,\"status\":\"reserve\",\"id\":1,\"start\":\"2025-01-15 12:00:00\",\"prev_status\":\"work\"}",
                                    "name": "Reserve"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Repair Close",
                    "description": "Close active vehicle repair status records.",
                    "item": [
                        {
                            "name": "Close repair status",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatus\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehstatus\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Closes the active repair record for a vehicle by setting its stop time to now."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"ObjectNotAllowed\"}",
                                    "name": "Object not allowed"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Report",
                    "description": "Vehicle status report with work, repair and own repair periods.",
                    "item": [
                        {
                            "name": "List vehicle status report",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatusreport",
                                    "query": [
                                        {
                                            "key": "datetime[0]",
                                            "value": "architecto",
                                            "description": "",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/vehstatusreport?datetime[0]=architecto"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all vehicles with calculated work, repair and own repair time periods."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":\"ABC123\",\"alias\":\"Truck 1\",\"work\":3600,\"repair\":1800,\"own_repair\":900}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Get vehicle status report",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatusreport\/:id",
                                    "query": [
                                        {
                                            "key": "datetime[0]",
                                            "value": "architecto",
                                            "description": "",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/vehstatusreport\/:id?datetime[0]=architecto",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns repair and work records for a single vehicle within the given period."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"object_id\":\"ABC123\",\"start\":\"2025-01-15 08:00:00\",\"stop\":\"2025-01-15 12:00:00\",\"type_id\":null,\"name\":\"John Doe\",\"status\":\"work\",\"driver_id\":1,\"startTimestamp\":1736928000,\"stopTimestamp\":1736942400}]",
                                    "name": "Success"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Repair",
                    "description": "Manage vehicle repair status records.",
                    "item": [
                        {
                            "name": "Get repair record",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatusrepair\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehstatusrepair\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The repair record ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single vehicle repair record by ID with decoded log."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"type_id\":1,\"isOwn\":0,\"start\":\"2025-01-15 08:00:00\",\"stop\":null,\"log\":[],\"oid\":\"owner1\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create repair record",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatusrepair",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehstatusrepair"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"type_id\":1,\"isOwn\":false}"
                                },
                                "description": "Creates a new vehicle repair record. Closes any active driver vehicle registration for the vehicle first."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"type_id\":1,\"isOwn\":0,\"start\":\"2025-01-15 08:00:00\",\"stop\":null,\"log\":[],\"oid\":\"owner1\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Vehicle_Already_In_Repair\"}",
                                    "name": "Already in repair"
                                }
                            ]
                        },
                        {
                            "name": "Update (close) repair record",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatusrepair\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehstatusrepair\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The repair record ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Closes an active repair record by setting its stop time to now."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"object_id\":\"ABC123\",\"type_id\":1,\"isOwn\":0,\"start\":\"2025-01-15 08:00:00\",\"stop\":\"2025-01-15 17:00:00\",\"log\":[],\"oid\":\"owner1\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Closed_Record\"}",
                                    "name": "Already closed"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Delete repair record",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatusrepair\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehstatusrepair\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The repair record ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Deletes an active (unclosed) repair record."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"Closed_Record\"}",
                                    "name": "Already closed"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Status Types",
                    "description": "Manage vehicle status type records.",
                    "item": [
                        {
                            "name": "List status types",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatustype",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehstatustype"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all vehicle status types for the current owner."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"name\":\"Engine repair\"},{\"id\":2,\"name\":\"Body repair\"}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Get status type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatustype\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehstatustype\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The status type ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single vehicle status type by ID."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"name\":\"Engine repair\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create status type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatustype",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehstatustype"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Engine repair\"}"
                                },
                                "description": "Creates a new vehicle status type."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":1,\"name\":\"Engine repair\"}",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Update status type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatustype\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehstatustype\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The status type ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Engine repair\"}"
                                },
                                "description": "Updates an existing vehicle status type."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"name\":\"Body repair\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Delete status type",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehstatustype\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehstatustype\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The status type ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Deletes a vehicle status type."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Vehicles",
            "description": "*\n* APIs for managing vehicles",
            "item": [
                {
                    "name": "Objects",
                    "description": "Object management",
                    "item": [
                        {
                            "name": "List all objects",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/objects",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/objects"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all vehicle objects for the current user. Admin users receive a limited set (max 5)."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"object_id\":\"ABC123\",\"oid\":\"metrotec\",\"Serial_Nr\":\"123456789\",\"GSM_NR\":\"+37255555555\",\"Manufacture\":1,\"odometer\":150000,\"T1max\":30,\"T2max\":30,\"T1min\":0,\"T2min\":0,\"odometer_day\":\"2025-01-01 00:00:00\",\"description\":\"Delivery truck\",\"tank_vol\":200.5,\"x_coord\":24.7536,\"y_coord\":59.437,\"is_fixed_gps\":0,\"account_type\":1,\"categoryID\":1,\"extraDevices\":0,\"naviseade\":\"ABC123\",\"deviceName\":\"FMB120\",\"isPercent\":0}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Search objects",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/objects-query",
                                    "query": [
                                        {
                                            "key": "q",
                                            "value": "ABC123",
                                            "description": "Search term (object_id or Serial_Nr). Min 2 chars.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/objects-query?q=ABC123"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"q\":\"b\"}"
                                },
                                "description": "Searches vehicle objects by object ID or serial number. Requires installer-level access."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"object_id\":\"ABC123\",\"oid\":\"metrotec\",\"Serial_Nr\":\"123456789\",\"GSM_NR\":\"+37255555555\",\"Manufacture\":1}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Show object",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/objects\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/objects\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single vehicle object by ID."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"object_id\":\"ABC123\",\"oid\":\"metrotec\",\"Serial_Nr\":\"123456789\",\"GSM_NR\":\"+37255555555\",\"Manufacture\":1,\"odometer\":150000,\"T1max\":30,\"T2max\":30,\"T1min\":0,\"T2min\":0,\"odometer_day\":\"2025-01-01 00:00:00\",\"description\":\"Delivery truck\",\"tank_vol\":200.5,\"x_coord\":24.7536,\"y_coord\":59.437,\"is_fixed_gps\":0,\"account_type\":1,\"categoryID\":1,\"extraDevices\":0,\"naviseade\":\"ABC123\",\"deviceName\":\"FMB120\",\"isPercent\":0}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"error\":\"Vehicle_Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create object",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/objects",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/objects"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"oid\":\"metrotec\",\"Serial_Nr\":\"123456789\",\"GSM_NR\":\"+37255555555\",\"Manufacture\":1,\"odometer\":150000,\"T1max\":30,\"T2max\":30,\"odometer_day\":\"2025-01-01 00:00:00\",\"description\":\"Delivery truck\",\"tank_vol\":200.5,\"x_coord\":24.7536,\"y_coord\":59.437,\"is_fixed_gps\":false}"
                                },
                                "description": "Creates a new vehicle object. Requires installer-level access."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"object_id\":\"ABC123\",\"oid\":\"metrotec\",\"Serial_Nr\":\"123456789\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"error\":\"Not_Unique_Serial_Nr\"}",
                                    "name": "Duplicate serial"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"error\":\"Not_Unique_Object_Id\"}",
                                    "name": "Duplicate object ID"
                                }
                            ]
                        },
                        {
                            "name": "Update object",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/objects\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/objects\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"oid\":\"metrotec\",\"Serial_Nr\":\"123456789\",\"GSM_NR\":\"+37255555555\",\"Manufacture\":1,\"odometer\":150000,\"T1max\":30,\"T2max\":30,\"odometer_day\":\"2025-01-01 00:00:00\",\"description\":\"Delivery truck\",\"tank_vol\":200.5,\"x_coord\":24.7536,\"y_coord\":59.437,\"is_fixed_gps\":false}"
                                },
                                "description": "Updates an existing vehicle object. Requires installer-level access."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"object_id\":\"ABC123\",\"oid\":\"metrotec\",\"Serial_Nr\":\"123456789\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"error\":\"Not_Unique_Serial_Nr\"}",
                                    "name": "Duplicate serial"
                                }
                            ]
                        },
                        {
                            "name": "Delete object",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/objects\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/objects\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Deletes a vehicle object. Only objects with account_type=-1 can be deleted. Requires installer-level access."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"error\":\"Vehicle_Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Get odometer by date",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/odometer\/:id",
                            "query": [
                                {
                                    "key": "d",
                                    "value": "2025-01-15+08%3A00%3A00",
                                    "description": "Date in Y-m-d H:i:s format.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/odometer\/:id?d=2025-01-15+08%3A00%3A00",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"d\":\"2026-02-26 15:34:38\"}"
                        },
                        "description": "Returns the calculated odometer value for a vehicle at a specific date."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"odometer\":150234.5}",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get odometer \/ motohours",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/odomoto\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/odomoto\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "ABC123",
                                    "description": "The vehicle object ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the current odometer value or motohours for a vehicle,\ndepending on whether it is configured to calculate by hours."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"object_id\":\"ABC123\",\"odometer\":150234,\"motoHours\":null,\"dateTimeUTC\":\"2025-01-15 08:00:00\"}",
                            "name": "Odometer"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"object_id\":\"ABC123\",\"odometer\":null,\"motoHours\":1234.5,\"dateTimeUTC\":\"2025-01-15 08:00:00\"}",
                            "name": "MotoHours"
                        }
                    ]
                },
                {
                    "name": "Get objects in geo area",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/objectsingeo",
                            "query": [
                                {
                                    "key": "coordinates",
                                    "value": "%5B%5B24.7%2C59.4%5D%2C%5B24.8%2C59.4%5D%2C%5B24.8%2C59.5%5D%2C%5B24.7%2C59.5%5D%2C%5B24.7%2C59.4%5D%5D",
                                    "description": "JSON-encoded array of polygon coordinate pairs. V\u00e4li value peab olema kehtiv JSON string.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/objectsingeo?coordinates=%5B%5B24.7%2C59.4%5D%2C%5B24.8%2C59.4%5D%2C%5B24.8%2C59.5%5D%2C%5B24.7%2C59.5%5D%2C%5B24.7%2C59.4%5D%5D"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a list of vehicle object IDs located within the given polygon coordinates."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[\"ABC123\",\"DEF456\",\"GHI789\"]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\":\"Forbidden\"}",
                            "name": "Forbidden"
                        }
                    ]
                },
                {
                    "name": "Fleet Vehicles",
                    "description": "Vehicle fleet management with leasing, aliases, and booking",
                    "item": [
                        {
                            "name": "List all vehicles",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicles",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicles"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all vehicles for the current user with device info, booking status, and categories."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":\"ABC123\",\"alias\":\"Truck 1\",\"isOwn\":1,\"extraDevices\":0,\"categoryID\":1,\"categoryName\":\"Trucks\",\"naviseade\":\"ABC123\",\"isDDD\":0,\"account_type\":1,\"Manufacture\":1,\"calcByM\":\"0\",\"has_route_tasks\":\"1\",\"T1min\":0,\"T1max\":30,\"T2min\":0,\"T2max\":30,\"tank_vol\":200,\"barrel_type\":0,\"isPercent\":0,\"isBookable\":1,\"next_maintenance_km\":200000,\"odometer_day\":\"2025-01-01 00:00:00\",\"odometer\":150000,\"fuel_card_nr\":\"FC-12345\",\"gps_refresh_interval\":30,\"is_fuel_as_pressure\":0}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Show vehicle",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicles\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicles\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns detailed vehicle data. Own vehicles include leasing data; shared vehicles return minimal info."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":\"ABC123\",\"alias\":\"Truck 1\",\"isOwn\":1,\"fuel_card_nr\":\"FC-12345\",\"categoryID\":1,\"categoryName\":\"Trucks\",\"btime\":300,\"next_maintenance_km\":200000,\"next_inspection_day\":\"2025-06-15\",\"next_insurance_day\":\"2025-12-31\",\"odometer\":150000,\"odometer_day\":\"2025-01-15 08:00:00\",\"idle_rpm\":800,\"min_rpm\":500,\"isBookable\":1,\"calcByM\":\"0\",\"has_route_tasks\":\"1\",\"leasing_id\":1,\"kontraktNr\":12345,\"model\":\"Volvo-FH16\",\"period\":36,\"leasing_startDate\":\"2024-01-01\",\"leasing_endDate\":\"2027-01-01\",\"res_value\":15000.5}",
                                    "name": "Own vehicle"
                                },
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":\"ABC123\",\"alias\":\"Truck 1\",\"isOwn\":0}",
                                    "name": "Shared vehicle"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Update vehicle",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicles\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicles\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"fuel_card_nr\":\"FC-12345\",\"categoryID\":1,\"btime\":300,\"next_maintenance_km\":200000,\"next_inspection_day\":\"2025-06-15\",\"next_insurance_day\":\"2025-12-31\",\"odometer\":150000,\"idle_rpm\":800,\"min_rpm\":500,\"odometer_day\":\"2025-01-15 08:00:00\",\"isBookable\":true,\"has_route_tasks\":true,\"calcByM\":false,\"alias\":\"Truck 1\",\"kontraktNr\":12345,\"model\":\"Volvo-FH16\",\"period\":36,\"leasing_startDate\":\"2024-01-01\",\"leasing_endDate\":\"2027-01-01\",\"res_value\":15000.5,\"p1\":\"Value 1\",\"p2\":\"Value 2\",\"p3\":\"Value 3\",\"p4\":\"Value 4\",\"p5\":\"Value 5\"}"
                                },
                                "description": "Updates a vehicle's settings, alias, leasing data, and booking status.\nOnly own vehicles can have their full data updated."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"OK\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Aliases",
                    "description": "Vehicle alias management",
                    "item": [
                        {
                            "name": "Update alias",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/alias\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/alias\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "ABC123",
                                            "description": "The vehicle object ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"alias\":\"Truck 1\"}"
                                },
                                "description": "Creates, updates, or removes a vehicle alias. Pass null to remove the alias."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"ID\":1,\"object_id\":\"ABC123\",\"alias\":\"Truck 1\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "null",
                                    "name": "Removed"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\":\"ObjectNotAllowed\"}",
                                    "name": "Forbidden"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Categories",
                    "description": "Vehicle category management",
                    "item": [
                        {
                            "name": "List all categories",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/categories",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/categories"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all vehicle categories for the current user."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[{\"id\":1,\"name\":\"Trucks\",\"calcByKm\":\"1\",\"calcByM\":\"0\",\"shift\":\"0\"}]",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Show category",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/categories\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/categories\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The category ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single category with its assigned vehicles."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"name\":\"Trucks\",\"calcByKm\":\"1\",\"calcByM\":\"0\",\"shift\":\"0\",\"vehicles\":[{\"object_id\":\"ABC123\",\"alias\":\"Truck 1\"}]}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Create category",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/categories",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/categories"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Trucks\",\"calcByKm\":true,\"calcByM\":false,\"shift\":false}"
                                },
                                "description": "Creates a new vehicle category."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"id\":2,\"name\":\"Vans\",\"calcByKm\":\"1\",\"calcByM\":\"0\",\"shift\":\"0\"}",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Update category",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/categories\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/categories\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The category ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"name\":\"Trucks\",\"calcByKm\":true,\"calcByM\":false,\"shift\":false}"
                                },
                                "description": "Updates an existing vehicle category."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"id\":1,\"name\":\"Heavy Trucks\",\"calcByKm\":\"1\",\"calcByM\":\"0\",\"shift\":\"0\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        },
                        {
                            "name": "Delete category",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/categories\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/categories\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The category ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Deletes a vehicle category. Fails if vehicles are still assigned to it."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"message\":\"Deleted\"}",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 400,
                                    "body": "{\"message\":\"No_Delete\"}",
                                    "name": "In use"
                                },
                                {
                                    "header": [],
                                    "code": 404,
                                    "body": "{\"message\":\"Not_Found\"}",
                                    "name": "Not found"
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "Trailers",
                    "description": "Manage vehicle trailers",
                    "item": [
                        {
                            "name": "List all trailers",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/trailers",
                                    "query": [
                                        {
                                            "key": "archived",
                                            "value": "1",
                                            "description": "Include archived (inactive) trailers.",
                                            "disabled": false
                                        },
                                        {
                                            "key": "filter%5Bobject_id%5D",
                                            "value": "ABC123",
                                            "description": "Filter by vehicle object ID.",
                                            "disabled": false
                                        }
                                    ],
                                    "raw": "{{baseUrl}}\/api\/trailers?archived=1&filter%5Bobject_id%5D=ABC123"
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns all trailers for the current user's organization.\nBy default, only active trailers are returned."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\": [{\"id\": 1, \"object_id\": \"ABC123\", \"trailer_object_id\": \"TRL001\", \"trailer_nr\": \"123ABC\", \"mark\": \"Schmitz\", \"trailer_model\": \"Cargobull\", \"active\": true, \"vehicle\": {\"object_id\": \"ABC123\", \"mark\": \"Volvo\", \"model\": \"FH16\"}, \"trailer\": {\"object_id\": \"TRL001\", \"mark\": \"Schmitz\", \"model\": \"Cargobull\"}}]}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Create a trailer",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/trailers",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/trailers"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"trailer_object_id\":\"TRL001\",\"trailer_nr\":\"123ABC\",\"mark\":\"Schmitz\",\"trailer_model\":\"Cargobull\",\"active\":true}"
                                },
                                "description": "Creates a new trailer for the current user's organization."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 201,
                                    "body": "{\"data\": {\"id\": 1, \"object_id\": \"ABC123\", \"trailer_object_id\": \"TRL001\", \"trailer_nr\": \"123ABC\", \"mark\": \"Schmitz\", \"trailer_model\": \"Cargobull\", \"active\": true, \"vehicle\": null, \"trailer\": null}}",
                                    "name": "Success"
                                }
                            ]
                        },
                        {
                            "name": "Get a trailer",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/trailers\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/trailers\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The ID of the trailer."
                                        },
                                        {
                                            "id": "trailer",
                                            "key": "trailer",
                                            "value": "1",
                                            "description": "The trailer ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns a single trailer by ID."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\": {\"id\": 1, \"object_id\": \"ABC123\", \"trailer_object_id\": \"TRL001\", \"trailer_nr\": \"123ABC\", \"mark\": \"Schmitz\", \"trailer_model\": \"Cargobull\", \"active\": true, \"vehicle\": {\"object_id\": \"ABC123\", \"mark\": \"Volvo\", \"model\": \"FH16\"}, \"trailer\": {\"object_id\": \"TRL001\", \"mark\": \"Schmitz\", \"model\": \"Cargobull\"}}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\": \"Forbidden\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Update a trailer",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/trailers\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/trailers\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The ID of the trailer."
                                        },
                                        {
                                            "id": "trailer",
                                            "key": "trailer",
                                            "value": "1",
                                            "description": "The trailer ID."
                                        }
                                    ]
                                },
                                "method": "PUT",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"trailer_object_id\":\"TRL001\",\"trailer_nr\":\"123ABC\",\"mark\":\"Schmitz\",\"trailer_model\":\"Cargobull\",\"active\":true}"
                                },
                                "description": "Updates an existing trailer."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "{\"data\": {\"id\": 1, \"object_id\": \"ABC123\", \"trailer_object_id\": \"TRL001\", \"trailer_nr\": \"123ABC\", \"mark\": \"Schmitz\", \"trailer_model\": \"Cargobull\", \"active\": true, \"vehicle\": {\"object_id\": \"ABC123\", \"mark\": \"Volvo\", \"model\": \"FH16\"}, \"trailer\": {\"object_id\": \"TRL001\", \"mark\": \"Schmitz\", \"model\": \"Cargobull\"}}}",
                                    "name": ""
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\": \"Forbidden\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "Delete a trailer",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/trailers\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/trailers\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "1",
                                            "description": "The ID of the trailer."
                                        },
                                        {
                                            "id": "trailer",
                                            "key": "trailer",
                                            "value": "1",
                                            "description": "The trailer ID."
                                        }
                                    ]
                                },
                                "method": "DELETE",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Permanently deletes a trailer."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 204,
                                    "body": "\"\"",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"message\": \"Forbidden\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                },
                {
                    "name": "GET api\/rfid\/{id}",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/rfid\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/rfid\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the rfid."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "",
                        "auth": {
                            "type": "noauth"
                        }
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Devices",
                    "description": "Device management",
                    "item": [
                        {
                            "name": "GET api\/navilist\/{id}",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/navilist\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/navilist\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "architecto",
                                            "description": "The ID of the navilist."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "",
                                "auth": {
                                    "type": "noauth"
                                }
                            },
                            "response": [
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "vary",
                                            "value": "Origin"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"message\":\"Unauthenticated.\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "POST api\/navireq",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/navireq",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/navireq"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"content\":\"Please return to base\"}"
                                },
                                "description": "",
                                "auth": {
                                    "type": "noauth"
                                }
                            },
                            "response": []
                        },
                        {
                            "name": "GET api\/smslist\/{id}",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/smslist\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/smslist\/:id",
                                    "variable": [
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "architecto",
                                            "description": "The ID of the smslist."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "",
                                "auth": {
                                    "type": "noauth"
                                }
                            },
                            "response": [
                                {
                                    "header": [
                                        {
                                            "key": "cache-control",
                                            "value": "no-cache, private"
                                        },
                                        {
                                            "key": "content-type",
                                            "value": "application\/json"
                                        },
                                        {
                                            "key": "vary",
                                            "value": "Origin"
                                        }
                                    ],
                                    "code": 401,
                                    "body": "{\"message\":\"Unauthenticated.\"}",
                                    "name": ""
                                }
                            ]
                        },
                        {
                            "name": "POST api\/smsreq",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/smsreq",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/smsreq"
                                },
                                "method": "POST",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": {
                                    "mode": "raw",
                                    "raw": "{\"object_id\":\"ABC123\",\"content\":\"Please return to base\"}"
                                },
                                "description": "",
                                "auth": {
                                    "type": "noauth"
                                }
                            },
                            "response": []
                        }
                    ]
                },
                {
                    "name": "Rudus Vehicles",
                    "description": "Rudus-specific vehicle endpoints for drivers",
                    "item": [
                        {
                            "name": "Get Rudus vehicles for a task",
                            "request": {
                                "url": {
                                    "host": "{{baseUrl}}",
                                    "path": "api\/vehicles-rudus\/:typeId\/:id",
                                    "query": [],
                                    "raw": "{{baseUrl}}\/api\/vehicles-rudus\/:typeId\/:id",
                                    "variable": [
                                        {
                                            "id": "typeId",
                                            "key": "typeId",
                                            "value": "1",
                                            "description": "The Rudus object type ID (1=Mixer, 2=Pump, etc)."
                                        },
                                        {
                                            "id": "id",
                                            "key": "id",
                                            "value": "123",
                                            "description": "The route task ID."
                                        }
                                    ]
                                },
                                "method": "GET",
                                "header": [
                                    {
                                        "key": "Content-Type",
                                        "value": "application\/json"
                                    },
                                    {
                                        "key": "Accept",
                                        "value": "application\/json"
                                    }
                                ],
                                "body": null,
                                "description": "Returns vehicles related to a Rudus task. Only available for drivers with Rudus profile.\nFor mixer type, returns the other vehicle from the task.\nFor other types, returns all unique vehicles from related tasks with the same work order."
                            },
                            "response": [
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "[\n  {\n    \"object_id\": \"ABC123\",\n    \"mark\": \"Volvo\",\n    \"model\": \"FH16\"\n  }\n]",
                                    "name": "Success"
                                },
                                {
                                    "header": [],
                                    "code": 200,
                                    "body": "null",
                                    "name": "Task not found"
                                },
                                {
                                    "header": [],
                                    "code": 403,
                                    "body": "{\"error\": \"Rudus_Drivers_Only\"}",
                                    "name": ""
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        {
            "name": "Waybills",
            "description": "\nWaybill types management",
            "item": [
                {
                    "name": "List waybill types",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbtypes",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbtypes"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all waybill types for the current organization."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get waybill type",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbtypes\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbtypes\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the wbtype."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single waybill type."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Create a waybill type",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbtypes",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbtypes"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Standard\",\"hasRides\":true}"
                        },
                        "description": "Creates a new waybill type."
                    },
                    "response": []
                },
                {
                    "name": "Update waybill type",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbtypes\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbtypes\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the wbtype."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Standard\",\"hasRides\":true}"
                        },
                        "description": "Updates an existing waybill type."
                    },
                    "response": []
                },
                {
                    "name": "Delete a waybill type",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbtypes\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbtypes\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "architecto",
                                    "description": "The ID of the wbtype."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a waybill type."
                    },
                    "response": []
                },
                {
                    "name": "List waybill type objects",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbtypeobj",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbtypeobj"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all waybill type-object assignments for the current organization."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get waybill type object",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbtypeobj\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbtypeobj\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The assignment ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single waybill type-object assignment."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Create a waybill type object",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbtypeobj",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbtypeobj"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"typeId\":1,\"project_id\":1}"
                        },
                        "description": "Assigns a waybill type to an object. Validates that both the object and type exist."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Invalid_WB_Type\"}",
                            "name": "Invalid type"
                        }
                    ]
                },
                {
                    "name": "Update waybill type object",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbtypeobj\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbtypeobj\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The assignment ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"typeId\":1,\"project_id\":1}"
                        },
                        "description": "Updates a waybill type-object assignment."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Invalid_WB_Type\"}",
                            "name": "Invalid type"
                        }
                    ]
                },
                {
                    "name": "Delete a waybill type object",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbtypeobj\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbtypeobj\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The assignment ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a waybill type-object assignment."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Deleted\"}",
                            "name": "Deleted"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "List waybill jobs",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbjobs",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbjobs"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all waybill jobs for the current organization."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 1, \"name\": \"Delivery\", \"trackAddress\": 1, \"type_data\": [{\"typeId\": 1}]}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get waybill job",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbjobs\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbjobs\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The waybill job ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single waybill job."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Create waybill job",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbjobs",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbjobs"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Delivery\",\"external_id\":\"EXT-001\",\"trackAddress\":1,\"type_data\":[{\"typeId\":1,\"external_id\":null}]}"
                        },
                        "description": "Creates a new waybill job with associated type data."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"id\": 1, \"name\": \"Delivery\", \"trackAddress\": 1, \"type_data\": [{\"typeId\": 1}]}",
                            "name": "Created"
                        }
                    ]
                },
                {
                    "name": "Update waybill job",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbjobs\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbjobs\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The waybill job ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Delivery\",\"external_id\":\"EXT-001\",\"trackAddress\":1,\"type_data\":[{\"typeId\":1,\"external_id\":null}]}"
                        },
                        "description": "Updates a waybill job and replaces its type data."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Delete waybill job",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbjobs\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbjobs\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The waybill job ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a waybill job."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Deleted\"}",
                            "name": "Deleted"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "List waybill projects",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbprojects",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbprojects"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all waybill projects for the current organization."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        }
                    ]
                },
                {
                    "name": "Get waybill project",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbprojects\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbprojects\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The waybill project ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single waybill project."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Create waybill project",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbprojects",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbprojects"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Construction Site A\"}"
                        },
                        "description": "Creates a new waybill project."
                    },
                    "response": []
                },
                {
                    "name": "Update waybill project",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbprojects\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbprojects\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The waybill project ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"name\":\"Construction Site A\"}"
                        },
                        "description": "Updates a waybill project."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Delete waybill project",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbprojects\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbprojects\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The waybill project ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a waybill project."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Deleted\"}",
                            "name": "Deleted"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "List opened waybills",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/openedwaybills",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/openedwaybills"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns all waybills that have not been closed (no stop time)."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 1, \"object_id\": \"ABC123\", \"jobName\": \"Delivery\", \"start\": \"2025-01-15 08:00:00\", \"stop\": null, \"driverName\": \"John Doe\", \"alias\": \"Truck 1\"}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get rides count",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/rides",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/rides?datetime[0]=architecto"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns the number of rides grouped by object ID for the given period."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"key\": \"ABC123\", \"rides\": 5}]",
                            "name": "Success"
                        }
                    ]
                },
                {
                    "name": "Get waybill report",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbreport",
                            "query": [
                                {
                                    "key": "datetime[0]",
                                    "value": "architecto",
                                    "description": "",
                                    "disabled": false
                                },
                                {
                                    "key": "object_id",
                                    "value": "ABC123",
                                    "description": "Filter by object ID. Must contain only letters, numbers, dashes and underscores. V\u00e4li value ei tohi olla pikem kui 10 t\u00e4hem\u00e4rki.",
                                    "disabled": false
                                },
                                {
                                    "key": "driver_id",
                                    "value": "5",
                                    "description": "Filter by driver ID. Use `false` for records without a driver.",
                                    "disabled": false
                                },
                                {
                                    "key": "typeId",
                                    "value": "1",
                                    "description": "Filter by waybill type ID.",
                                    "disabled": false
                                },
                                {
                                    "key": "department",
                                    "value": "Logistics",
                                    "description": "Filter by department name.",
                                    "disabled": false
                                },
                                {
                                    "key": "all",
                                    "value": "1",
                                    "description": "When true, returns detailed waybill records instead of aggregated data.",
                                    "disabled": false
                                },
                                {
                                    "key": "jobs",
                                    "value": "1",
                                    "description": "Filter by job presence: true = only with jobs, false = only without jobs.",
                                    "disabled": false
                                }
                            ],
                            "raw": "{{baseUrl}}\/api\/wbreport?datetime[0]=architecto&object_id=ABC123&driver_id=5&typeId=1&department=Logistics&all=1&jobs=1"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns aggregated driver-vehicle records by default, or detailed waybill records when `all=true`.\nSupports filtering by object, type, department, and driver."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 1, \"object_id\": \"ABC123\", \"full_name\": \"John Doe\", \"start_use\": \"2025-01-15 08:00:00\", \"stop_use\": \"2025-01-15 17:00:00\", \"rides\": 5, \"job_count\": 3}]",
                            "name": "Aggregated"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 1, \"object_id\": \"ABC123\", \"start\": \"2025-01-15 08:00:00\", \"stop\": \"2025-01-15 09:00:00\", \"name\": \"Delivery\", \"km\": 25.3, \"tdiff\": \"01:00:00\"}]",
                            "name": "Detailed"
                        }
                    ]
                },
                {
                    "name": "Get waybill report details",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/wbreportdetails\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/wbreportdetails\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "123",
                                    "description": "The driver-vehicle record ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns detailed waybill data for a driver-vehicle record, including fuel calculations,\nodometer\/motohour data, individual waybill items, and the latest audit log entry."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"item\": {\"id\": 123, \"object_id\": \"ABC123\"}, \"fuel_spend\": 15.2, \"norm_spend\": 8.5, \"odo_moto\": 180.5, \"average_spend\": 8.4, \"calc_end\": 35.0, \"calc_spend\": 15.3, \"items\": [], \"latest_audit\": null}",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Create waybill (edit mode)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/waybills\/edit",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/waybills\/edit"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"drv_id\":10,\"jobId\":1,\"driverId\":5,\"object_id\":\"ABC123\",\"route\":\"Vilnius - Kaunas\",\"km\":102.5,\"project_id\":1,\"start\":\"2025-01-15 08:00:00\",\"stop\":\"2025-01-15 17:00:00\"}"
                        },
                        "description": "Creates a waybill manually with specified times. Requires extended user access.\nValidates that times fall within the driver-vehicle session and do not overlap existing waybills."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"id\": 1, \"object_id\": \"ABC123\", \"start\": \"2025-01-15 08:00:00\", \"stop\": \"2025-01-15 09:00:00\"}",
                            "name": "Created"
                        },
                        {
                            "header": [],
                            "code": 400,
                            "body": "{\"message\": \"Waybill times overlap\"}",
                            "name": "Invalid times"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"NotAllowed\"}",
                            "name": "Not allowed"
                        }
                    ]
                },
                {
                    "name": "Update waybill (edit mode)",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/waybills\/edit\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/waybills\/edit\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The waybill ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"jobId\":1,\"start\":\"2025-01-15 08:00:00\",\"stop\":\"2025-01-15 17:00:00\",\"km\":102.5,\"project_id\":1}"
                        },
                        "description": "Updates a waybill with new times and details. Requires extended user access. Changes are audit-logged."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"NotAllowed\"}",
                            "name": "Not allowed"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "List waybills",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/waybills",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/waybills"
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns waybills for the given object. If the driver has an active session, returns records from the session start."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "[{\"id\": 1, \"object_id\": \"ABC123\", \"name\": \"Delivery\", \"start\": \"2025-01-15 08:00:00\", \"stop\": \"2025-01-15 09:00:00\"}]",
                            "name": "Success"
                        },
                        {
                            "header": [],
                            "code": 200,
                            "body": "[]",
                            "name": "No object"
                        }
                    ]
                },
                {
                    "name": "Get waybill",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/waybills\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/waybills\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The waybill ID."
                                }
                            ]
                        },
                        "method": "GET",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Returns a single waybill record."
                    },
                    "response": [
                        {
                            "header": [
                                {
                                    "key": "cache-control",
                                    "value": "no-cache, private"
                                },
                                {
                                    "key": "content-type",
                                    "value": "application\/json"
                                },
                                {
                                    "key": "vary",
                                    "value": "Origin"
                                }
                            ],
                            "code": 401,
                            "body": "{\"message\":\"Unauthenticated.\"}",
                            "name": ""
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Create waybill",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/waybills",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/waybills"
                        },
                        "method": "POST",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"object_id\":\"ABC123\",\"jobId\":1,\"taskId\":10,\"comment\":\"Urgent delivery\",\"startAddress\":\"Vilnius, Main St. 1\",\"route\":\"Vilnius - Kaunas\"}"
                        },
                        "description": "Creates a new waybill for the authenticated driver. The driver must have an active vehicle session."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 201,
                            "body": "{\"id\": 1, \"object_id\": \"ABC123\", \"start\": \"2025-01-15 08:00:00\"}",
                            "name": "Created"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Drivers_Only\"}",
                            "name": "Not a driver"
                        },
                        {
                            "header": [],
                            "code": 403,
                            "body": "{\"message\": \"Driver_Has_Job_Opened\"}",
                            "name": "Already opened"
                        }
                    ]
                },
                {
                    "name": "Update waybill",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/waybills\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/waybills\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The waybill ID."
                                }
                            ]
                        },
                        "method": "PUT",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": {
                            "mode": "raw",
                            "raw": "{\"comment\":\"Updated delivery note\",\"startAddress\":\"Vilnius, Main St. 1\",\"stopAddress\":\"Kaunas, Oak St. 5\"}"
                        },
                        "description": "Updates a waybill. If the waybill is still open and `edit` is not set, it will be closed with the current time."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                },
                {
                    "name": "Delete waybill",
                    "request": {
                        "url": {
                            "host": "{{baseUrl}}",
                            "path": "api\/waybills\/:id",
                            "query": [],
                            "raw": "{{baseUrl}}\/api\/waybills\/:id",
                            "variable": [
                                {
                                    "id": "id",
                                    "key": "id",
                                    "value": "1",
                                    "description": "The waybill ID."
                                }
                            ]
                        },
                        "method": "DELETE",
                        "header": [
                            {
                                "key": "Content-Type",
                                "value": "application\/json"
                            },
                            {
                                "key": "Accept",
                                "value": "application\/json"
                            }
                        ],
                        "body": null,
                        "description": "Deletes a waybill."
                    },
                    "response": [
                        {
                            "header": [],
                            "code": 200,
                            "body": "{\"message\": \"Deleted\"}",
                            "name": "Deleted"
                        },
                        {
                            "header": [],
                            "code": 404,
                            "body": "{\"message\": \"Not_Found\"}",
                            "name": "Not found"
                        }
                    ]
                }
            ]
        }
    ],
    "auth": {
        "type": "bearer",
        "bearer": [
            {
                "key": "Authorization",
                "type": "string"
            }
        ]
    }
}