Update an Installment Schedule Specification

put

/bcws/webresources/v1.0/installmentManagement/installmentScheduleSpec/{id}

Updates the installment schedule specification with the specified ID.

Request

Path Parameters
  • The installment specification ID, for example: 0.0.0.1+-config-instalment_schedule_spec+123123
Supported Media Types
Request Body - application/xml ()
Root Schema : schema
Type: object
Show Source
Nested Schema : qualifiers
Type: array
Show Source
Nested Schema : Qualifier
Type: object
Show Source
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : qualifiers
Type: array
Show Source
Nested Schema : Qualifier
Type: object
Show Source
Back to Top

Response

200 Response

The installment schedule specification was updated successfully.

500 Response

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

Examples

This example shows how to update an installment schedule specification by submitting a PUT request on the REST resource using cURL. For more information about cURL, see "Use cURL".

cURL Command

curl -X PUT 'http://hostname:port/bcws/webresources/version/installmentManagement/installmentScheduleSpec/0.0.0.1+-config-installment-schedule_spec+3763164' -H 'content-type: application/json' -d @updateInstallmentScheduleSpec.json

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.
  • updateInstallmentScheduleSpec.json is the JSON file that specifies the details to update.

Example of Request Body

This example shows the contents of the updateInstallmentScheduleSpec.json file sent as the request body.

{
    "name": "Update Installment Schedule Spec",
    "glid": "108",
    "minPercent": "20",
    "minAmount": "",
    "descr": "",
    "maxIntervalDaysNEI": "20",
    "maxNumNEI": "30",
    "startsAt": "2021-11-21T00:00:00.000Z",
    "expiresAt": "2027-12-10T00:00:00.000Z",
    "qualifiers": [
        {
            "dataType": "STR",
            "key": "/account.PIN_FLD_ACCOUNT_NO",
            "operator": "EQ",
            "value": "09876"
        },
        {
            "dataType": "STR",
            "key": "/profile.PIN_FLD_NAME",
            "operator": "EQ",
            "value": "DEF"
        }
    ]
}

Example of Response Body

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

{
	"id": "0.0.0.1+-config-installment-schedule_spec+81961", 
	"href": "http://host:port/bcws/webresources/version/installmentManagement/installmentScheduleSpec/0.0.0.1+-config installment-schedule_spec+3763164" 
}
Back to Top