Get Write-Offs for an Account

get

/bcws/webresources/v1.0/writeoffs/account/{id}

Gets the write-off details for the account that matches the specified ID.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The write-off details were returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : arActionsList
Type: object
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get write-offs for an account 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/writeoffs/account/0.0.0.1+-account+261506'

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,
        "accountNumber": "0.0.0.1-261506",
        "firstName": "dispute",
        "lastName": "dispute",
        "effectiveDate": 1740564020000,
        "createdDate": 1740564020000,
        "arActionType": 13,
        "arActionAmount": -34.95,
        "arUnallocatedAmount": null,
        "arActionId": "W1-3",
        "arActionRef": {
            "id": "0.0.0.1+-item-writeoff+354394587865020163",
            "uri": null
        },
        "billUnitName": null,
        "billID": null,
        "itemName": null,
        "billingStatus": null
    }
Back to Top