List group member(s)
This GET
operation lists all group members in a specified group by passing the group id
in the URL. If successful, you receive an HTTP response code of 200
and a JSON
response containing a list of all members including their memberId
and quota
.
See HTTP response codes for other response codes. |
GET /sqs/api/groups/<id>/members
HEADER INFO
authorisation: HTTP Basic Auth
tenant: <tenantName>
accept: application/JSON
permissions: SQS_GROUP_READ_PERMISSION
URL parameters
Parameter | Description |
---|---|
|
The auto-assigned identifier that was given to the group upon creation. |
JSON response
The sample JSON
response shows two group members in a group specified in the URL GET
request.
{
"_embedded":{
"members":[
{
"memberId":"123123",
"quota":50000
},
{
"memberId":"567567",
"quota":100000
}
]
},
"page":{
"size":100,
"totalElements":2,
"totalPages":1,
"number":0
}
}
SQS members data type descriptions
Field | Type | Description | ||
---|---|---|---|---|
|
string |
The unique ID for the member. This is typically the MSISDN of the subscriber.
|
||
|
integer |
The quota amount shared with the specified group member. This can be an exact amount or most often, a percentage of the donor plan.
|
HTTP response codes
Code | Description | ||||
---|---|---|---|---|---|
|
success! |
||||
|
Multistatus response
|
||||
|
malformed request |
||||
|
unauthorised; bad username or password |
||||
|
forbidden; user does not have appropriate privileges |
||||
|
group member not found |
||||
|
conflict with target resource
|
||||
|
failed validation; this typically means that a property was not set or a value is out of range. example
|
||||
|
failed processing (after passing validation). example
Example 1. SQS response codes
|
||||
|
internal error |
||||
|
request rejected due to overload |