Get Members of a Group

get

/bcws/webresources/v1.0/sharing/members/{id}

Gets the members of the sharing group 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 members were returned successfully.
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : SharingGroupMembers
Type: object
Show Source
Nested Schema : extension
Type: object
The extended attributes.
Nested Schema : memberDetails
Type: array
The list of sharing group members.
Show Source
Nested Schema : MemberDetails
Type: object
The list of sharing group members.
Show Source
Nested Schema : ResourceRef
Type: object
Show Source
Nested Schema : services
Type: array
The list of services shared in the group.
Show Source
Nested Schema : Services
Type: object
The list of services shared in the group.
Show Source

500 Response

An internal server error occurred.
Back to Top

Examples

This example shows how to get the members of a discount sharing 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/sharing/members/0.0.0.1+-group-sharing-discounts+110486'

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,
   "groupType": "Sharing Discounts Group",
   "memberDetails": [
      {
         "accountRef": {
            "id": "0.0.0.1+-account+210954",
            "uri": null
         },
         "services": [
            {
               "serviceRef": {
                  "id": "0.0.0.0++0",
                  "uri": null
               },
               "index": 2
            }
         ],
         "accountNumber": "0.0.0.1-210954",
         "firstName": "Bob",
         "lastName": "Williams"
      },
      {
         "accountRef": {
            "id": "0.0.0.2+-account+41107",
            "uri": null
         },
         "services": [
            {
               "serviceRef": {
                  "id": "0.0.0.0++0",
                  "uri": null
               },
               "index": 1
            },
            {
               "serviceRef": {
                  "id": "0.0.0.2+-service-ip+41299",
                  "uri": null
               },
               "index": 3
            }
         ],
         "accountNumber": "0.0.0.2-41107",
         "firstName": "Joe",
         "lastName": "Ochoa"
      }
   ]
}
Back to Top