Get a Deposit Transaction by ID

get

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

Gets the specified deposit transaction.

Request

Path Parameters
  • The deposit transaction ID, for example: 0.0.0.1+-event-billing-payment-cash+123456789123456789

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The deposit transaction details were returned successfully.
Body ()
Root Schema : depositTxn
Type: object
Show Source
Nested Schema : balanceImpacts
Type: array
Show Source
Nested Schema : depositDetails
Type: array
Show Source
Nested Schema : depositInfo
Type: array
Show Source
Nested Schema : notes
Type: array
Show Source
Nested Schema : DepositTxnPayment
Type: object
Show Source
Nested Schema : DepositTxnBalanceImpacts
Type: object
Show Source
Nested Schema : Money
Type: object
Show Source
Nested Schema : DepositTxnDepositDetails
Type: object
Show Source
Nested Schema : DepositTxnDepositInfo
Type: object
Show Source
Nested Schema : DepositTxnNotes
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 transaction 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/depositTxn/0.0.0.1+-event-billing-item-transfer+332984897451942258'

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+-event-billing-item-transfer+332984897451942258",
    "href": "http://hostname:port/bcws/webresources/version/depositManagement/depositTxn/0.0.0.1+-event-billing-item-transfer+332984897451942258",
    "txnType": "Billing Change Item Event",
    "descr": "",
    "createdAt": "2021-10-28T07:10:56.000Z",
    "modifiedAt": "2021-10-28T07:10:56.000Z",
    "quantity": 0,
    "depositInfo": [{
            "amount": {
                "amount": 36
            }
        }
    ]
}
Back to Top