Generate a list of all the members in the group specified and the state of their registration at the event on a specific date
GET
/groups/membersforevent/{groupid}/{eventid}/{date}/{filter}
Get the members list and basic details of group members ready for attendance recording. The group must be one of the groups invited in the event settings.
Path parameters
-
groupid string Required
The group id you want to list
-
eventid string Required
The event id you want to list
-
date string Required
The date of the event you are getting details for. Format YYYY-MM-DD
-
filter string Required
A way of filtering the people that came back all: All group members and visitors allmembers: All group and non group members, checked in/out members: All group members nonmembers: Checked in/out non members of the group visitors: Checked in/out visitors
GET /groups/membersforevent/{groupid}/{eventid}/{date}/{filter}
curl \
-X GET https://YOURSITE.infoodle.com/apiv2/groups/membersforevent/310/45/2022-06-14/all \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"groupId": 504,
"members": [
{
"userId": 1141,
"attendanceId": 0,
"firstname": "Brian",
"middlename": "string",
"lastname": "Jones",
"notes": "string",
"nickName": "Brainy",
"gender": "Male",
"householdname": "Jones family",
"isOrganisation": "N",
"passExpiryDate": "2022-06-30",
"membership": {
"code": "F",
"text": "Full member"
},
"type": "member",
"status": -1
}
]
}