Get Batch Payment Files

get

/bcws/webresources/v1.0/batchpayments/poll

Gets the list of batch payment files. This method polls the Unprocessed, Processing, and Error folders and, if there are any changes in a folder, it returns information about the batch payment files.

Request

There are no request parameters for this operation.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The list of batch payment files was returned successfully.
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get information about all unprocessed, processing, and error batch payment files by submitting a GET request on the REST resource using cURL. For more information about cURL, see "Use cURL".

cURL Command

curl -X GET 'http://hostname:port/bcws/webresources/version/batchpayments/poll'

where:

  • hostname is the URL for the Billing Care REST server.
  • port is the port for the Billing Care REST server.
  • version is the version of the API you're using, such as v1.0.

Example of Response Body

This example shows the contents of the response body in JSON format.

[
   {
      "extension":null,
      "lockBoxName":null,
      "lockBoxId":null,
      "institutionName":"Cash Payment Batch",
      "templateName":null,
      "currency":"840",
      "fileName":"samplePmt2.pmt",
      "fileCreationDate":1612440698046,
      "fileSize":0.578125,
      "noOfPayments":1,
      "status":1
   }
]
Back to Top