Get Installment Schedules

get

/bcws/webresources/v1.0/installmentManagement/installmentSchedule

Gets the installment schedules that match the specified query criteria.

Request

Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The installment schedule information was returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : installmentSchedule
Type: object
Show Source
Nested Schema : bills
Type: array
Show Source
Nested Schema : Money
Type: object
Show Source
Nested Schema : installments
Type: array
Show Source
Nested Schema : TimePeriod
Type: object
Show Source
Nested Schema : InstallmentScheduleBills
Type: object
Show Source
Nested Schema : Installment
Type: object
Show Source

500 Response

An error occurred. An exception has been raised.
Back to Top

Examples

This example shows how to get installment schedules by customer account number 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/installmentManagement/installmentScheduleSpec?customerRef=0.0.0.1+-account+101244'

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.

[
   {
      "id":"0.0.0.1+-installment+119528",
      "href":"http://hostname:port/bcws/webresources/version/installmentManagement/installmentScheduleSpec/0.0.0.1+-installment_schedule+119528",
      "code":"test",
      "billProfileRef":"0.0.0.1+-billinfo+98556",
      "validFor":{
         "startDateTime":"2021-06-24T00:00:00.000Z",
         "endDateTime":"2021-07-19T00:00:00.000Z"
      },
      "status":"OPEN",
      "billPreference":"AUTOALIGN",
      "installmentPeriod":"MONTHLY",
      "totalAmount":{
         "amount":1000
      },
      "totalInstallments":2,
      "customerRef":"0.0.0.1+-account+101244",
      "bills":[
         {
            "billId":"0.0.0.1+-item-cycle_forward+119144"
         }
      ],
      "scheduleSpecRef":"0.0.0.1+-config-installment-schedule_spec+110021",
      "installments":[
         {
            "status":"CHARGED",
            "dueDate":"2021-06-24T00:00:00.000Z",
            "amount":{
               "amount":500
            }
         },
         {
            "status":"CHARGED",
            "dueDate":"2021-07-19T00:00:00.000Z",
            "amount":{
               "amount":500
            }
         }
      ]
   }
]
Back to Top