Create Advanced Vehicle
This endpoint allows you to create a vehicle with miscellaneous information.
This endpoint requires an Advanced ImperialCAD subscription or higher.
CreateAdvancedVehicle(data, callback)
POST https://imperialcad.app/api/1.1/wf/createadvancedvehicle
Request Body
Vehicle Data = []
ssn
string
Social Security Number of Civilian
plate
string
License Plate
model
string
Model
color
string
Color
year
string
Year
make
string
Make
regState
string
Registration State
regStatus
string
Registration Status
regExpDate
string
Registration Expiration Date
vin
string
VIN (Vehicle Identification Number)
stolen
boolean
Is Vehicle Stolen?
vehicleInsurance = []
hasInsurance
boolean
Does vehicle have insurance?
insuranceStatus
string
Insurance Status
insurancePolicyNum
string
Insurance Policy Number
vehicleOwner = []
ownerSSN
string
Owner's Social Security Number
ownerFirstName
string
Owner's First Name
ownerLastName
string
Owner's Last Name
ownerGender
string
Owner's Gender
ownerAddress
string
Owner's Address
ownerCity
string
Owner's City
exports["ImperialCAD"]:CreateVehicleAdvanced({
vehicleData = {
plate = "XYZ123",
model = "Sultan RS",
Make = "Karin",
color = "Gray",
year = "2021",
regState = "SA",
regStatus = "Valid",
regExpDate = "2025-05-01",
vin = "1HGCM82633A004352",
stolen = false
},
vehicleInsurance = {
hasInsurance = true,
insuranceStatus = "Active",
insurancePolicyNum = "INS234"
},
vehicleOwner = {
ownerSSN = "JD321",
ownerFirstName = "Jane",
ownerLastName = "Smith",
ownerGender = "Female",
ownerAddress = "123 Main St",
ownerCity = "Los Santos"
}
}, function(success, res)
if success then print("Vehicle registered.") else print("Failed:", res) end
end){
"status": "success",
"response": {
"charid": "JD321",
"name": "Jane A Smith",
"ssn": "123456789",
"age": "35",
"address": "000 No Where Rd"
}
}Last updated
Was this helpful?