Skip to main content

Veritran Docs

[en] ReadRecords

[en] This function allows you to retrieve the event logs saved to the database.

[en] Parameter Configuration

[en] This function requires the configuration of the IDs that will filter the range of event logs to be read. If no filtering IDs are set, all logs saved to the database will be read. Refer to the Input Registers section to learn more.

[en] Function ID

[en] Register

[en] Value

110

2

[en] Input Registers

[en] Register

[en] Description

[en] Mandatory

[en] Value

390

[en] Record row separator. You can choose a character or word as a row separator for each event log

[en] No

[en] Default separator: ";"

391

[en] From ID

[en] No

[en] For example: 1200

392

[en] To ID

[en] No

[en] For example: 1400

393

[en] Record results order

[en] No

[en] ASC (ascending) or DESC (descending). The default value is DESC.

[en] Output Registers

[en] Register

[en] Description

[en] Value

112

[en] Call result

000

[en] NO_ERROR

001

[en] NO_RECORDS_FOUND

010

[en] INITIALIZE_DATABASE_ERROR

290

[en] Event logs result

[en] For example: 55****4571/-1/20210824 09:52:00/1629816720000| INITIATE | APP_SESSION| 0037671621/0| 20210824 09:54:00/1629816840000| CLOSE | APP_SESSION | INACTIVITY

291

[en] Last event log ID

[en] For example: 1234