You can use this endpoint to retrieve set of logs from a range of id's from our software.
|p_companyID||string||Yes||The security code you have been provided with, string (32)|
|p_exportIdFrom||string||Yes||The string first unique scanId|
|p_exportIdTo||string||Yes||The last unique scanId|
|p_timeregistrationModules||string||No||We can filter the logs made only on timeregistration modules by setting the value 1. Default value is 0 which means that we collect all the logs and not just from the timeregistration modules|
getLogsObjectArray (array), containing structs (arrays) of getLogsObject with the following keys:
|scanID||integer||The id of from the module_logs table, the id of the actual scan|
|Terminal||string||On which device (serial number) the action has been taken place on - this field is also used to return possible error message when the case|
|TerminalKey||string||What type of the action was: IN, OUT, DUTY IN, DUTY OUT, TNA_1, TNA_2, TNA_3, TNA_4|
|UserID||string||To which user the action is related to|
|Time||string||When the action took place, datetime formatted string (yyyy-mm-dd hh:ii:ss)|
|LocationId||integer||The id of the location where the event occured|
|LocationName||string||The name of the location|
|Success||integer||1 in case of identify OK, else 0 (Access Not Granted, Verify Fail)|
|Terminal Name||string||On which device (module name) the action has been taken place on|
|LogText||string||The text of the log. Can be one of the following:
In case of succes: Identify Success, Verify Success, Identify Duress, Verify Duress, Access Excused APB, Access Excused Timed APB, Access granted, Verify Success LPN, Verify Mobile Card.
In case of fail: Identify Fail, Verify Fail, Identify Not Granted, Verify Not Granted, Identify Disabled, Access Not Granted, Expired User, Access Denied APB, Access Denied Timed APB, Access denied, Verify Fail LPN, Access Denied Abnormal Temperature, Abnormal Temperature Detected.
Other: Battery low, Battery replaced, Lock jammed, System event, Internal error, Failed to unlock, Tampering detected, Blacklisted credential detected, Blacklist full.
In case there is no result set to be returned, we send a "-1 NO RECORD" message in the Terminal field.