Get a Deposit Refund by ID

get

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

Gets the specified deposit refund.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

201 Response

The deposit refund details were returned successfully.
Body ()
Root Schema : depositRefund
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 refund 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/depositRefund/0.0.0.1+-deposit_refund_request+2645712'

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+-deposit_refund_request+2645712",
    "href": "http://hostname:port/bcws/webresources/version/depositManagement/depositSpec/0.0.0.1+-deposit_refund_request+2645712",
    "createdAt": "2021-11-06T13:03:22.000Z",
    "modifiedAt": "2021-11-06T13:03:22.000Z",
    "status": "PENDING",
    "customerRef": "0.0.0.1+-account+2177032",
    "serviceRef": "0.0.0.1+-service-telco-gsm+2178184",
    "customerDepositRef": "0.0.0.1+-purchased_deposit+2172776",
    "refundAmount": {
        "amount": 10
    },
    "approvedRefundAmount": {
        "amount": 10
    }
}
Back to Top