Retrieve All Members.
1 min
GET
https://api.fictive.com/REST/api/groups/{accountGroupToken}/members
Path Parameters
- accountGroupTokenstringrequiredDescription
Query Parameters
- rolestringDescription
- rowsPerPageintegerDescription
- currentPageintegerDescription
- firstNamestringDescription
- surNamestringDescription
Header Parameters
- X-TokenIdstringDescription
- X-SessionIdstringDescription
- X-VersionstringrequiredDescription
- OriginstringDescription
Responses
200
- FictiveGlobal.Api.Rest.Dtos.v1.SearchData[FictiveGlobal.Api.Rest.Dtos.v3.GroupAccount]Description
- totalNumberOfRecordsinteger<int32>Description
- pageNumberinteger<int32>Description
- resultsPerPageinteger<int32>Description
- itemsFictiveGlobal.Api.Rest.Dtos.v3.GroupAccount[]Description
- accountReferencestringDescription
- groupRolestring<Unspecified | User | Payee | Admin>Description
- clientUserIdstringDescription
- emailstringDescription
- firstNamestringDescription
- surnamestringDescription
- subscriptionsFictiveGlobal.Api.Rest.Dtos.v1.AccountSubscriptionLiteDto[]Description
- subscriptionIdinteger<int32>Description
- subscriptionTitlestringDescription
400
401
404
500
curl
curl --location --globoff 'https://api.fictive.com/REST/api/groups/{accountGroupToken}/members' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://api.fictive.com/REST/api/groups/{accountGroupToken}/members", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://api.fictive.com/REST/api/groups/{accountGroupToken}/members")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Accept"] = "application/json"
request["Content-Type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://api.fictive.com/REST/api/groups/{accountGroupToken}/members"
payload = {}
headers = {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
{
"totalNumberOfRecords": 2,
"pageNumber": 1,
"resultsPerPage": 500,
"items": [
{
"accountReference": "0123ABC4DEFGHIJ5K6",
"groupRole": "Payee",
"clientUserId": "015488FDD",
"email": "[email protected]",
"firstName": "Joe",
"surname": "Bloggs",
"subscriptions": [
{
"subscriptionId": 12345,
"subscriptionTitle": "This is the first subscription title"
},
{
"subscriptionId": 12346,
"subscriptionTitle": "This is the second subscription title"
}
]
},
{
"accountReference": "0123ABC4DEFGHIJ5K7",
"groupRole": "User",
"clientUserId": "015488FDE",
"email": "[email protected]",
"firstName": "John",
"surname": "Doe",
"subscriptions": [
{
"subscriptionId": 12347,
"subscriptionTitle": "This is the third subscription title"
},
{
"subscriptionId": 12348,
"subscriptionTitle": "This is the fourth subscription title"
}
]
}
]
}400
// The AccountGroupToken is not valid.
401
// Not Authorized
404
// Account Group cannot be found.
500
// Internal Server Error
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.