AS2805_B Agent

The configuration for the OIG Agent for the AS2805_B interfaces is illustrated by the below example payload. The actual configuration record can be created by accessing the following resource:

http://<host:port>/api/generic/agentconfigurationas2805_b

Replace the <host:port> information with the respective information of the Oracle Insurance Gateway installation.

{
    "code": "<code for the agent configuration record>",
    "typeConfig": {
        "hostPort": <any portnumber>,
        "controlHost": "<ip-address or hostname of the AS2805_B interface>",
        "controlPort": <portnumber exposed by the aforementioned host>,
        "acquiringInstitution": "<the ISO code of the fund>",
        "idleTimeOut": <the maximum idle time of the channel before the OIG Agent sends an echo to AS2805_B>,
        "transactionTimeOut": <a value that AS2805_B will wait before time-out>,
        "useSeparator": <specifies whether to use a separator character between messages>
    },
    "agentConfigurationIntegrations": [
        {
            "integration": {
                "type": "as2805_b",
                "code": "0200-170000"
            }
        },
        {
            "integration": {
                "type": "as2805_b",
                "code": "0200-290000"
            }
        },
        {
            "integration": {
                "type": "as2805_b",
                "code": "0420-170000"
            }
        },
        {
            "integration": {
                "type": "as2805_b",
                "code": "0520"
            }
        }
    ]
}

Agent Configuration Details

code

A free format code for the agent configuration resource.

typeConfig.hostPort

This is the port that is exposed by the OIG Agent, labeled as the data port.

typeConfig.controlHost

This is the IP-address or hostname that the AS2805_B interface is advertising for the OIG Agent to initiate the connection.

typeConfig.controlPort

This is the port number of the aformentioned typeConfig.controlHost that the AS2805_B interface is advertising for the OIG Agent to initiate the connection.

typeConfig.acquiringInstitution

This is the ISO-code of the FUND. Typically 8 characters long.

typeConfig.idleTimeOut

This is the maximum idle time (in seconds) that the OIG Agent is going to wait before issuing an echo message to the AS2805_B interface, in order to determine whether the interface is still available. This is an optional value. The default for 30 (seconds).

typeConfig.transactionTimeOut

This is the maximum time (in seconds) that the AS2805_B interface is allowed to wait for a response, before considering the originating request as timed-out. This is an optional value. The default for AS2805_B is 30 (seconds).

typeConfig.useSeparator

This value indicates indicates whether to use a separator character after each AS2805 message frame. The default value of this is false, which indicates that no separator is to be used.

agentConfigurationIntegrations

This effectively is the array of all known/established request messages that can be sent from AS2805_B to the OIG Agent. Check the section about AS2805_B Integration in this localization guide for more details.