- addClip
- addPerson
- deleteClip
- deletePerson
- downloadClip
- executeAction
- exportEvents
- exportVideoTag
- fillLayout
- genericEvent
- getActionList
- getCameraList
- getClips
- getDeviceList
- getDivaList
- getEvents
- getEventTypes
- getHardwareStatus
- getHistoricalImage
- getHistoricalImageData
- getImageSequence
- getLayoutList
- getLayoutStatus
- getLicensePlate
- getLiveImage
- getMacroList
- getMultiLayoutList
- getOptions
- getPersonFields
- getPersonList
- getPluginOptions
- getPosition
- getPresetImage
- getServerList
- getServerMacroList
- getServerOptions
- getServerStatus
- getStatusTypes
- getSystemStatus
- getVideoTagList
- getViewerMacroList
- gotoPreset
- grabLicensePlate
- holdPosition
- releaseVideoTag
- selectCamera
- selectLayout
- selectMultiLayout
- setAbsolutePosition
- setParameters
- setPlaybackDateTime
- setPlaybackSpeed
- setPreset
- setRelativePosition
- startPlayback
- startVideoTag
- stopPlayback
- stopVideoTag
- streamEvents
- streamStatus
- streamVideo
- updateClip
- updatePerson
- updateVideoTag
Note: This function requires an API license.
Update a person in the database. If an expiration date is given, the date will be checked and an error is returned if the date is not compatible.
Request
command=updatePerson&id=[UID]&firstname=[string]&lastname=[string]
Response
error code | description | remarks |
---|---|---|
0 | Ok | Ok, no error |
-4 | Invalid Timestamp | Invalid datetime format. See Timestamp. |
-18 | General error | An undefined error occured |
Changelog
- 2.6.1 – added