You can use this endpoint to retrieve set of logs from our software.
Name | Type | Required | Description |
---|---|---|---|
p_companyID | string | Yes | The security code you have been provided with, string (32) |
p_exportTimeFrom | string | Yes | The start of the periode, datetime formatted string (yyyy-mm-dd hh:ii:ss) |
p_exportTimeTo | string | Yes | The end of the periode, datetime formatted string (yyyy-mm-dd hh:ii:ss) |
p_locationId | integer | No | If provided we retrieve the logs for that specific location |
p_userId | integer | No | If provided we retrieve the logs for that specific user |
getTravelTimesObjectArray (array), containing structs (arrays) of getTravelTimesObject with the following keys:
Name | Type | Description |
---|---|---|
UserID | integer | The id of from the users table, the id of the user |
Firstname | string | The firstname of the user |
Lastname | string | The lastname of the user |
StartTravelTime | integer | The time of the start travel time, datetime formatted string (yyyy-mm-dd hh:ii:ss) |
StartLocationId | string | On which location id the Start travel action has been made |
StartLocationName | string | On which location the Start travel action has been made |
StartTerminal | string | On which module the Start travel action has been made (serial_number) - this field is also used to return possible error message when the case |
StartTerminalName | integer | On which module the Start travel action has been made (name) |
EndTravelTime | string | The time of the end travel time, datetime formatted string (yyyy-mm-dd hh:ii:ss) |
EndLocationId | integer | On which location id the End travel action has been made |
EndLocationName | integer | On which location the End travel action has been made |
EndTerminal | integer | On which module the End travel action has been made (serial_number) |
EndTerminalName | integer | On which module the End travel action has been made (name) |
NOTE 1*:
In case there is no result set to be returned, we send a "-1 NO RECORD" message in the Terminal field.
NOTE 2*:
In case there is > 4000 records to be returned by our wsdl, we display a warning message in the Terminal field, asking the user to use a smaller time frame to filter the logs.
Sample
Response