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 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)|
In case there is no result set to be returned, we send a "-1 NO RECORD" message in the Terminal field.