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/all/:company_id

GET
/vehicles/all/{company_id}
questa route ottiene tutti i dati di tutti i veicoli di una determinata company

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

Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://tender.whyb.it:8443/v1/vehicles/all/67a332b472f1558bf831d14d' \
--header 'Authorization: Bearer <token>'
Response Response Example
[
    {
        "_id": "string",
        "plate": "string",
        "adr": {
            "is": true,
            "details": "string"
        },
        "body": {
            "type": "telonato",
            "details": true
        },
        "brand": "string",
        "capi_appesi": {
            "is": true,
            "details": "string"
        },
        "cinghie": true,
        "driver": "string",
        "european_standard": "eur1",
        "fuel_type": "gasoline",
        "gps": true,
        "height": 0,
        "length": 0,
        "max_pallets": 0,
        "max_payload": 0,
        "model": "string",
        "phone_nr": "string",
        "production_year": "string",
        "sigillabile": true,
        "sponda_idraulica": true,
        "width": 0
    }
]
Modified at 2025-05-22 14:18:06
Previous
/vehicles/id/:id
Next
/vehicles/update/:id
Built with