GetOfficerByBadgenumber
Retrieve detailed information about an officer using their badge number.
Paramters:
badgenumber
(string
): The badge number of the officer.
Returns:
officer
(table
ornil
): Returns a table with officer info if found, otherwisenil
. The table includes: -id
: (number
) -stateid
: (string
) -badgenumber
: (string
) -department_id
: (number
) -rank_id
: (number
) -suspended
: (boolean
) -image_url
: (string
ornil
) -roles
: (table
of role IDs)
Last updated
Was this helpful?