Get a Bill Unit Summary for an Account

get

/bcws/webresources/v1.0/billunits/account/{id}/summary

Gets a consolidated summary of all bill units for the specified account.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The bill units were returned successfully.
Body ()
Root Schema : accountSummary
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : ResourceRef
Type: object
Show Source

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get a consolidated summary of all bill units for the specified 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/billunits/account/0.0.0.1+-account+57615/summary'

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,
   "pendingDue": 49.95,
   "pendingDueDate": null,
   "unallocatedPayments": -10.55,
   "unallocatedAdjustments": null,
   "billInProgressDue": null,
   "dueNow": 231.71,
   "numBills": null,
   "disputed": 0,
   "paymentTypeId": null
}
Back to Top