BaseTender
  1. Vehicles
BaseTender
  • Documentazione
  • Auth
    • auth
      POST
  • Vehicles
    • /vehicles/plate/:plate
      GET
    • /vehicles/id/:id
      GET
    • /vehicles/all/:company_id
      GET
    • /vehicles/update/:id
      PUT
  • Companies
    • /companies/create
      POST
  • Users
    • /users/create
      POST
    • /users/createResetOauthPw
      POST
    • /users/resetOauthPw
      POST
    • /users/resetLegacyPw
      POST
  • Trips
    • /trips/all/:company_id/:user_id
      GET
    • /trips/mine/:company_id
      GET
    • /trips/quoted/:company_id
      GET
    • /trips/:id/set/status/:status
      POST
    • /trips/details/:id/:company_id
      GET
    • /trips/all_data/:trip_id
      GET
    • /trips/add
      POST
  • Offers
    • /offers/:id/set/status/:status
      POST
    • /offers/:id/set/offer_business/:offer
      POST
    • offers/:trip_id
      GET
  • Invoices
    • /invoices/mine/:company_id
      GET
    • /invoices/send
      POST
    • /invoices/documents/:trip_id/:type?
      GET
    • /invoices/documents/insert
      POST
    • /invoices/documents/delete/:document_id
      DELETE
  1. Vehicles

/vehicles/plate/:plate

GET
/vehicles/plate/{plate}
Route che recupera i dati del veicolo utilizzando la targa come chiave di ricerca

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Responses

🟢200Success
application/json
Body

🟢200VehicleSchema
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://tender.whyb.it:8443/v1/vehicles/plate/FC365NN' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "_id": "681481590037f05237fe117e",
    "plate": "FC365NN",
    "adr": {
        "is": true,
        "details": "a59"
    },
    "body": {
        "type": "telonato",
        "details": true
    },
    "brand": "Opel",
    "capi_appesi": {
        "is": true,
        "details": "2"
    },
    "cinghie": true,
    "driver": "Sebastian Hriscu",
    "european_standard": "eur5",
    "fuel_type": "gasoline",
    "gps": true,
    "height": 110,
    "length": 150,
    "max_pallets": 0,
    "max_payload": 100,
    "model": "Corsa",
    "phone_nr": "3345982453",
    "production_year": "2011",
    "sigillabile": true,
    "sponda_idraulica": true,
    "width": 90
}
Modified at 2025-05-22 14:17:04
Previous
auth
Next
/vehicles/id/:id
Built with