Skip to content

Get Batch File Status

METHOD NAME getBatchFileStatus

Description

Get the status of the batch file on the terminal.

Parameters

null

Result

Object on success

  • mainTerminal BatchTransaction
    The batch file status of the main terminal installed on the device.

Errors

  • IllegalRequest when host is not configured

Example

Request

1
2
3
4
5
{
  "jsonrpc": "2.0",
  "id": "1234567890",
  "method": "getBatchFileStatus"
}

Response

{
    "jsonrpc": "2.0",
    "id": "c2835c9f-7d8e-4624-a5e5-e497493e7d95",
    "result": {
        "mainTerminal": {
            "batchFile": [
                {
                    "type": "R",
                    "referenceId": "5544a15f-2759-4622-8a97-53adfbbee184",
                    "transactionId": "24111020193508831988304"
                },
                {
                    "type": "R",
                    "referenceId": "65f0bf12-8a42-40d1-98aa-a91cb920cf1f",
                    "transactionId": "24111020204508831983607"
                }
            ],
            "terminalId": "0889198"
        }
    }
}