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/update/:id

PUT
/vehicles/update/{id}
Route per l'aggiornamento delle specifiche di un veicolo

Request

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

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟢200ResultOfUpdates
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://tender.whyb.it:8443/v1/vehicles/update/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "company_id": "66f28782181daa1f38da8961",
    "car": {
        "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
    }
}'
Response Response Example
200 - Example 1
{}
Modified at 2025-05-22 14:18:39
Previous
/vehicles/all/:company_id
Next
/companies/create
Built with