Get Exempted Bill Units

get

/bcws/webresources/v1.0/collections/exempt

Gets all bill units that are exempted from collections.

Request

There are no request parameters for this operation.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The exempted bill units were returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : collectionsExemptedBillUnits
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 the bill units that are exempted from collections 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/collections/exempt'

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, in which only one bill unit is exempt.

[
   {
      "extension": null,
      "billUnitId": "0.0.0.1+-billinfo+700404",
      "accountId": "0.0.0.1+-account+696820",
      "accountNumber": "0.0.0.1-696820",
      "firstName": "Sarah",
      "lastName": "Davis",
      "billUnitName": "Bill Unit(2)"
   }
]
Back to Top