Get Collections Group Details for an Account

get

/bcws/webresources/v1.0/collections/group/account/{id}

Gets the collections group information for all bill units that match the specified account ID.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

The collections group details were returned successfully.
Body ()
Root Schema : collectionsGroupDetails
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : groupMembers
Type: array
Details about the members of a collections sharing group.
Show Source
Nested Schema : groupOwners
Type: array
A collections sharing group owner.
Show Source
Nested Schema : GroupMembers
Type: object
Details about the members of a collections sharing group.
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : GroupOwners
Type: object
A collections sharing group owner.
Show Source

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get the details of an account's collections group 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/group/account/0.0.0.1+-account+85712'

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,
    "groupOwners": [
        {
            "groupRef": {
                "id": "0.0.0.1+-group-collections_targets+257211",
                "uri": ""
            },
            "groupName": "Collections Group 1",
            "billUnitRef": {
                "id": "0.0.0.1+-billinfo+148374",
                "uri": ""
            },
            "billUnitName": "Bill Unit 2",
            "memberCount": 0
        }
    ],
    "groupMembers": [
        {
            "groupName": "Collections Group 2",
            "billUnitRef": {
                "id": "0.0.0.1+-billinfo+82384",
                "uri": ""
            },
            "billUnitName": "Bill Unit(1)",
            "parentBillUnitRef": {
                "id": "0.0.0.1+-billinfo+62901",
                "uri": ""
            },
            "parentBillUnitName": "Bill Unit(1)",
            "parentAccountRef": {
                "id": "0.0.0.1+-account+65205",
                "uri": ""
            },
            "parentAccountNumber": "0.0.0.1-65205"
        }
    ]
}
Back to Top