Skip to main content

Veritran Docs

SetupPushStructure

This function allows you to configure route IDs and tags to be recorded in the event logs for push notification events. You only need to configure it once, after defining the events that are automatically logged in the SetupEventRecordParameters function.

Parameter Configuration

This function requires the configuration of a JSON containing the route IDs and tags to be retrieved from the push message and recorded into the event log. Refer to the Input Registers section to learn more.

Function ID

Register

Value

110

5

Input Registers

Register

Description

Mandatory

Value

390

JSON containing the route IDs and tags to be retrieved from the push message and recorded into the event log.

If no information associated to the IDs or tags defined in the JSON is found in the push message, the expressions ID_NOT_FOUND and TAG_NOT_FOUND will be recorded into the event log respectively.

Yes

For example:

{
    "push_structures": [
        {
            "route_id": "reqpay.cr",
            "tag": "N_RES_VAL_CTA"
        },
        {
            "route_id": "reqreq.cr",
            "tag": "N_REQ"
        },
        {
            "route_id": "balance.cr",
            "tag": "N_QUOTA"
        }
    ]
}
Output Registers

Register

Description

Value

112

Call result

000

NO_ERROR

001

MALFORMED_JSON