Get a Collections Group by Parent Bill Unit

get

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

Gets the collections group details for the specified parent bill unit.

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 : schema
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : members
Type: array
The list of members in the collections sharing group.
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : Notes
Type: object
Show Source
Nested Schema : Members
Type: object
The list of members in the sharing group.
Show Source
Nested Schema : comments
Type: array
The list of comments associated with the note.
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : Comments
Type: object
The list of comments associated with the note.
Show Source

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get details for the collections group that a bill unit owns 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/0.0.0.1+-billinfo+139726'

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,
    "parentBillUnitRef": {
        "id": "0.0.0.1+-billinfo+139726",
        "uri": ""
    },
    "newParentBillUnitRef": null,
    "name": "Collections Group 5",
    "parentBillUnitDue": 42.95,
    "notes": null,
    "members": [
        {
            "billUnitRef": {
                "id": "0.0.0.1+-billinfo+157221",
                "uri": ""
            },
            "billUnitName": "Bill Unit(1)",
            "accountRef": {
                "id": "0.0.0.1+-account+158757",
                "uri": ""
            },
            "accountNumber": "0.0.0.1-158757",
            "firstName": "Alan",
            "lastName": "Hammond",
            "amountDue": 50
        },
        {
            "billUnitRef": {
                "id": "0.0.0.1+-billinfo+122410",
                "uri": ""
            },
            "billUnitName": "Bill Unit(1)",
            "accountRef": {
                "id": "0.0.0.1+-account+119338",
                "uri": ""
            },
            "accountNumber": "0.0.0.1-119338",
            "firstName": "Feng",
            "lastName": "Mian",
            "amountDue": -3661.91
        }
    ]
}
Back to Top