Skip to main content

Veritran Docs

Write Record

This function allows you to manually configure events to be logged to the database.

Parameter Configuration

This function requires the configuration of the user that triggers the event, the action to be logged and its details. Refer to the Input Registers section to learn more.

Function ID

Register

Value

110

4

Input Registers

Register

Description

Mandatory

Value

390

User that triggers the event

Yes

STRING

For example: 55****4571

391

Type of event to be logged

Yes

STRING

For example: CONNECTION

392

What happens in the event to be logged

Yes

STRING

For example: APP_SESSION_INITIATED

393

Additional event details

No

STRING

For example: 20230224 09:54:00

Output Registers

Register

Description

Value

112

Call result

000

NO_ERROR

001

GENERIC_ERROR

002

WRONG_PARAMETERS_ERROR

010

INITIALIZE_DATABASE_ERROR

290

Register added

For example: 0037671621/0| 20210824 09:54:00/1629816840000| CLOSE | APP_SESSION | INACTIVITY

291

Event log ID added

For example: 1234