Get Deposit Specification Profiles

get

/bcws/webresources/v1.0/depositManagement/depositspecprofile

Gets the deposit specification profiles that match the query criteria.

Request

Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The deposit specification profile details were returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : depositSpecProfile
Type: object
Show Source
Nested Schema : DepositInterestRule
Type: object
Show Source
Nested Schema : DepositRefundRule
Type: object
Show Source
Nested Schema : DepositValidityRule
Type: object
Show Source
Nested Schema : Money
Type: object
Show Source

500 Response

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

Examples

This example shows how to get active deposit specification profiles 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/depositManagement/depositSpecProfile?name=Deposit*&status=ACTIVE'

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+-config-deposit_spec_profile+2644112",
        "href": "http://hostname:port/bcws/webresources/version/depositManagement/depositSpecProfile/0.0.0.1+-config-deposit_spec_profile+2644112",
        "createdAt": "2021-11-06T12:23:29.000Z",
        "modifiedAt": "2021-11-06T12:27:42.000Z",
        "expiresAt": "2022-10-30T18:29:59.000Z",
        "startDateTime": "2021-11-06T12:23:29.000Z",
        "name": "Deposit Spec Profile Updated",
        "hostName": "-",
        "descr": "Deposit Spec Profile Descr",
        "code": "21321",
        "releaseType": "REFUND",
        "isPayinterest": true,
        "isExemptible": true,
        "isOverridable": true,
        "isTransferrable": true,
        "refundRule": {
            "glCode": 104,
            "handlingFee": {
                "amount": 6
            },
            "handlingFeeType": "PERCENTAGE",
            "hasWorkFlow": true
        },
        "interestRule": {
            "glCode": 102,
            "interestFrequencyUnit": "DAYS",
            "interestFrequencyValue": 23,
            "interestRate": 20.66,
            "interestType": "COMPOUND",
            "startInterestFrom": "PARTIAL_PAYMENT"
        },
        "validityRule": {
            "endOffsetPeriodUnit": "WEEKS",
            "endOffsetPeriodValue": 6
        }
    }
]
Back to Top