Skip to main content

List Batch File

This API will list all the batch files that were uploaded by the program user.

Method: POST

Endpoint:

http://localhost:4041/rpc/VisaDirectService/ListBatchFile


Request

Payload Parameters
ParameterTypeMandatoryDescription
pageNumberIntegerNoIt is the page number of the page.
pagesizeIntegerNoIt is the number of batch files that should be displayed in a file.
batchIdStringYesThis is the ID that is given by the user for a batch.
FromDateStringNoFrom date of the batch files to be listed.
ToDateStringNoTo date to which the batch files should be listed.
TransactionTypeStringNoTransaction type of the batch files.

Sample Request

{
"batchId": "220456"
}

Sample Response

{
"batchFiles": [
{
"fileId": "1004",
"status": "WAITING_FOR_APPROVAL",
"validationFailed": "1",
"validationSuccess": "4",
"totalTransaction": "5",
"createdDate": "2024-08-05T10:04:10.971Z",
"updatedDate": "2024-08-05T10:04:10.971Z",
"validationFailedReason": [
{
"endToEndID": "111112",
"reason": "code:DOMESTIC_FUNDS_TRANSFER_NOT_ENABLED;message:Money Transfer Domestic not enabled"
}
],
"validatedSuccessId": [
"111145",
"111123",
"111156",
"111189"
],
"programId": "3",
"batchId": "4215204",
"type": "AFT",
"successTransaction": "4",
"successTransactionReferenceNumber": [
"4a0cadc7961743cabfdefe8fe5345945",
"bf24720d89234018a40930c27c27f125",
"e287ca5a467c472b91a4df9787c06452",
"3c7e41f178e64206a830ff7b00873b74"
],
"pendingTransactions": "4"
}
],
"count": "1"
}