Create Vehicle

This endpoint allows you to create a vehicle.

CreateVehicle(data, callback)

POST https://imperialcad.app/api/1.1/wf/createvehicle


Request Body

Name
Type
Description

ssn

string

Social Security Number of Civilian

plate

string

License Plate

model

string

Model

color

string

Color

year

string

Year

make

string

Make


exports["ImperialCAD"]:CreateVehicle({
    ssn = "JD321",
    plate = "ABC123",
    model = "Charger",
    color = "Black",
    year = "2022",
    make = "Dodge"
  }, function(success, res)
    if success then print("Vehicle registered.") else print("❌ Failed:", res) end
end)

Last updated

Was this helpful?