Skip to main content

Veritran Docs

ReadRecords

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

Parameter Configuration

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.

Function ID

Register

Value

110

2

Input Registers

Register

Description

Mandatory

Value

390

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

No

Default separator: ";"

391

From ID

No

For example: 1200

392

To ID

No

For example: 1400

393

Record results order

No

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

Output Registers

Register

Description

Value

112

Call result

000

NO_ERROR

001

NO_RECORDS_FOUND

010

INITIALIZE_DATABASE_ERROR

290

Event logs result

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

Last event log ID

For example: 1234