Skip to main content

Create Vehicle

POST 

http://localhost:8080/vehicles

Create one vehicle

Request

Header Parameters

    Authorization stringrequired

    Token de Auth del Usuario

Body

Info relative to the vehicle

    cargo_type stringrequired
    fresh_cargo_temp stringrequired
    vehicle_type stringrequired
    plate stringrequired
    shipping_type stringrequired
    itv object
    image object

Responses

OK

Schema
    status integer
    data object
    cargo_type string[]
    vehicle_type string
    image string
    itv string
    shipping_type string
    _id string
    deleted boolean
    fresh_cargo_temp integer
    plate string
    createdAt string
    updatedAt string
curl -L -X POST 'http://localhost:8080/vehicles' \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json'
Request Collapse all
Base URL
http://localhost:8080
Parameters
— headerrequired
Body
required
required
required
required
required
ResponseClear

Click the Send API Request button above and see the response here!