Get a Deposit Specification Profile by ID

get

/bcws/webresources/v1.0/depositManagement/depositspecprofile/{id}

Gets the deposit specification profile with the specified ID.

Request

Path Parameters
  • The deposit specification profile ID, for example: 0.0.0.1+-config-deposit_spec_profile+1234567

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The deposit specification profile information was returned successfully.
Body ()
Root Schema : schema
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 a deposit specification profile 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/0.0.0.1+-config-deposit_spec_profile+2644112'

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:23:29.000Z",
        "expiresAt": "2022-10-30T18:29:59.000Z",
        "startDateTime": "2021-11-06T12:23:29.000Z",
        "name": "Deposit Spec Profile",
        "hostName": "-",
        "descr": " Deposit Spec Profile Descr",
        "code": "1234",
        "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