CreateLog
Create a log entry in the MDT.
Paramters:
type
(string
): The type of entity being logged. Possible values:citizens
,incidents
,reports
,evidence
,vehicles
,warrants
,bolos
,weapons
andcameras
.action
(string
): The action performed. Possible values:create
,update
anddelete
.author_stateid
(string
): The state ID of the author (matchesdrx_mdt_officers.stateid
).
Returns:
logId
(number
): The unique ID of the created log entry (drx_mdt_logs.id
).
Last updated
Was this helpful?