Get Audit Trails for a Transaction

get

/bcws/webresources/v1.0/payments/audit/{id}

Gets the list of audit details for the entire lifecycle of the payment for the specified transaction ID.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The audit trails were returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : PaymentAuditDetailsType
Type: object
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.

400 Response

The request isn't valid.

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get a payment's audit details 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/payments/audit/RG20'

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.

[
    {
        "extension": null,
        "paymentTypeEventRef": {
            "id": "0.0.0.1+-event-billing-payment-wtransfer+322869390473288682",
            "uri": null
        },
        "activityDate": 1585787580000,
        "accountRef": {
            "id": "0.0.0.1+-account+123217",
            "uri": null
        },
        "paymentItemRef": {
            "id": "0.0.0.1+-item-payment+119786",
            "uri": null
        },
        "accountNumber": "0.0.0.1+-account+123217",
        "firstName": "Anders",
        "lastName": "Larsen",
        "amount": 200,
        "status": 15,
        "transactionId": "RG20",
        "subTransactionId": "",
        "csrLoginId": "HeadCSR",
        "domainId": 14,
        "reasonId": 2001
    }
]
Back to Top