Lookup Name Or Plate
Search records by name or plate values.
Request Body
{
"first": "John",
"last": "Doe",
"mi": "",
"plate": "",
"notifyCommunityUserId": "player-1234",
"types": [7, 12],
"partial": true
}Example Request
-- luarocks install sonoran.lua
local Sonoran = require("sonoran")
local sonoran = Sonoran.createClient({
product = Sonoran.productEnums.CAD,
communityId = "YOUR_COMMUNITY_ID",
apiKey = "YOUR_API_KEY",
defaultServerId = 1
})
local response = sonoran.cad:lookupV2({
first = 'John',
last = 'Doe',
mi = 'A',
plate = 'ABC123',
types = {1},
partial = true,
})
-- Inspect response.success, response.data, or response.reason as needed.
print(response.success)Response
Last updated
Was this helpful?

