Register Vehicle
This endpoint allows you to create a vehicle.
CreateVehicle(data, callback)
POST https://imperialcad.app/api/1.1/wf/registerVehicle
Request Body
Name
Type
Description
ssn
string
Social Security Number of Civilian
plate
string
License Plate
vehicleModel
string
Model
color
string
Color
year
string
Year
make
string
Make
exports["ImperialCAD"]:CreateVehicle({
ssn = "JD321",
plate = "ABC123",
vehicleModel = "Charger",
color = "Black",
year = "2022",
make = "Dodge"
}, function(success, res)
if success then print("Vehicle registered.") else print("❌ Failed:", res) end
end){
"status": "success",
"response": {
"vin": "Z57SM7X7WKLW8AM0Z"
}
}Last updated