Create Advanced Character
This endpoint allows you to create a character with miscellaneous information.
This endpoint requires an Advanced ImperialCAD subscription or higher.
CreateAdvancedCharacter(data, callback)
POST https://imperialcad.app/api/1.1/wf/createadvancedcharacter
Request Body
users_discordID
string
Discord ID of user
Fname
string
First Name
Mname
string
Middle Name
Lname
string
Last Name
Birthdate
string
Date of Birth
gender
string
Gender
race
string
Race
hairC
string
Hair Color
eyeC
string
Eye Color
height
string
Height
weight
string
Weight
postal
string
Postal
address
string
Street Name
city
string
City
county
string
County
phonenum
string
Phone Number
dlstatus
string
Driver's License Status
citizenid
string
Unique Character ID
licensedetails = [
hasBoatLic
boolean
Has boating license?
hasCDL
boolean
Has commercial driver's license?
CDLNumber
string
Commercial driver's license number
CDLStatus
string
Commercial driver's license status
hasDL
boolean
Has driver's license?
DLNumber
string
Driver's license number
DLStatus
string
Driver's license status
hasFirearmsCertification
boolean
Has Firearms Certifications?
hasFishLic
boolean
Has Fishing License?
hasHuntLic
boolean
Has Hunting License?
exports["ImperialCAD"]:NewCharacterAdvanced({
Fname = "Jane",
Mname = "A",
Lname = "Smith",
Birthdate = "1990-07-15",
gender = "Female",
race = "Hispanic",
hairC = "Blonde",
eyeC = "Green",
height = "5'7",
weight = "145",
postal = "404",
address = "555 Clinton Ave",
city = "Los Santos",
county = "Blaine",
state = "San Andreas",
phonenum = "5558881212",
licensedetails = {
hasBoatLic = false,
hasCDL = true,
CDLNumber = "CDL5678",
CDLStatus = "Valid",
hasDL = true,
DLNumber = "D7894561",
DLStatus = "Valid",
hasFirearmsCertification = true,
hasFishLic = true,
hasHuntLic = true
},
misc = {
missing = false
}
}, function(success, res)
if success then print("Advanced character created!") else print("Failed:", res) end
end){
"status": "success",
"response": {
"ssn": 684699354,
"DLN": "D7894561",
"age": 35,
"name": "Jane A Smith"
}
}Last updated
Was this helpful?