{
  "info": {
    "name": "Tako.API",
    "description": "Collection completa di tutte le entry point CRUD + autenticazione di Tako.API. Importa questa collection in Postman, imposta la variabile baseUrl (default http://localhost:8080), esegui \"Login\" per popolare automaticamente la variabile token, poi tutte le altre richieste useranno il Bearer token.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "http://localhost:8080",
      "type": "string"
    },
    {
      "key": "token",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Utenti (users)",
      "item": [
        {
          "name": "GET /users",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/users",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "users"
              ]
            },
            "description": "Elenco utenti."
          },
          "response": []
        },
        {
          "name": "GET /user/{uid}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "1"
              ]
            },
            "description": "Dettaglio di un utente."
          },
          "response": []
        },
        {
          "name": "GET /user/{uid}/companies",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/1/companies",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "1",
                "companies"
              ]
            },
            "description": "Aziende collegate a questo utente (dialogo users → companies)."
          },
          "response": []
        },
        {
          "name": "GET /user/{uid}/logs",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/1/logs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "1",
                "logs"
              ]
            },
            "description": "Log applicativi generati da questo utente (dialogo users → applog)."
          },
          "response": []
        },
        {
          "name": "POST /user",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user"
              ]
            },
            "description": "Creazione di un nuovo utente, riservata all'amministrazione (non è una registrazione pubblica). La password viene salvata come hash SHA1.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"usr\": \"mario.rossi\",\n  \"pwd\": \"PasswordSicura1\",\n  \"pkey\": null,\n  \"rid\": 500,\n  \"name\": \"Mario\",\n  \"surname\": \"Rossi\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /user/{uid}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "1"
              ]
            },
            "description": "Aggiornamento utente (campi opzionali). Se valorizzata, la password viene ri-hashata con SHA1.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"pwd\": \"NuovaPassword1\",\n  \"pkey\": null,\n  \"rid\": 500,\n  \"name\": \"Mario\",\n  \"surname\": \"Rossi\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /user/{uid}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "1"
              ]
            },
            "description": "Eliminazione utente (definitiva)."
          },
          "response": []
        },
        {
          "name": "POST /user/auth",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/auth",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "auth"
              ]
            },
            "description": "Login: verifica l'hash SHA1 della password e restituisce il JWT da usare come Bearer token.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"usr\": \"mario.rossi\",\n  \"pwd\": \"PasswordSicura1\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": [],
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "const data = pm.response.json();",
                  "if (data.token) { pm.collectionVariables.set(\"token\", data.token); }"
                ]
              }
            }
          ]
        },
        {
          "name": "DELETE /user/auth",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/user/auth",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "user",
                "auth"
              ]
            },
            "description": "Logout: invalida la sessione del token corrente (sliding expiration)."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Ruoli (td_role)",
      "item": [
        {
          "name": "GET /roles",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/roles",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "roles"
              ]
            },
            "description": "Elenco ruoli."
          },
          "response": []
        },
        {
          "name": "GET /role/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/role/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "role",
                "1"
              ]
            },
            "description": "Dettaglio ruolo."
          },
          "response": []
        },
        {
          "name": "POST /role",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/role",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "role"
              ]
            },
            "description": "Creazione ruolo (id assegnato manualmente, non auto-incrementale).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 600,\n  \"name\": \"moderatore\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /role/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/role/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "role",
                "1"
              ]
            },
            "description": "Aggiornamento nome ruolo.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"moderatore-senior\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /role/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/role/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "role",
                "1"
              ]
            },
            "description": "Eliminazione ruolo."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Aziende (companies)",
      "item": [
        {
          "name": "GET /companies",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/companies",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "companies"
              ]
            },
            "description": "Elenco aziende."
          },
          "response": []
        },
        {
          "name": "GET /company/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company",
                "1"
              ]
            },
            "description": "Dettaglio azienda."
          },
          "response": []
        },
        {
          "name": "GET /company/{id}/vehicles",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company/1/vehicles",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company",
                "1",
                "vehicles"
              ]
            },
            "description": "Veicoli di proprietà dell’azienda (dialogo companies → vehicols)."
          },
          "response": []
        },
        {
          "name": "POST /company",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company"
              ]
            },
            "description": "Creazione azienda.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"uid\": 1,\n  \"bizname\": \"Rossi Auto Srl\",\n  \"fiscalcode\": \"IT01234567890\",\n  \"hqAddress\": \"Via Roma 1\",\n  \"hqProv\": \"MI\",\n  \"hqCity\": \"Milano\",\n  \"hqNation\": \"IT\",\n  \"email\": \"info@rossiauto.it\",\n  \"pec\": \"rossiauto@pec.it\",\n  \"tel\": \"0212345678\",\n  \"sdi\": \"ABCDEFG\",\n  \"npkCode\": null,\n  \"passKey\": 123456\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /company/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company",
                "1"
              ]
            },
            "description": "Aggiornamento azienda (campi opzionali).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"bizname\": \"Rossi Auto Srl\",\n  \"fiscalcode\": null,\n  \"hqAddress\": null,\n  \"hqProv\": null,\n  \"hqCity\": null,\n  \"hqNation\": null,\n  \"email\": null,\n  \"pec\": null,\n  \"tel\": null,\n  \"sdi\": null,\n  \"npkCode\": null,\n  \"passKey\": null\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /company/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/company/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "company",
                "1"
              ]
            },
            "description": "Eliminazione azienda."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Aste (auctions)",
      "item": [
        {
          "name": "GET /auctions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auctions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auctions"
              ]
            },
            "description": "Elenco aste."
          },
          "response": []
        },
        {
          "name": "GET /auction/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auction/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auction",
                "1"
              ]
            },
            "description": "Dettaglio asta."
          },
          "response": []
        },
        {
          "name": "GET /auction/{id}/bids",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auction/1/bids",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auction",
                "1",
                "bids"
              ]
            },
            "description": "Offerte ricevute su questa asta (dialogo auctions → auction_bids)."
          },
          "response": []
        },
        {
          "name": "GET /auction/{id}/autobids",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auction/1/autobids",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auction",
                "1",
                "autobids"
              ]
            },
            "description": "Offerte automatiche impostate su questa asta (dialogo auctions → auction_autobids)."
          },
          "response": []
        },
        {
          "name": "GET /auction/{id}/vehicles",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auction/1/vehicles",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auction",
                "1",
                "vehicles"
              ]
            },
            "description": "Veicoli assegnati a questa asta (dialogo auctions → vehicols)."
          },
          "response": []
        },
        {
          "name": "POST /auction",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auction",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auction"
              ]
            },
            "description": "Creazione asta.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"dtStart\": \"2026-10-01T09:00:00Z\",\n  \"dtEnd\": \"2026-10-01T18:00:00Z\",\n  \"extraTime\": 5,\n  \"status\": \"D\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "POST /auction/{id}/bid",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auction/1/bid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auction",
                "1",
                "bid"
              ]
            },
            "description": "Piazza un’offerta sull’asta per conto dell’utente autenticato (dialogo auctions → auction_bids).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vid\": 1,\n  \"bidValue\": 15000\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "POST /auction/{id}/autobid",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auction/1/autobid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auction",
                "1",
                "autobid"
              ]
            },
            "description": "Imposta un’offerta automatica sull’asta per conto dell’utente autenticato (dialogo auctions → auction_autobids).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vid\": 1,\n  \"bidMaxvalue\": 18000\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /auction/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auction/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auction",
                "1"
              ]
            },
            "description": "Aggiornamento asta (campi opzionali).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"dtStart\": null,\n  \"dtEnd\": null,\n  \"extraTime\": 10,\n  \"status\": \"A\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /auction/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auction/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auction",
                "1"
              ]
            },
            "description": "Eliminazione asta."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Offerte asta (auction_bids)",
      "item": [
        {
          "name": "GET /auctionbids",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auctionbids",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auctionbids"
              ]
            },
            "description": "Elenco offerte."
          },
          "response": []
        },
        {
          "name": "GET /auctionbid/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auctionbid/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auctionbid",
                "1"
              ]
            },
            "description": "Dettaglio offerta."
          },
          "response": []
        },
        {
          "name": "POST /auctionbid",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auctionbid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auctionbid"
              ]
            },
            "description": "Creazione diretta di un’offerta (in alternativa a POST /auction/{id}/bid).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"uid\": 1,\n  \"aid\": 1,\n  \"vid\": 1,\n  \"bidValue\": 15500\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /auctionbid/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auctionbid/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auctionbid",
                "1"
              ]
            },
            "description": "Aggiornamento importo offerta.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"bidValue\": 16000\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /auctionbid/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auctionbid/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auctionbid",
                "1"
              ]
            },
            "description": "Eliminazione offerta."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Offerte automatiche (auction_autobids)",
      "item": [
        {
          "name": "GET /auctionautobids",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auctionautobids",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auctionautobids"
              ]
            },
            "description": "Elenco offerte automatiche."
          },
          "response": []
        },
        {
          "name": "GET /auctionautobid/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auctionautobid/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auctionautobid",
                "1"
              ]
            },
            "description": "Dettaglio offerta automatica."
          },
          "response": []
        },
        {
          "name": "POST /auctionautobid",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auctionautobid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auctionautobid"
              ]
            },
            "description": "Creazione diretta di un’offerta automatica.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"uid\": 1,\n  \"aid\": 1,\n  \"vid\": 1,\n  \"bidMaxvalue\": 18500\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /auctionautobid/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auctionautobid/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auctionautobid",
                "1"
              ]
            },
            "description": "Aggiornamento tetto massimo offerta automatica.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"bidMaxvalue\": 19000\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /auctionautobid/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/auctionautobid/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "auctionautobid",
                "1"
              ]
            },
            "description": "Eliminazione offerta automatica."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Veicoli (vehicols)",
      "item": [
        {
          "name": "GET /vehicles",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicles",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicles"
              ]
            },
            "description": "Elenco veicoli."
          },
          "response": []
        },
        {
          "name": "GET /vehicle/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicle/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicle",
                "1"
              ]
            },
            "description": "Dettaglio veicolo."
          },
          "response": []
        },
        {
          "name": "GET /vehicle/{id}/images",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicle/1/images",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicle",
                "1",
                "images"
              ]
            },
            "description": "Immagini del veicolo (dialogo vehicols → vehicols_images)."
          },
          "response": []
        },
        {
          "name": "GET /vehicle/{id}/defects",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicle/1/defects",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicle",
                "1",
                "defects"
              ]
            },
            "description": "Difetti rilevati sul veicolo (dialogo vehicols → vehicols_defects)."
          },
          "response": []
        },
        {
          "name": "GET /vehicle/{id}/qcr",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicle/1/qcr",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicle",
                "1",
                "qcr"
              ]
            },
            "description": "Check-up qualità/condizione del veicolo (dialogo vehicols → vehicol_qcr)."
          },
          "response": []
        },
        {
          "name": "POST /vehicle",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicle",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicle"
              ]
            },
            "description": "Creazione veicolo.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"cid\": null,\n  \"bid\": 1,\n  \"mid\": 1,\n  \"fid\": 1,\n  \"km\": 45000,\n  \"targa\": \"AB123CD\",\n  \"vin\": \"WVWZZZ1JZXW000001\",\n  \"priceBase\": 12000,\n  \"priceReserved\": 13500,\n  \"barter\": 0,\n  \"isReady\": 1,\n  \"inAuction\": 0,\n  \"aid\": null\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /vehicle/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicle/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicle",
                "1"
              ]
            },
            "description": "Aggiornamento veicolo (campi opzionali).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"cid\": null,\n  \"bid\": null,\n  \"mid\": null,\n  \"fid\": null,\n  \"km\": 46000,\n  \"targa\": null,\n  \"vin\": null,\n  \"priceBase\": null,\n  \"priceReserved\": null,\n  \"barter\": null,\n  \"isReady\": null,\n  \"inAuction\": null,\n  \"aid\": null\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /vehicle/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicle/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicle",
                "1"
              ]
            },
            "description": "Eliminazione veicolo."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Marche veicolo (vehicols_brands)",
      "item": [
        {
          "name": "GET /vehiclebrands",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclebrands",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclebrands"
              ]
            },
            "description": "Elenco marche."
          },
          "response": []
        },
        {
          "name": "GET /vehiclebrand/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclebrand/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclebrand",
                "1"
              ]
            },
            "description": "Dettaglio marca."
          },
          "response": []
        },
        {
          "name": "GET /vehiclebrand/{id}/models",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclebrand/1/models",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclebrand",
                "1",
                "models"
              ]
            },
            "description": "Modelli di questa marca (dialogo vehicols_brands → vehicols_models)."
          },
          "response": []
        },
        {
          "name": "POST /vehiclebrand",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclebrand",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclebrand"
              ]
            },
            "description": "Creazione marca.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Volkswagen\",\n  \"picPath\": \"/images/brands/vw.png\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /vehiclebrand/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclebrand/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclebrand",
                "1"
              ]
            },
            "description": "Aggiornamento marca.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Volkswagen\",\n  \"picPath\": null\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /vehiclebrand/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclebrand/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclebrand",
                "1"
              ]
            },
            "description": "Eliminazione marca."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Modelli veicolo (vehicols_models)",
      "item": [
        {
          "name": "GET /vehiclemodels",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclemodels",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclemodels"
              ]
            },
            "description": "Elenco modelli."
          },
          "response": []
        },
        {
          "name": "GET /vehiclemodel/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclemodel/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclemodel",
                "1"
              ]
            },
            "description": "Dettaglio modello."
          },
          "response": []
        },
        {
          "name": "POST /vehiclemodel",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclemodel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclemodel"
              ]
            },
            "description": "Creazione modello.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"bid\": 1,\n  \"name\": \"Golf\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /vehiclemodel/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclemodel/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclemodel",
                "1"
              ]
            },
            "description": "Aggiornamento modello.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"bid\": null,\n  \"name\": \"Golf GTI\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /vehiclemodel/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclemodel/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclemodel",
                "1"
              ]
            },
            "description": "Eliminazione modello."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Alimentazioni (vehicols_fuels)",
      "item": [
        {
          "name": "GET /vehiclefuels",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclefuels",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclefuels"
              ]
            },
            "description": "Elenco alimentazioni."
          },
          "response": []
        },
        {
          "name": "GET /vehiclefuel/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclefuel/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclefuel",
                "1"
              ]
            },
            "description": "Dettaglio alimentazione."
          },
          "response": []
        },
        {
          "name": "POST /vehiclefuel",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclefuel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclefuel"
              ]
            },
            "description": "Creazione alimentazione (id assegnato manualmente).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 9,\n  \"name\": \"Idrogeno\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /vehiclefuel/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclefuel/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclefuel",
                "1"
              ]
            },
            "description": "Aggiornamento nome alimentazione.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"Idrogeno (fuel cell)\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /vehiclefuel/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehiclefuel/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehiclefuel",
                "1"
              ]
            },
            "description": "Eliminazione alimentazione."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Immagini veicolo (vehicols_images)",
      "item": [
        {
          "name": "GET /vehicleimages",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicleimages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicleimages"
              ]
            },
            "description": "Elenco immagini."
          },
          "response": []
        },
        {
          "name": "GET /vehicleimage/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicleimage/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicleimage",
                "1"
              ]
            },
            "description": "Dettaglio immagine."
          },
          "response": []
        },
        {
          "name": "POST /vehicleimage",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicleimage",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicleimage"
              ]
            },
            "description": "Creazione immagine.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vid\": 1,\n  \"picPath\": \"/uploads/vehicles/1/front.jpg\",\n  \"prettyName\": \"Fronte\",\n  \"ext\": \"jpg\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /vehicleimage/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicleimage/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicleimage",
                "1"
              ]
            },
            "description": "Aggiornamento immagine.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"picPath\": null,\n  \"prettyName\": \"Fronte auto\",\n  \"ext\": null\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /vehicleimage/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicleimage/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicleimage",
                "1"
              ]
            },
            "description": "Eliminazione immagine."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Difetti veicolo (vehicols_defects)",
      "item": [
        {
          "name": "GET /vehicledefects",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicledefects",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicledefects"
              ]
            },
            "description": "Elenco difetti."
          },
          "response": []
        },
        {
          "name": "GET /vehicledefect/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicledefect/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicledefect",
                "1"
              ]
            },
            "description": "Dettaglio difetto."
          },
          "response": []
        },
        {
          "name": "POST /vehicledefect",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicledefect",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicledefect"
              ]
            },
            "description": "Creazione difetto (vehicolPart: F/R/L, defectType: 1/2/3).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vid\": 1,\n  \"idqcr\": 1,\n  \"vehicolPart\": \"F\",\n  \"defectType\": \"2\",\n  \"x\": 120,\n  \"y\": 80\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /vehicledefect/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicledefect/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicledefect",
                "1"
              ]
            },
            "description": "Aggiornamento difetto.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"idqcr\": null,\n  \"vehicolPart\": null,\n  \"defectType\": \"3\",\n  \"x\": null,\n  \"y\": null\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /vehicledefect/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicledefect/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicledefect",
                "1"
              ]
            },
            "description": "Eliminazione difetto."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Check-up qualità (vehicol_qcr)",
      "item": [
        {
          "name": "GET /vehicleqcrs",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicleqcrs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicleqcrs"
              ]
            },
            "description": "Elenco check-up."
          },
          "response": []
        },
        {
          "name": "GET /vehicleqcr/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicleqcr/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicleqcr",
                "1"
              ]
            },
            "description": "Dettaglio check-up."
          },
          "response": []
        },
        {
          "name": "POST /vehicleqcr",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicleqcr",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicleqcr"
              ]
            },
            "description": "Creazione check-up qualità (56 voci 0-100 + radioCode/startCode/jack).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"vid\": 1,\n  \"warningLights\": 90,\n  \"frontendNoises\": 90,\n  \"rearendNoises\": 90,\n  \"compliantWheels\": 90,\n  \"oilLeaks\": 90,\n  \"waterLeaks\": 90,\n  \"vehicleRegistrationDocument\": 90,\n  \"certificateOfOwnership\": 90,\n  \"roadTax\": 90,\n  \"serviceBook\": 90,\n  \"keys\": 90,\n  \"radioCode\": \"AB1234\",\n  \"startCode\": \"CD5678\",\n  \"warningTriangle\": 90,\n  \"spareWheel\": 90,\n  \"jack\": \"OK\",\n  \"vatIncluded\": 90,\n  \"marginScheme\": 90,\n  \"maintenancePerformed\": 90,\n  \"engine\": 90,\n  \"gearbox\": 90,\n  \"forcedInduction\": 90,\n  \"starter\": 90,\n  \"ignition\": 90,\n  \"climateControl\": 90,\n  \"timingSystem\": 90,\n  \"driveBelts\": 90,\n  \"fuelSystem\": 90,\n  \"audioVideoSystems\": 90,\n  \"safetySystems\": 90,\n  \"exhaustSystem\": 90,\n  \"engineCooling\": 90,\n  \"exhaustTract\": 90,\n  \"transmissionSystem\": 90,\n  \"clutches\": 90,\n  \"electronicControlUnits\": 90,\n  \"steering\": 90,\n  \"controlArms\": 90,\n  \"suspension\": 90,\n  \"rims\": 90,\n  \"tires\": 90,\n  \"brakingSystem\": 90,\n  \"lightingSystem\": 90,\n  \"windshield\": 90,\n  \"windowRegulators\": 90,\n  \"bodyWork\": 90,\n  \"paintwork\": 90,\n  \"upholstery\": 90,\n  \"seats\": 90,\n  \"sunroof\": 90,\n  \"electricSoftTop\": 90,\n  \"tireRepairKit\": 90,\n  \"airbags\": 90,\n  \"routineMaintenance\": 90,\n  \"majorMaintenance\": 90,\n  \"other\": 90\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /vehicleqcr/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicleqcr/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicleqcr",
                "1"
              ]
            },
            "description": "Aggiornamento check-up (tutti i campi opzionali).",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"warningLights\": 90,\n  \"frontendNoises\": 90,\n  \"rearendNoises\": 90,\n  \"compliantWheels\": 90,\n  \"oilLeaks\": 90,\n  \"waterLeaks\": 90,\n  \"vehicleRegistrationDocument\": 90,\n  \"certificateOfOwnership\": 90,\n  \"roadTax\": 90,\n  \"serviceBook\": 90,\n  \"keys\": 90,\n  \"radioCode\": \"AB1234\",\n  \"startCode\": \"CD5678\",\n  \"warningTriangle\": 90,\n  \"spareWheel\": 90,\n  \"jack\": \"OK\",\n  \"vatIncluded\": 90,\n  \"marginScheme\": 90,\n  \"maintenancePerformed\": 90,\n  \"engine\": 90,\n  \"gearbox\": 90,\n  \"forcedInduction\": 90,\n  \"starter\": 90,\n  \"ignition\": 90,\n  \"climateControl\": 90,\n  \"timingSystem\": 90,\n  \"driveBelts\": 90,\n  \"fuelSystem\": 90,\n  \"audioVideoSystems\": 90,\n  \"safetySystems\": 90,\n  \"exhaustSystem\": 90,\n  \"engineCooling\": 90,\n  \"exhaustTract\": 90,\n  \"transmissionSystem\": 90,\n  \"clutches\": 90,\n  \"electronicControlUnits\": 90,\n  \"steering\": 90,\n  \"controlArms\": 90,\n  \"suspension\": 90,\n  \"rims\": 90,\n  \"tires\": 90,\n  \"brakingSystem\": 90,\n  \"lightingSystem\": 90,\n  \"windshield\": 90,\n  \"windowRegulators\": 90,\n  \"bodyWork\": 90,\n  \"paintwork\": 90,\n  \"upholstery\": 90,\n  \"seats\": 90,\n  \"sunroof\": 90,\n  \"electricSoftTop\": 90,\n  \"tireRepairKit\": 90,\n  \"airbags\": 90,\n  \"routineMaintenance\": 90,\n  \"majorMaintenance\": 90,\n  \"other\": 90\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /vehicleqcr/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/vehicleqcr/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "vehicleqcr",
                "1"
              ]
            },
            "description": "Eliminazione check-up."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Log applicativi (applog)",
      "item": [
        {
          "name": "GET /applogs",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/applogs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "applogs"
              ]
            },
            "description": "Elenco log (scritti automaticamente dal sistema ad ogni operazione di scrittura sulle altre entità)."
          },
          "response": []
        },
        {
          "name": "GET /applog/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/applog/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "applog",
                "1"
              ]
            },
            "description": "Dettaglio log."
          },
          "response": []
        },
        {
          "name": "POST /applog",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/applog",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "applog"
              ]
            },
            "description": "Creazione manuale di un log.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"uid\": 1,\n  \"tableName\": \"custom\",\n  \"action\": \"Nota manuale inserita da amministratore.\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "PUT /applog/{id}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/applog/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "applog",
                "1"
              ]
            },
            "description": "Aggiornamento log.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tableName\": null,\n  \"action\": \"Nota corretta.\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "DELETE /applog/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/applog/1",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "applog",
                "1"
              ]
            },
            "description": "Eliminazione log."
          },
          "response": []
        }
      ]
    }
  ]
}