Get Batch Payment Templates

get

/bcws/webresources/v1.0/batchpayments/templates

Gets the batch payment templates, either from the path specified during installation or from the locally configured location. The returned BatchPaymentTemplates contain the batch name and the template name.

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 templates was returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : batchPaymentTemplates
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.

400 Response

The request isn't valid.

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get all batch payment templates in your BRM environment 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/templates'

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,
      "payTypeCode":0,
      "payTypeName":"Cash Payment Batch",
      "templateName":"cash_payment_template.pit",
      "locale":null
   },
   {
      "extension":null,
      "payTypeCode":0,
      "payTypeName":"Check Payment Batch",
      "templateName":"check_payment_template.pit",
      "locale":null
   },
   {
      "extension":null,
      "payTypeCode":0,
      "payTypeName":"Failed Payment Batch",
      "templateName":"failed_payment_template.pit",
      "locale":null
   },
   {
      "extension":null,
      "payTypeCode":0,
      "payTypeName":"Inter Bank Payment order Payment Batch",
      "templateName":"interbankpayorder_payment_template.pit",
      "locale":null
   },
   {
      "extension":null,
      "payTypeCode":0,
      "payTypeName":"Postal order Payment Batch",
      "templateName":"postalorder_payment_template.pit",
      "locale":null
   },
   {
      "extension":null,
      "payTypeCode":0,
      "payTypeName":"Wire-Transfer Payment Batch",
      "templateName":"wire-transfer_payment_template.pit",
      "locale":null
   }
]
Back to Top