Create Vehicle
Create new vehicle.
Business rules:
- IDempresa set from user's company
- Ponto_de_venda set from user's PV if not provided
- Dataentr defaults to now
- Quadro must be unique within open vehicles
Headers
Request body
Primary license plate
Secondary license plate (national)
Primary license plate country code
Secondary license plate country code
VIN/Chassis number
Brand ID (FK to MarcasViatura)
Model ID (FK to ModelosViatura)
Version/Trim
Mileage in kilometers
Engine code
Engine displacement (cc)
Power (HP or kW)
Fuel type ID (FK to CombustivelViatura)
Gearbox ID (FK to CaixaVelocidadesViatura)
Color ID (FK to CoresViatura)
Number of seats (FK to LugaresViatura)
Number of doors (FK to PortasViatura)
Weight in kg
Segment/Type ID (FK to TipoViatura)
Subsegment ID (FK to Subsegmentos)
State ID (1=new, 2=sold, 3=reserved, 4=to close)
Sale price
Stamp tax value
VAT regime ID (FK to RegimeIva)
Entry date
First registration date
Import date
National registration date
Inspection validity date
Supplier ID (FK to Cliente)
Point of sale ID (FK to PontosDeVenda)
Company ID - auto-set from authenticated user
Current physical park location (FK to Z_ParkLocations). Required when the vehicle is created with localizacao=0 (em parque). Validated at route layer to belong to the same company.
Consigned vehicle
Loaned vehicle
Insured
Imported
Shared stock
Hidden from listings
Closed
Close date
Photos JSON or CSV
S3 bucket URL for main photo
Observations/Notes
EasyData ID
EasyData state
External reference
Integrazu version ID
Integrazu gearbox type ID
Integrazu gearbox shift ID
Integrazu section ID
Second-key status
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.