Get Sharing Group Member Details
get
/bcws/webresources/v1.0/sharing/{id}/members
Gets all members of the sharing group with the specified ID, including details (index, firstname, and so on), for each.
Request
Path Parameters
-
id(required): string
The ID of the sharing group to get member services for.
There's no request body for this operation.
Back to TopResponse
200 Response
The sharing group members were fetched successfully.
500 Response
An internal server error occurred.
Examples
This example shows how to get a singular parameter for account number of members 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/0.0.0.1+-group-sharing-charges+310300/members?accountNo=*189391*'
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
If successful, the response code 200 is returned with the following response body.
{
"extension": null,
"groupType": "Sharing Charges Group",
"memberDetails": [
{
"accountRef": {
"id": "0.0.0.1+-account+189391",
"uri": null
},
"services": [
{
"serviceRef": {
"id": "0.0.0.1+-service-ip+191279",
"uri": null
},
"index": 6,
"login": "alias 1",
"serviceType": "/service/ip"
},
{
"serviceRef": {
"id": "0.0.0.1+-service-email+189999",
"uri": null
},
"index": 11,
"login": "1st INDEX",
"serviceType": "/service/email"
}
],
"accountNumber": "0.0.0.1-189391",
"firstName": "srinandan",
"lastName": "test1",
"memberIndex": 3
}
]
}